LoadRunner脚本显示问题
LoadRunner脚本显示问题,代码如下,(&&中间的内容全部与&&)web_submit_data("login.pl",在同一行,不在可见范围内,只能通过回车换到下行,保存后仍然没有效果,不知道是我把哪里的设置改变了,重新录脚本还是这样,不知道我描述的是否清楚,请各位帮忙,谢谢Action()
{lr_think_time(11);
web_submit_data("login.pl",
(&&&&&&&&&&&&&&&&&&&"Action=http://localhost:1080/MercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:1080/MercuryWebTours/nav.pl?in=home",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=101154.254353989fcADVcVpQfiDDDDDDVcVipHDVHf", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=43", ENDITEM,
"Name=login.y", "Value=12", ENDITEM,
LAST);&&&&&&&&&)
return 0;
} 再详细些?? 就是我标记的那些代码 和第一句web_submit_data("login.pl",这句都在一行里了,
Action()
{lr_think_time(11);
web_submit_data("login.pl", (那些代码在这个位置)
return 0;
}
在lr界面上是看不到了,只能回车换到下一行才会都变成下面这样
Action()
{lr_think_time(11);
web_submit_data("login.pl",
(&&&&&&&&&&&&&&&&&&&"Action=http://localhost:1080/MercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:1080/MercuryWebTours/nav.pl?in=home",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=101154.254353989fcADVcVpQfiDDDDDDVcVipHDVHf", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=43", ENDITEM,
"Name=login.y", "Value=12", ENDITEM,
LAST);&&&&&&&&&)
return 0;
} 怎么没人回答啊?:(
页:
[1]