LoadRunner???tomcat?????
???????????? ???????[ 2014/5/4 11:05:37 ] ?????????????????? LoadRunner tomcat
?????????tomcat??????????????????? ??loadrunner???????????÷?????????????γ???????Ч??????????????ó??????????????????β???????????????????????~
Action()
{
double atof(const char *string);
web_reg_save_param("JVM_FreeMemory"??
"LB=Free memory: "??
"RB= MB"??
"Ord=1"??
LAST);
web_reg_save_param("JVM_TotalMemory"??
"LB=Total memory: "??
"RB= MB"??
"Ord=1"??
LAST);
web_reg_save_param("JVM_MaxMemory"??
"LB=Max memory: "??
"RB= MB"??
"Ord=1"??
LAST);
web_reg_save_param("http_MaxThreads"??
"LB=Max threads: "??
"RB= "??
"Ord=1"??
LAST);
web_reg_save_param("http_CurrentThreadCount"??
"LB=Current thread count: "??
"RB= "??
"Ord=1"??
LAST);
web_reg_save_param("http_CurrentThreadBusy"??
"LB=Current thread busy: "??
"RB= "??
"Ord=1"??
LAST);
web_reg_save_param("http_MaxProcessingTime"??
"LB=Max processing time: "??
"RB= ms"??
"Ord=1"??
LAST);
web_reg_save_param("http_ProcessingTime"??
"LB=Processing time: "??
"RB= s"??
"Ord=1"??
LAST);
web_reg_save_param("http_RequestCount"??
"LB=Request count: "??
"RB= "??
"Ord=1"??
LAST);
web_reg_save_param("http_ErrorCount"??
"LB=Error count: "??
"RB= "??
"Ord=1"??
LAST);
web_reg_save_param("http_BytesReceived"??
"LB=Bytes received: "??
"RB= MB"??
"Ord=1"??
LAST);
web_reg_save_param("http_BytesSent"??
"LB=Bytes sent: "??
"RB= MB"??
"Ord=1"??
LAST);
web_set_user("tomcat"?? "123"??"10.40.15.8:8080");
lr_think_time(20);
web_url("status"??
"URL=http://10.40.15.8:8080/manager/status"??
"Resource=0"??
"RecContentType=text/html"??
"Referer="??
"Snapshot=t1.inf"??
"Mode=HTML"??
LAST);
lr_user_data_point("Tomcat JVM FreeMemory"?? atof(lr_eval_string("{JVM_FreeMemory}")));
lr_user_data_point("Tomcat JVM TotalMemory"?? atof(lr_eval_string("{JVM_TotalMemory}")));
lr_user_data_point("Tomcat JVM MaxMemory"?? atof(lr_eval_string("{JVM_MaxMemory}")));
lr_user_data_point("Tomcat http MaxThreads"?? atof(lr_eval_string("{http_MaxThreads}")));
lr_user_data_point("Tomcat http CurrentThreadCount"?? atof(lr_eval_string("{http_CurrentThreadCount}")));
lr_user_data_point("Tomcat http CurrentThreadBusy"?? atof(lr_eval_string("{http_CurrentThreadBusy}")));
lr_user_data_point("Tomcat http MaxProcessingTime"?? atof(lr_eval_string("{http_MaxProcessingTime}")));
lr_user_data_point("Tomcat http ProcessingTime"?? atof(lr_eval_string("{http_ProcessingTime}")));
lr_user_data_point("Tomcat http RequestCount"?? atof(lr_eval_string("{http_RequestCount}")));
lr_user_data_point("Tomcat http ErrorCount"?? atof(lr_eval_string("{http_ErrorCount}")));
lr_user_data_point("Tomcat http BytesReceived"?? atof(lr_eval_string("{http_BytesReceived}")));
lr_user_data_point("Tomcat http BytesSent"?? atof(lr_eval_string("{http_BytesSent}")));
return 0;
}
|
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
???loadrunner????????????????????????LoadRunner????loadrunner11????????????????????????LoadRunner??Ajax?????У??LoadRunner???????????LoadRunner??????????????LoadRunner??????????????????loadrunner11??java vuser????jar?????LoadRunner???Windows???LoadRunnerС???????LoadRunner????:????????????????loadrunner??????????????????LoadRunner?ж?????????????????LoadRunner?ж?Https????????Loadrunner?????-Vuser??????LoadRunner??????APP???
???·???
??????????????????
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????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????