loadrunner11录制脚本报错,请各位大虾帮忙。。
loadrunner11录制一个医科大学门户平台系统,html模式录制,脚本如下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); 把360关掉
页:
[1]