|
web_reg_save_param("UUU",
"LB=userSession value=",
"RB=>",
"Ord=1",
"Search=Body",
LAST);
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Mode=HTML",
LAST);
web_url("header.html",
"URL=http://127.0.0.1:1080/WebTours/header.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/",
"Mode=HTML",
LAST);
web_url("welcome.pl",
"URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(11);
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={UUU}", ENDITEM,
"Name=username", "Value=zhuxiao", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=47", ENDITEM,
"Name=login.y", "Value=11", ENDITEM,
LAST);
这个是我第一个帖子的完整代码!!也就是那个一直跑不过去的代码!并不是中间有几个web_url()的问题!
[ 本帖最后由 zhuxiaoyan003 于 2009-9-22 11:11 编辑 ] |
|