Highlighted
Visitor.
923 views

Web Service: Java Keystore Load Runner Implementation

Hi All, I am building a script for web service testing in load runner. the Functional Team are using the SOAP UI tool in which they are using a Web service Security policy that has been setup at the SOAP UI Tool. They are invoking a Java Keystore file. They provide some username and password and more settings in the SOAP UI. The Header part in the SOAP UI message is empty whereas when we monitor the traffic going outside the SOAP UI in the HTTP Log the username, Password, the key (using the JAVA Keystore), the URL pointing to the policy and stuffs are getting passed in the tag. 1. How do i implement the same in the Lod runner script? 2. I am able to build the script, but the key is getting generated when the XML gets to the server (using the .jks file). How can i generate the key for each iteration. should i include any JAVA code. Please help me folks...!!!!
0 Likes
2 Replies
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Web Service: Java Keystore Load Runner Implementation

Please add below headers to the script and set the certificate. I prefer to use HTTP/HTML protocol using web_custom_request(); function.

 

web_set_certificate and web_set_certificate_ex.


Thank you,
NaveenKumar Namachivayam | www.QAInsights.com
Learn TruWeb - my Udemy Course "Performance Testing using TruWeb" | https://www.udemy.com/performance-testing-using-truweb/?couponCode=YOUTUBE
0 Likes
Highlighted
New Member.

Re: Web Service: Java Keystore Load Runner Implementation

Hi, 

I am facing similar issue that you have mentioned. Let me know how you resolved that.

Regards

Aravind

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.