51Testing软件测试论坛
标题:
负载下的事务响应时间
[打印本页]
作者:
cocodeng
时间:
2008-7-9 12:46
标题:
负载下的事务响应时间
绿色部分就是Vuser集合后的事务,为什么Vuser越多,事务响应时间越来越小的?麻烦大家帮帮忙,小女子感激不尽。
作者:
cocodeng
时间:
2008-7-9 12:50
麻烦帮帮忙
[
本帖最后由 cocodeng 于 2008-7-9 12:52 编辑
]
作者:
iori
时间:
2008-7-9 13:12
录制的什么操作?场景是如何设置的?
作者:
cocodeng
时间:
2008-7-10 12:41
脚本是这样的:
int b;
lr_rendezvous("downl");
lr_start_transaction("kaishi");
web_url("gz",
"URL=http://192.168.2.30:3006/gz",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/MTHLogo.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/Pages/MIP/Images/tabss_menu_itemA_bg.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/images/MIPForumRed.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/images/MIPForumBlueLine.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/Pages/MIP/Images/tabss_menu_item_bg.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/images/MIPForumRedLine.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/images/MIPForumYellow.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
"Url=/images/MIPForumGreen.gif", "Referer=http://192.168.2.30:3006/gz/Pages/default.aspx", ENDITEM,
LAST);
b=web_find("ÑéÖ¤ÊÇ·ñÕÒµ½½Å±¾","what=»¶Ó­");
if(b==0){lr_message("ÕÒµ½ÑéÖ¤Îı¾£º»¶Ó­");
}
web_url("NewAchievement.aspx",
"URL=http://192.168.2.30:3006/Pages/MIP/Achievement/NewAchievement.aspx?REGION=&TYPE=",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.2.30:3006/gz/Pages/default.aspx",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=/gz/images/swflash.cab", "Referer=", ENDITEM,
LAST);
web_url("tabss_titleBar_bg.gif",
"URL=http://192.168.2.30:3006/Pages/MIP/Images/tabss_titleBar_bg.gif",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.2.30:3006/gz/Pages/default.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
web_url("MIP",
"URL=http://192.168.2.30:3006/Pages/MIP/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.2.30:3006/Pages/MIP/BBSShowNewsImg.aspx",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
lr_end_transaction("kaishi", LR_AUTO);
return 0;
}
场景是每两秒增加20个Vuser。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2