loadrunner11录制玩脚本回放是出现错误。。。急~~
Action.c(60): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.211:8100/cas/login;jsessionid=CED309AFC148A82E517CC19422443EC4?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal"Action.c(60): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)
Action.c(60): web_submit_data("login;jsessionid=CED309AFC148A82E517CC19422443EC4") highest severity level was "ERROR", 1239 body bytes, 463 header bytes, 12 chunking overhead bytes
脚本如下Action()
{
web_submit_data("check_outchain.php",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=3fc00cb8ce573f701a310d5111c52bd1|0eda49ba8a42bf9780fca37e85c227a9|eb163727917cbba1eea208541a643e74|5ebaf7bef23bf05b60a330b68ea87910|26f95c4638c028e805f319467864db2e|0eda49ba8a42bf9780fca37e85c227a9|67738261c8decf12093432c9d576fb9a|18e0882e68853bdaa8e3cbb3ee5357f7\tZGxlYwR2BP4jYwVkZD==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=75ce766d", ENDITEM,
"Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
LAST);
web_url("login",
"URL=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=css/ie_cas.css", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
"Url=css/main.css", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
"Url=images/logins/login.jpg", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
"Url=images/logins/bottom_09.png", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
"Url=images/logins/bottom_10.png", "Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal", ENDITEM,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
lr_start_transaction("login");
lr_think_time(19);
web_submit_data("check_outchain.php_2",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=f14f99b5ea40d90c72ddafea5a5422a7|0eda49ba8a42bf9780fca37e85c227a9|eb163727917cbba1eea208541a643e74|5ebaf7bef23bf05b60a330b68ea87910|26f95c4638c028e805f319467864db2e|0eda49ba8a42bf9780fca37e85c227a9|67738261c8decf12093432c9d576fb9a|e392fb155faa44b2463c25b6573bdad9\tZGxlYwR2BP4jYwVkZD==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=39680d7c", ENDITEM,
"Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
LAST);
web_submit_data("login;jsessionid=CED309AFC148A82E517CC19422443EC4",
"Action=http://192.168.0.211:8100/cas/login;jsessionid=CED309AFC148A82E517CC19422443EC4?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.211:8100/cas/login?service=http%3A%2F%2F192.168.0.225%3A8200%2Fportal",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=40101240", ENDITEM,
"Name=password", "Value=1", ENDITEM,
"Name=yzm1", "Value=6425", ENDITEM,
"Name=submit", "Value=", ENDITEM,
"Name=lt", "Value=_c6B50E99F-C89A-C0B7-3B5D-754AB0DB3027_kA31E0EF1-D115-F955-D0E2-4116E101E9E3", ENDITEM,
"Name=_eventId", "Value=submit", ENDITEM,
EXTRARES,
"Url=http://192.168.0.225:8200/portal-core/themes/common/portlet-editor.css", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/common/tooltip.css", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/bg.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/01_03.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/head.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/jiao_05.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/navbg.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/line.jpg", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/1_03.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/1_05.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/an_03xiao.png", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/an_05da.png", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-left-vertical.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/1_07.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-bottom-right.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-bottom-left.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-right-vertical.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
"Url=http://192.168.0.225:8200/portal-core/themes/Blue2Columns/images/portlet-bottom-middle.gif", "Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas", ENDITEM,
LAST);
lr_end_transaction("login",LR_AUTO);
lr_think_time(36);
web_submit_data("check_outchain.php_3",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=c4553e9eedb405ff6f4b1e162de1c3f3|c42eba2117f6cabe685aee7107aaf076|d1c38a09acc34845c6be3a127a5aacaf|f419f324efc2e535137588e57ff690e4|3ded9569db4094413caf689b80e974b6|c42eba2117f6cabe685aee7107aaf076|58c3b3c7fbd5a6d2fd184fa93761a6f3\tZGxlYwR2BP4jYwVlAD==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=bcbb9b7a", ENDITEM,
"Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
LAST);
web_add_cookie("JSESSIONID=CED309AFC148A82E517CC19422443EC4; DOMAIN=192.168.0.211");
web_url("signout;jsessionid=2B73DF80F1C8D306AA5A9E89AAD149F2",
"URL=http://192.168.0.225:8200/portal/signout;jsessionid=2B73DF80F1C8D306AA5A9E89AAD149F2",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.225:8200/portal?ticket=ST-71-zF4rCIqa5Qycm3dbgQt7-cas",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
web_submit_data("check_outchain.php_4",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=3fc00cb8ce573f701a310d5111c52bd1|0eda49ba8a42bf9780fca37e85c227a9|eb163727917cbba1eea208541a643e74|5ebaf7bef23bf05b60a330b68ea87910|26f95c4638c028e805f319467864db2e|0eda49ba8a42bf9780fca37e85c227a9|67738261c8decf12093432c9d576fb9a|18e0882e68853bdaa8e3cbb3ee5357f7\tZGxlYwR2BP4jYwVkZD==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=75ce766d", ENDITEM,
"Name=mid", "Value=58df9ec9d0dd0fe21f3b7e410a797134", ENDITEM,
LAST);
return 0;
} 没有关联 给个建议,把360卸载了吧。
RE: loadrunner11录制玩脚本回放是出现错误。。。急~~
我回放脚本时报这错:。请教怎么处理,脚本如下:Action.c(458): Error: Failed to end Transaction "诚信信息录入结束" (by name). Please check that you made a call to start transaction operation.
Error: Vuser started transaction "诚信信息录入开始", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'. 出错处脚本是:
脚本在附件txt里面。
页:
[1]