|
3#
楼主 |
发表于 2009-7-30 15:14:29
|
只看该作者
就是我标记的那些代码 和第一句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;
} |
|