lr_start_transaction("init"); //????????????
strcat(input??cmd);
lr_end_transaction("init"?? LR_AUTO);//?????????????
lr_rendezvous("beginaction");//???????
lr_start_transaction("call");//????????????????
web_service_call( "StepName=ExecuteCommand_102"??
"SOAPMethod=Test|TestSoap|ExecuteCommand"??
"ResponseParam=response"??
"Service=Test"??
"ExpectedResponse=SoapResult"??
"Snapshot=t1397177849.inf"??
BEGIN_ARGUMENTS??
input??
END_ARGUMENTS??
BEGIN_RESULT??
"ExecuteCommandResult=outPutParams"??
END_RESULT??
LAST);
lr_end_transaction("call"?? LR_AUTO);//??????????????
lr_start_transaction("log");//???????????????
//????????
out = lr_eval_string("{outPutParams}");
//??????
lr_output_message("???????|Cmd=%s|Re=%s "??cmd??out);
//д???????????
if ((filename=fopen(address??"a+"))==NULL)//?????
{
lr_error_message("can not open this file??address=%s"??address);
return -1;
}
fprintf(filename??"???????|Cmd=%s|Re=%s "??cmd??out);
lr_end_transaction("log"?? LR_AUTO);//??????????????
lr_start_transaction("interval");
lr_think_time(0.1);  //??????????????????????????????????Щ????
lr_end_transaction("interval"?? LR_AUTO);
return 0;
}
????????????????????иy???action??????????????????????С?
?????????????????У????????????????
????3.3??и???????Run Load Tests??
?????????????Design???ж???????????3??????????????????????????????????????????????Interactive Schedule Graph???????????????
???????ú???????Run?????Start scenario??
??????????????????????????????????????????????????????С?????????
????3.4??в????????????Analyze Load Tests??
?????????????res1???????????????????????????????Analysis Summary?п??????????????????
???????????????Running Vusers?????????????????????????
??????Hits per Second???????????????????????
??????Throughput??????????????????????д??????????????????????????????
??????Transaction Summary???????????????????????????????????
??????Average Transaction Response Time ???????????Action?????????????????????
????4.?????????????????????ж???????????????????
??????????????????????е?????“??????????????????????????????????????”
????LoadRunner??????????????????????Щ???????У?????????????????????????????????????????????????????????????????????????????????????????
??????????????????????棬?????????????????????????????????淢?????????????????????????顣