LoadRunner?HTTP?????д
???????????? ???????[ 2016/1/13 13:48:38 ] ?????????????????? ??????????
???????????????????????????????????????????????????????????????????÷????????????????????д????????????????????????????????????????C?????Java????????????????????????????????????C??java!
????Loadrunner?????????????????????????????????????÷??????????example????ο???????????copy example?е???????????????????????????????????????????£?
Action()
{
//???巵????
int status;
//???????
lr_start_transaction("send");
//???????
web_reg_find("Search=Body"??
"SaveCount=ret_Count"??
"Text=mobile"??
LAST);
//???????
status=web_url("Baidu_Search"??
"URL= http://www.baidu.com/s?wd=test"??
"TargetFrame=Main"??
"Resource=0"??
"RecContentType=text/html"??
"Mode=http"??
LAST );
//????????????
lr_output_message("Request Status:%d"??status);
//?????鵽??????
lr_output_message("????????:%d"??atoi(lr_eval_string("{ret_Count}")));
//?ж?????з????
if (atoi(lr_eval_string("{ret_Count}")) > 0){
lr_output_message("Rec successful.");
lr_end_transaction("send"?? LR_PASS);
}
else{
lr_error_message("Rec failed");
lr_end_transaction("send"?? LR_FAIL);
}
return 0;
}
??????
???·???
??????????????????
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