|
一个打开网站页面的脚本,脚本中没有think_time,vuser_init()和vuser_end() 中没有代码,Action()中代码见下面
Action()
{
web_add_cookie("MXUPDID=CdIcPEp2moOqF7e+BjapAg==; DOMAIN=updatecn.maxthon.com");
web_add_cookie("MAXAUTH=01000000BCC74E000598764A85CB574C1A82654A9802DF9590113F3D561FC0CC4C1B635B79605D5C; DOMAIN=updatecn.maxthon.com");
web_url("newversion",
"URL=http://updatecn.maxthon.com/client/m2/newversion/?ver=2.5.2.7058&lan=0x0804&lc=86&pn=max2_huajun&mid=005056c00008&ver=2.5.2.7058&lan=0x0804&lc=86&pn=max2_huajun&mid=005056c00008",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_add_cookie("MXUPDID=CdIcPEp2moOqF7e+BjapAg==; DOMAIN=pupdatecn.maxthon.com");
web_add_cookie("MAXAUTH=01000000BCC74E000598764A85CB574C1A82654A9802DF9590113F3D561FC0CC4C1B635B79605D5C; DOMAIN=pupdatecn.maxthon.com");
web_url("m2",
"URL=http://pupdatecn.maxthon.com/m2/?ver=2.5.2.7058&lan=0x0804&lc=86&pn=max2_huajun&mid=005056c00008",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
web_add_cookie("MXUPDID=CdIcPEp2moOqF7e+BjapAg==; DOMAIN=boostct1.maxthon.com");
web_add_cookie("MAXAUTH=01000000BCC74E000598764A85CB574C1A82654A9802DF9590113F3D561FC0CC4C1B635B79605D5C; DOMAIN=boostct1.maxthon.com");
web_custom_request("boost",
"URL=http://boostct1.maxthon.com:443/boost?",
"Method=POST",
"Resource=0",
"Referer=",
"Mode=HTML",
"EncType=",
"Body=r=83c10d1795d5d981a59c6cddba40b6b1&k=abcd&c=1&u=i.maxthon.cn=",
LAST);
web_add_cookie("MXUPDID=CdIcPEp2moOqF7e+BjapAg==; DOMAIN=gocn.maxthon.com");
web_add_cookie("MAXAUTH=01000000BCC74E000598764A85CB574C1A82654A9802DF9590113F3D561FC0CC4C1B635B79605D5C; DOMAIN=gocn.maxthon.com");
web_url("msg.html",
"URL=http://gocn.maxthon.com/client/m2/xmllists/msg.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
web_add_cookie("__utma=88552217.54808618.1249285402.1249287075.1249287106.7; DOMAIN=www.sodasoccer.com");
web_add_cookie("__utmb=88552217; DOMAIN=www.sodasoccer.com");
web_add_cookie("__utmz=88552217.1249285402.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); DOMAIN=www.sodasoccer.com");
lr_start_transaction("打开首页");
web_url("www.sodasoccer.com",
"URL=http://www.sodasoccer.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"URL=/images/index/left1.jpg", ENDITEM,
"URL=/images/index/banbg.jpg", ENDITEM,
"URL=/images/bodybg.gif", ENDITEM,
"URL=/images/usermoreul.jpg", ENDITEM,
"URL=/images/usermore.jpg", ENDITEM,
"URL=/images/index/bg.gif", ENDITEM,
"URL=/images/index/sobg.jpg", ENDITEM,
"URL=/images/index/bg.png", ENDITEM,
"URL=/images/search/thbg.gif", ENDITEM,
"URL=/images/index/arrow.gif", ENDITEM,
"URL=/images/index/num1.gif", ENDITEM,
"URL=/images/index/num0.gif", ENDITEM,
"URL=/images/index/num3.gif", ENDITEM,
"URL=/images/index/num7.gif", ENDITEM,
"URL=/images/index/num5.gif", ENDITEM,
"URL=http://www.google-analytics.com/__utm.gif?utmwv=1.3&utmn=672768773&utmcs=utf-8&utmsr=1440x900&utmsc=32-bit&utmul=zh-cn&utmje=1&utmfl=10.0%20r22&utmdt=%E6%90%9C%E8%BE%BE%E8%B6%B3%E7%90%83%E7%BD%91%EF%BC%8D%E8%B6%B3%E7%90%83%E6%95%B0%E6%8D%AE%7C%E8%B6%B3%E7%90%83%E6%AF%94%E5%88%86%7C%E8%B5%9B%E4%BA%8B%7C%E6%96%B0%E9%97%BB%7C%E5%A3%81%E7%BA%B8%7C%E8%B6%B3%E7%90%83%E8%AE%BA%E5%9D%9B&utmhn=www.sodasoccer.com&utmhid=1212684474&utmr=-&utmp=/&utmac=UA-2203526-1&utmcc=__utma%3D88552217.54808618.1249285402.1249287106.1249287639.8%3B%2B__utmz%3D88552217.1249285402.1.1.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B", ENDITEM,
LAST);
web_find("web_find",
"What=你好,欢迎来到搜达足球网",
LAST);
lr_end_transaction("打开首页", LR_AUTO);
return 0;
}
设置了一个vuser运行在controller中运行,“打开首页“的transaction响应时间为6.657,7.523,8.025,21.106.这个不太可能吧,各位帮忙看看问题出在哪里。
[ 本帖最后由 chaidemin0824 于 2009-8-3 18:17 编辑 ] |
|