Print Page   |   Contact Us   |   Sign In   |   Register


Join Vivit
Contact Vivit
Become a Leader
Become a Sponsor
Community Search
Calendar

9/28/2016
Vivit Minnesota ITSM Fall Chapter Event

9/28/2016
Become a Cloud Master with the HPE Helion Cloud Suite - Part 2

9/29/2016
Vivit Chicago Chapter Event

9/29/2016
How Secure Content Management Can Help Align Governance and Security

10/4/2016
PPM 9.40: How the New Features of HPE PPM can Help your PMO

LinkedInTwitterFacebookGoogle Plus

 
HPE Software Products: Service Test
Share |

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

 

How to pass a value from a GUI test to a API Test (HTTP requestOpen in a New Window

 I am trying to access an application and the token code seems changing , its a REST call and the URL and  other Request headers dont change , I have written a GUI script to access a URL and get the access token , now i need to use this token in the API test against the 'AUTHORIZATION-TOKEN'  variable at run time. Authorization_Token Value PropertiesGUI test Screenshot .

 

 

Run Results for this run session are not available in ALMOpen in a New Window

Hi,

I'm using UFT & HP Run results viewer of 12.52 version and ALM 12.21 version. When I try to launch a report from ALM. I get the following error "Run Results for this run session are not available in ALM". I have tried all the possible solution available in the HP Forum but still not able to resovle this issue. 

Can someone help me fix this issue. 

Thanks & regards

Jebakumar J

 

JMSOpen in a New Window

how to read messages in my JMS Queue. what the details need to read JMS queue message successfully

 

Need your help on below (Load runner VuGen script)Open in a New Window

1. how to merge two different protocol scripts in load runner Vugen script as per requirement

or

otherwise let me help on how to share captured data from one script to other scirpt whiling doing load test

 

 

Create MessageNode in Report programmaticallyOpen in a New Window

Hi there,

i failed to create a new Mesage-Reportnode programmatically in C#.

My Problem:
I Want to Create a new Node in Report out off a CustomCode Activity.

It works fine with an new instanz of the Checkpoint-Class.

But i want a new Node in the style of ReportMessageActivity or any other style.

A new instanz of ReportMessageActivity destroys the Report. i tried this Code:
            ReportMessageActivity t_ReportMessageActivity=new ReportMessageActivity(this.CodeActivity4.Context,"TestMessage");
            t_ReportMessageActivity.Message="xx";
            t_ReportMessageActivity.Status="Fail";
            t_ReportMessageActivity.Destination="Run Results and Output Window";
            t_ReportMessageActivity.DirectExecute(new Dictionary<string,object>());

Does anyone knows another solution for this?

 

Greeting from Germany

Jens

 

UFT - API - Rest webservice TestingOpen in a New Window

I am able to create the rest webservice test using UFT API and run it from QC.  Currently my request (payload ) is text/xml format and response is JSON format.

 

I would like to know how to parametrize the request and response using excel . Do we have option to write the code /scripts in API test  as we do in GUI testing

 

UFT does not encode URLs correctlyOpen in a New Window

I've been trying to test a web service on a port bound to HTTP GET, i.e. as a REST service.

Problem:

It seems that UFT does not do URL encoding correctly, because an empty data set is returned in the response.

I can't see anything in the toolbox to do URL encoding either.

Does anyone know whether a Custom Code step is my only option to create the URL name/value pair correctly?

Update:

...and the same thing occurs with HTTP POST operations. i.e. UFT does not replace special characters with character entity references.

If anyone has any answers, please reply.

Happy testing!

 

UFT12.51 Wsdl Import error : Authentication failed because the remote party has closed the transportOpen in a New Window

I am trying to import a WSDL with url starting with "https://" but UFT is unable to import WSDL and is throwing below error :

Authentication failed because the remote party has closed the transport stream 

I am able to import same WSDL using same URL in SOAPUI by adding below property in vmOptionsFile:

-Dsoapui.https.protocols=TLSv1.2

Is there any way to do same in UFT12.51?

 

Questions on API testing(Service Test) feature of UFTOpen in a New Window

Hi,
I am newly working on the API testing(Service Test)  feature of UFT and wanted to know on the below.

1. Does UFT have option to import web service XML already created in another machine?
2. How automated test case generation can be done ?

3. How a test case cmaintained  in HP ALM for a Web Service can be excuted in UFT?

 

Handling multiple WSDLsOpen in a New Window

I have a requirement to test about 30 WSDLs. I could create one API test for each WSDL but its not an optimal way,

Is there a way to dynamically import the WSDL endpoints and their usernames/passwords into my API test based on the tests conditions. I am thinking on putting the WSDL endpoints and credentials in an excel spreadsheet.

 

 

Sending SOAP request with MIME attachmentsOpen in a New Window

I need to send a SOAP request with MIME attachment, and the attachment is an XML file.

I tried to do that and this is the error message I see - Structural CheckPoint failed : Trying to get XmlNode for Xpath: /*[local-name(.)='Envelope'][1], XmlNode was null.

I am not sure if its a problem with the way the request is being sent, or with the XML file itself, because the same XML file worked fine with SOAPUI.

 

 

It is possible to get the test and/or iteration result (pass/fail) on custom code?Open in a New Window

Hi all,

I need the test and/or iteration result during the test run.

It is possible to get the test and iteration result (pass/fail) on custom code?

Thank

 

Use C# onOpen in a New Window

Hello everyone,

I am starting with API testing on UFT 12.52 and I am facing a problem by using code section.

Indeed, I have to launch a request and treat the response. But my problem is that, I do not know to do that programmatically in C#.

I am able to use the Tools pane to launch the request, but I do not know how to receive the response and treat it.

 

Hope that someone may help me a give me way or tutorial ...

Thank you

 

 

 

Unable to connect to IBM MQ when SSL is enabledOpen in a New Window

I am trying to connect to a secured MQ environment using UFT. This secured MQ environment has a password protected *.jks file. I am able to connect manually to MQ environment via MQ explorer, however when I try to do the same via UFT by pointing the *.jks path in "SSLKeyRepository" field, I notice that when I run the UFT script the connection fails with the message "MQRC_KEY_REPSITORY_ERROR".

 While connecting manually we get a password prompt to establish connection and connection is successfully established. However, I am not sure how this password can be incorporated in the UFT script for the *.jks file to establish connection or why the defined path for *.jks file is not being recognized even though it is present.

 

Run Step data value don't get refreshed from ExcelOpen in a New Window

Hi there,

On my flow, I am linking Excel sheet to get the data.  When I run the whole flow, it gets the data from the Excel file.  However, when I run it from Run Step, it does not get the updated data that's in Excel.  What's even confusing, it will grab the data first time - but after that it will keep using the same value.

I spent many hours finding the reason - so far no luck.  I hope someone out there have the solution to my problem I am having.

Thanks in advnace for those who response to this post.

 






Sign In


Forgot your password?

Haven't registered yet?

Vivit Blog