Highlighted
Absent Member.
Absent Member.
5353 views

How do we use web services protocol in load runner for submitting request with header and body?

i want to submit xml request with header and body using web services protocol. 

 

I did the following steps:

 

i imported all the operations using WSDL

 

when i create request for the specific operation it created web service call with all the input arguments but did not include the header for the request. i included manually but not working.

 

please let us know.

0 Likes
5 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Hi Nagesh,

 

Please be more specific. What type of error did you receive when you tried running the script? What did you add to the request header, and why?

 

Did you read through the documentation?

 

Thanks,

 

Shane Evans

0 Likes
Highlighted
Absent Member.
Absent Member.

 

 


Hi Shane,

 

Thanks for the reply.

 

finally i got it...It is working now. 

 

I saved the xml request into a file and imported that file through Import soap request option in load runner and submit the request. It was working fine

 

Earlier i used to create custom request, that time it is creating xml request with body only not including header part, so it is causing the problem when I submit the request without header, because in the header we specified name spaces, signature and all.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi Nagesh,

 

Could you please elaborate in more detail. How you achieved this. I am facing the same issue but not able to resolve till now. I am trying the option suggested by you but somehow not getting.

 

Kindly explain in detail. If possible, could you please post your sample script too

0 Likes
Highlighted
Absent Member.
Absent Member.

Still I am facing same issue. Pls can you elabrate the how you have achieved this. Pls suggest us ASAP

0 Likes
Highlighted
Respected Contributor.
Respected Contributor.

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.