HPE Software Products: Service Test
Share |

How to export SSL certificate, file with .pfx extnOpen in a New Window

Trying to export SSL certificate, tried multiple options available in the tool, but unable to find the right option to export the same.

 

Is there a way to refresh the data sheet after updateOpen in a New Window

An Excel is added as a data source using link to the original file option. After updating the excel with project open on UFT workspace, is there an option to refresh so that the updates reflect on the project immediately.

Currenly the project is closed & opened for the updates to reflect.

 

How to pass different XML request for the same operationOpen in a New Window

I'm trying to pass different XML requests for the same operation, in the same step. The operation has optional fields, XML request for each scenario is only passed with one or 2 fields.

Note: Passing empty tags will throw error.

 

Insert row in Excel message Step 'Process XML Files' : Row 2 does not exist in the ‘test.xlsxOpen in a New Window

I am trying to insert a row into an Excel Spreadsheet and i am getting a message that the row does not exist.

I am reading an xml document and writing to an excel spreadsheet.

 // Process element if Found
                if (currNodeList.Count >= 1) { 
                // Iterate through all nodes that were returned with the query
                    foreach (XmlNode node in currNodeList) {
                         k = k + 1;                    
                        Context.UserLogger.Info(currentElementName + "  Node List Count:  " + 
                                                currNodeList.Count + "  Inner Text:  " + node.InnerText);
                         GetDataSource("Output MasterList Data !'DATA CAPTURED$'").SetValue(k, currentElementName, node.InnerText);                                             
                     

 

Unable to connect ALM 12.50 from UFT 12.54Open in a New Window

I have following installed on my machine

1.) UFT 12.54 

2.) ALM 12.50

Both the above are trial versions

1. I have installed ALM plugin in UFT

2.I have installed TDConect.exe

Now when I try to connect to alm from uft after entering alm server name as - https://almalm1250saastrial.saas.hpe.com/qcbin

User name and password for ALM and click on connect, I get following error :

"The connection to the specified ALM server failed. Make sure that the server machine is available."

I have attached the error screen.

Please help me.. Thank you for all your help in advance.

- Abhay

 

Rename checkpoint name using custom codingOpen in a New Window

Is there a way to rename the checkpoint name in the results when using custom code?

 

Reporting pass/fail in custom code for API testingOpen in a New Window

How can I customize report results (pass/fail) and detailed messages using custom code for an API test?

I've tried to use the Reporter.ReportEvent but this does not seem to work for api testing.

 

UFT API -- "Select data" How to return values for query to Sybase databaseOpen in a New Window

Hi,

I have to validate an API output with a values stored in Sybase DB.

When I use "select Data" activity to fetch the value from Sybase table, the value is returned in XML format as below:

 <Row><ColumnName1> Value </ColumnName1><ColumnName2> Value </ColumnName2><ColumnName3> Value </ColumnName3></Row>.

However I need only the Value so I can save it in excel to compare in my next step. Comparison is being done on value basis not with xml. I need to convert the response from select data (which is in XML format shown above) .

The subsequent checkpoint in API output fails as I need to provide individual values as input to the service.

I will need a solution that can either split array and give me individual values at run time Or I should be able to save only values in Excel which I can import at run time.

 

 

Thank you

 

API Test - XML Message ValidationOpen in a New Window

I am writing an automated test for validating a XML message.

A data element is defined as an IA5String 

  Element IA5String Definition.PNG

Test flow overview:  Consume Message / Convert to XML / Validate via Checkpoints

Consume and Validate Flow.PNG

I want to validate that the device-type contains one of three values.  Example:  "dog", "cat" or "mouse"

How do I check the device type using a checkpoint for 3 values?  Or is custom code needed?  If so, how do I write the validation?

Checkpoint for device type.PNG

 

Thanks much for any assistance!

 

form-data with file attachement option in UFT API testingOpen in a New Window

Hi,

Am working in UFT REST API testing. The API has response body type as "form-data" with 3 inputs along with file attachment option. Please let me know how to add form-data with file attachment in UFT API testing.

 

 

Load testing a RESTful API using JSON filesOpen in a New Window

Hi,

I'm just getting to grips with creating a API test for a REST service we have just built. Our current test suite is all GUI based tests so this is my first venture into API testing in UFT

I have successfully created a few basic tests each using a single JSON input.

Can UFT handle iterating through a folder that contains 3000+ JSON files and placing a few checkpoints to ensure each one returns the correct status code and response body string? 

Perhaps I'm mising the obvious, but using Get Folder Content and/or Read from File don't seem to be the correct way to do this?

Could any one give me a few pointers on whether UFT is suited to this type of test, and perhaps how I might get started? Or if anyone can post a link to any useful tutorials I would appreciate it.

Many thanks

Carl

 

JMS Setup on UFT 12.52 with TopicOpen in a New Window

I am trying to setup JMS on UFT API test using Publish message to JMS topic and Subscribe to JMS topic.

Provided complete CLasspath Variable ,All JMS values on Start >Properties

Provided topic name and message on Publish message to JMS .

Provided topic name and subscription name on Subscribe to JMS topic.

 

Now when I am trying to run the UFT ,its showing the below error:

Start

Step 'Start' : Step 'Start' started

Step 'Start' ended successfully

Step 'Test Flow' : Step 'Test Flow' started

Step 'Iteration 1' : Step 'Iteration 1' started

Step 'Publish Message to JMS Topic' : Step 'Publish Message to JMS Topic' started

Step 'Publish Message to JMS Topic' : Failed to initialize the JMS session. The initial context factory is missing or wrong.

Step 'Publish Message to JMS Topic' ended unsuccessfully

Step 'Subscribe to JMS Topic' : Step 'Subscribe to JMS Topic' started

Step 'Subscribe to JMS Topic' : Failed to initialize the JMS session. The initial context factory is missing or wrong.

Step 'Subscribe to JMS Topic' ended unsuccessfully

Step 'Iteration 1' ended successfully

Step 'Test Flow' ended successfully

Step 'End' : Step 'End' started

Step 'End' ended successfully

End

 

Please suggest how to overcome this and establish a proper connection.

Basically its Solace MQ testing

 

 

API Test False ResultsOpen in a New Window

When running API test that contains multiple condition activites,  I am getting false results for conditions that should pass.  The activity is showing a Status of Failure and the Details show Yes ended unsuccessfully.  The top condition has 3 condition under it within the branching.

 

HP Enterprise web service integrationOpen in a New Window

we are create an application on dot net 4.5 framework i m trying to use this wsdl link

https://api-csc-stg-sgw.ext.hpe.com/gw/hpit/egit/cpc.findbyproductsku.itg?wsdl


but when i run it gives following error

https://snag.gy/Tyq7Wm.jpg

 

Accessing Start Parameters from Custom CodeOpen in a New Window

I am attempting to access some of the start parameters from custom code but can't seem to figure out the proper code to do so. I want to be able to access Input parameters that I've configured for the Start Activity for use in Custom Code activities. 

I've tried the following methods but I don't see any references to the parameters that I've configured:

this.StartActivity1.TestInputParameters

this.StartActivity1.ExecutionInputParameters

this.Context.TestInputParameters

this.Context.ExecutionInputParameters

 

Thanks in advance for your help!

 

 

Rest API Testing - Array ValidationOpen in a New Window

Hi ,

I am testing Rest API  and have to validate that in the response depending upon the input I give only pariclyar fields should be displayed.

 

For instatnce if I give country as AL only 3 fileds should be displayed from the master resposne and if I give country as BL then all the fields from the master reponse should be displayed. The respone is in a json format.


Can someone help how to design test for this

 

Blog: UFT and LeanFT Help Centers are there for you Topic OptionsOpen in a New Window

Read the latest blog on how the ADM Help Center enables you to make the most out of UFT, LeanFT, and other ADM products you use in your organizaiton.

How can we help you? Explore the new Application Delivery Management Help Center for insights

Tell us how we're doing! Feedback warmly welcome.

 

Getting Error The selected class does not implement 'ServiceTestCall' interfaceOpen in a New Window

Hi, I am trying to call java API from API Test, I am following below link for that-

http://uft-help.saas.hpe.com/en/12.53/UFT_Help/Content/User_Guide/task_create_java_test.htm

 After selecting Java Class in step Set the Java step property values-> 4. -> b.  I am getting –‘Java Class Loading Error’ error as 'Getting Error The selected class does not implement 'ServiceTestCall' interface'.  But I already have implemented this interface.

Can someone please help me to correctly point out the exact root cause?

 

-Thanks,

Amit

 

 

Test steps from test cases of test set folderOpen in a New Window

I am completely new to HP ALM OTA . I am not able to get any referernce for any source which can show me the test steps of test cases present in my test set folder.

Till now i am able to fetch the test case name folder and test set name and fetch test case detail.

Any way with which we can get the list of all testset folders .

 

 

 

 

 

licence error in SoapUi to API Test converter toolOpen in a New Window

HI

I have problem to convert Soapui test to UFT.

Each time when I try to convert SoapUi to API Test using tool I'm getting this error

14:03:33 - Error occurred during the conversion of the test '<test name>': License check failed
Neither of the license features succeeded to load.

Of course, I have full license for HP UFT. I am able to create and run my own tests in UFT in Api module.

Do you have idea where is a problem?

 

BR

Michal

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: info@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Hewlett Packard
Enterprise User
Community through
Advocacy, Community,
and Education.