|
大家帮忙看下,小弟在线等,
脚本说明:打开IE,输入http://192.168.0.70/tes,页面完全显示完毕,关闭IE,此动作在Action中,init和end没有动作.
测试环境为局域网,关闭了思考时间,但是缓存没有停用.
测试场景为同时加载所有的用户,没有初始化,然后运行5分钟,同时停止所有用户
大家看看,为什么局域网中才10用户同时并发打开网页,速度这么慢?,图片在下面
服务器CPU:塞扬2.66
内存:2GB
操作系统:Windows2000高级服务器版+IIS
数据库:SQL2000+SP4
Action()
{
web_url("wusercheck.aspx",
"URL=http://192.168.0.70/test",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=js/comm.js", "Referer=http://192.168.0.70/cmccoa/framework.aspx", ENDITEM,
"Url=js/OP.js", "Referer=http://192.168.0.70/cmccoa/framework.aspx", ENDITEM,
"Url=images/icon/cellend3.gif", "Referer=http://192.168.0.70/cmccoa/Mymain.aspx", ENDITEM,
"Url=images/icon/celltop3.gif", "Referer=http://192.168.0.70/cmccoa/Mymain.aspx", ENDITEM,
"Url=images/buttom/arrow_left.gif", "Referer=http://192.168.0.70/cmccoa/Mymain.aspx", ENDITEM,
"Url=images/buttom/arrow_right.gif", "Referer=http://192.168.0.70/cmccoa/Mymain.aspx", ENDITEM,
LAST);
web_url("cmccoa",
"URL=http://192.168.0.70/cmccoa/",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.70/cmccoa/Mymain.aspx",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
web_custom_request("bottom.aspx",
"URL=http://192.168.0.70/cmccoa/bottom.aspx?Refresh=true",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.70/cmccoa/bottom.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=",
EXTRARES,
"Url=images/flowico4.gif", "Referer=", ENDITEM,
"Url=images/%E6%8C%89%E9%92%AE.gif", "Referer=", ENDITEM,
"Url=images/b_an.gif", ENDITEM,
LAST);
return 0;
}
图片说明为:
第一个是CPU使用率
第二是Action所用的时间
第三个是可用物理内存数
第四个是运行用户数 |
|