Loadrunner?????????????????
???????????? ???????[ 2015/7/16 10:48:41 ] ??????????????????
????1.??Loadrunner11?????WebServerЭ?飬???????
????2.???Insert-New Step?????????
????3.???Custom Request?????????
???????web_custom_request????????Get??POST????????
????web_submit_data?????????POST????
????web_submit_form?????????Get????
????4.д???????????£?
Action()
{ int HttpRetCode;
web_submit_data("web_submit_data"??
"Action=http://192.168.1.111:8081/api/GetRoomInfo?"?? //?????
"Method=POST"??
"TargetFrame="??
"RecContentType=application/x-www-form-urlencoded"??
"Referer=http://{url}/login_wj;jsessionid={jsessionid}"??
ITEMDATA??
"Name=ShopInfo"?? "Value=??·_3"??ENDITEM??
"Name=RequestTime"??"Value=2015-07-13"??ENDITEM?? //????????
"Name=RoomID"?? "Value=4"??ENDITEM??
LAST);
HttpRetCode=web_get_int_property(HTTP_INFO_RETURN_CODE);
if(HttpRetCode==200)
{ lr_output_message("?????");
}
else
{ lr_output_message("????");
}
return 0;
}
????5.???Vuser-Run Time Settings?????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11