loadrunner录制脚本添加关联后报这个错误是为什么?
Action.c(6): Error -26377: No match found for the requested parameter "login". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter sizeAction.c(6): Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively.
Action.c(6): web_url("WebTours") highest severity level was "ERROR", 0 body bytes, 0 header bytes Action()
{
web_reg_save_param("login","LB=Name=userSession Value=","RB=>",LAST);
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_url("WebTours_2",
"URL=http://127.0.0.1:1080/WebTours",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
web_url("header.html",
"URL=http://127.0.0.1:1080/WebTours/header.html",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
web_url("welcome.pl",
"URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
lr_think_time(6);
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=body",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
//"Name=userSession", "Value=116587.94272985fQQzQQcpDAtVzzzHDfQiVpQfDicf", ENDITEM,
"Name=userSession", "Value={login}", ENDITEM,
"Name=username", "Value=admin", ENDITEM,
"Name=password", "Value=admin", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=73", ENDITEM,
"Name=login.y", "Value=4", ENDITEM,
LAST);
web_submit_data("login.pl_2",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=body",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=116587.94272985fQQzQQcpDAtVzzzHDfQiVpQfDicf", ENDITEM,
"Name=username", "Value=admin", ENDITEM,
"Name=password", "Value=admin", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=73", ENDITEM,
"Name=login.y", "Value=4", ENDITEM,
LAST);
web_url("login.pl_3",
"URL=http://127.0.0.1:1080/WebTours/login.pl?intro=true",
"TargetFrame=body",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/login.pl",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("welcome.pl_2",
"URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);
web_add_cookie("MSO=SID&1439278153&MSO_JSFormSubmit2&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb&50; DOMAIN=127.0.0.1");
web_add_cookie("MTUserInfo=firstName&&address2&&username&admin&hash&78&lastName&%0A&address1&&creditCard&&expDate&%0A; DOMAIN=127.0.0.1");
web_url("welcome.pl_3",
"URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);
return 0;
}
页:
[1]