|
4#
楼主 |
发表于 2008-7-28 10:19:36
|
只看该作者
回复 2# 的帖子
我都关联了,录制回放没问题。为何运行场景时有问题呢?不让发那么多,截取一部分。
kaishinandutiaozhan()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 167
// {CSRule_1_UID3} = "type"
// */
web_reg_save_param("CSRule_1_UID3",
"LB=script ",
"RB==",
"Ord=3",
"Search=Body",
"RelFrameId=1",
LAST);
web_custom_request("smartupgrade.do_2",
"URL=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t208.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_custom_request("css.css_4",
"URL=http://219.238.148.41/jtcss/css.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("font.css_6",
"URL=http://219.238.148.41/jtcss/font.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("calendar-blue.css_4",
"URL=http://219.238.148.41/js/calendar/skins/calendar-blue.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("formcheck.js_8",
"URL=http://219.238.148.41/js/formcheck.js",
"Method=GET",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("util.js_8",
"URL=http://219.238.148.41/js/util.js",
"Method=GET",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("prototype.js_4",
"URL=http://219.238.148.41/js/proto{CSRule_1_UID3}.js",
"Method=GET",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("butong_net_1.js_4",
"URL=http://219.238.148.41/jtcss/butong_net_1.js",
"Method=GET",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("butong_net_2.js_4",
"URL=http://219.238.148.41/jtcss/butong_net_2.js",
"Method=GET",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("top1.jpg_4",
"URL=http://219.238.148.41/jtimages/index/top1.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("biao.gif_4",
"URL=http://219.238.148.41/jtimages/index/biao.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("left8.jpg_4",
"URL=http://219.238.148.41/jtimages/index/left8.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("formcheck.js_9",
"URL=http://219.238.148.41/js/formcheck.js",
"Method=GET",
"Resource=1",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("left.jpg_4",
"URL=http://219.238.148.41/jtimages/index/left.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("left2.jpg_4",
"URL=http://219.238.148.41/jtimages/index/left2.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("down.gif_4",
"URL=http://219.238.148.41/download/student/images/down.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("util.js_9",
"URL=http://219.238.148.41/js/util.js",
"Method=GET",
"Resource=1",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("fd.js",
"URL=http://219.238.148.41/jtcss/fd.js",
"Method=GET",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
web_custom_request("yp.gif_2",
"URL=http://219.238.148.41/jtimages/yp.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=selfTest&clock=17",
LAST);
lr_think_time( 3 );
// [WCSPARAM WCSParam_Diff11 10 9041497013] Parameter {WCSParam_Diff11} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff11", "LB=value=\"", "RB=\"", "Ord=4", "Search=Body", "RelFrameId=1", LAST );
web_custom_request("smartupgrade.do_4",
"URL=http://219.238.148.41/smartupgrade.do?doMethod=answerDifficultTest",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=answerDifficultTest&isFirst=1",
"Snapshot=t210.inf",
"Mode=HTTP",
"Body=clock=+00%3A54&pageNum=2&nextquizVerId={WCSParam_Diff9}&quizVerId={WCSParam_Diff10}&q2=B&q1=B&q2=&q2=&q2=",
LAST);
web_concurrent_start(NULL);
web_custom_request("jquery-1.2.1.js_2",
"URL=http://219.238.148.41/js/jquery-1.2.1.js",
"Method=GET",
"Resource=1",
"Referer=http://219.238.148.41/smartupgrade.do?doMethod=answerDifficultTest",
LAST);
return 0;
} |
|