Highlighted
Absent Member.
Absent Member.
232 views

Webservices Protocol Usage

Hi,

I have licenses for Webservices Protocol for LoadRunner 9.5. I have recorded a script with WebHttp/Html and Webservices without importing WSDL's. I have not received WSDL's from the development team.
They said ,code directly calls the WebService and passes the Request XML to the WebService.

So in the LoadRunner script I see Soap_request's.
Is this script same as the one which is developed through WSDL or should I need to do any changes to the Soap_request.

Sample Soap_request generated in the script is below

soap_request("StepName=linkauthenticate",
"URL=http://abcd/efgh/LWTService",
"SOAPEnvelope= ":Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\""
" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns"
":xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http:/"
"/www.w3.org/2001/XMLSchema\" SOAP-ENV:encodingStyle=\"http://"
"schemas.xmlsoap.org/soap/encoding/\">"
" ">AAAAAgABAEDeoAk6MhmKPtYoPR6FtaxaAnQKuhjwtP3I7hhPz%2FPTFEtRyfwpyzG%2B1"
"Wb8DY1vKu1a1sdlPGfuKGBLqVcZriTX
"xmlns=''>120 ":Body>",
"Snapshot=t6.inf",
"ResponseParam=response",
LAST);

Please help
0 Likes
3 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

If you are able to record your application with the soap requests you do not need to create a Web Services script unless you want to load test the services directly.

Your recording should work fine, (you did not say how it worked when played back), but you may need to parameterize or correlate some of the tags in the soap XML.

Alan
0 Likes
Highlighted
Absent Member.
Absent Member.

You can continue with the Soap request and no need of performing any changes for the request except the required correlation and parameterization. Make sure to add the header files to it before running the script.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

What about in a case where there is no WSDL and need to write VuGen script for the webserices ?  I have a scenario where there is no WSDL.

 

Thx

Srini

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.