Webservices performance testing has a unique way to perform
Key points:
1. Web service header
2. Webservice body
Generally header and the body is provided by web services development.
For Eg:
Webservice name: Xyz
Action()
{
int Ltv, Term;
char *ltv_string;
web_add_header("SOAPAction",lr_eval_string("http://tempuri.org/Webservicename/webservice_function"));
lr_start_transaction ("xyz1" );
web_custom_request("webservice_function",
"URL=http://xyz31/Design_Time_Addresses/ServiceWS/webservice_function",
"Method=Post",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body="
LAST);
lr_end_transaction ( "xyz1", LR_PASS);
lr_think_time(55) ;
return 0;
}
Hi prashant,
ReplyDeletei tried your code on validating web services and its working great me.
Best Loadrunner training institute in Chennai
This comment has been removed by the author.
ReplyDeleteIt is actually a great and helpful piece of information. I am satisfied that you simply shared this helpful information with us. Please stay us informed like this. Thanks for sharing
ReplyDeleteMicrosoft Windows Azure Training | Online Course | Certification in chennai | Microsoft Windows Azure Training | Online Course | Certification in bangalore | Microsoft Windows Azure Training | Online Course | Certification in hyderabad | Microsoft Windows Azure Training | Online Course | Certification in pune