|
本帖最后由 niuniu_yl 于 2011-6-11 16:05 编辑
单用户循环20次,响应时间在最后一刻突然上升,手工操作页面打开正常。
脚本:
Action()
{
web_reg_save_param("JSESSIONID2",
"LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
lr_start_transaction("denglu");
web_submit_data("login_execute.zrx;jsessionid=wKgCDABQTfH5245ICNq-sUMQgLdusq0nGKUA",
"Action=http://192.168.2.12/oa/login_execute.zrx;jsessionid={JSESSIONID2}",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.2.12/oa/",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value={username}", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
EXTRARES,
LAST);
lr_end_transaction("denglu", LR_AUTO);
return 0;
} |
|