TA的每日心情 | 开心 2015-2-5 14:42 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
5#
楼主 |
发表于 2013-2-25 12:26:54
|
只看该作者
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=110308.61855002fzHDQQQpfzzzzzzHDtAtDpQQHt", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
LAST);
lr_think_time(9);
web_submit_data("login.pl_2",
"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=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=110308.61855002fzHDQQQpfzzzzzzHDtAtDpQQHt", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=46", ENDITEM,
"Name=login.y", "Value=7", ENDITEM,
LAST);
web_submit_data("login.pl_3",
"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=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=110308.61855002fzHDQQQpfzzzzzzHDtAtDpQQHt", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=46", ENDITEM,
"Name=login.y", "Value=7", ENDITEM,
LAST);
感觉第一次提交的表单貌似没有加隐藏的数据,但是后两次提交的好像是完全一样的…… |
|