TA的每日心情 | 慵懒 2015-5-22 10:32 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
云大侠,你是说UNXI服务器有内存泄漏可能,还是LR那台客户端?
关键是我跑的时间短(<3小时),30个用户都不会报错;但是跑了4个小时左右,5个用户都会报错
脚本很简单:
Action()
{
int HttpRetCode;
web_url("auth.jsp",
"URL=http://XX.XX.XX.X/index.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
HttpRetCode = web_get_int_property(HTTP_INFO_RETURN_CODE);
if (HttpRetCode == 200)
{
lr_start_transaction("Test");
web_submit_form("index.jsp_2", ITEMDATA,
"Name=contentId", "Value={content_code}", ENDITEM,
"Name=userId", "Value={user_code}", ENDITEM,
"Name=submit", "Value=submit", ENDITEM,
LAST);
lr_end_transaction("epimonth", LR_AUTO);
return 0;
}
else
{
lr_start_transaction("error-html");
lr_log_message("ok");
lr_end_transaction("error-html", LR_AUTO);
return 0;
}
return 0;
} |
|