TA的每日心情 | 奋斗 2016-1-7 16:41 |
---|
签到天数: 2 天 连续签到: 1 天 [LV.1]测试小兵
|
代码如下:
web_submit_data("login.pl_3",
"Action=http://localhost:1080/WebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:1080/WebTours/login.pl?username=&password=&getInfo=true",
"Snapshot=t23.inf",
"Mode=HTTP",
ITEMDATA,
"Name=username", "Value=ywq222", ENDITEM,
"Name=password", "Value=111111", ENDITEM,
"Name=passwordConfirm", "Value=111111", ENDITEM,
"Name=firstName", "Value=", ENDITEM,
"Name=lastName", "Value=", ENDITEM,
"Name=address1", "Value=", ENDITEM,
"Name=address2", "Value=", ENDITEM,
"Name=register.x", "Value=49", ENDITEM,
"Name=register.y", "Value=16", ENDITEM,
LAST);
web_submit_data("login.pl_4",
"Action=http://localhost:1080/WebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:1080/WebTours/login.pl?username=&password=&getInfo=true",
"Snapshot=t24.inf",
"Mode=HTTP",
ITEMDATA,
"Name=username", "Value=ywq222", ENDITEM,
"Name=password", "Value=111111", ENDITEM,
"Name=passwordConfirm", "Value=111111", ENDITEM,
"Name=firstName", "Value=", ENDITEM,
"Name=lastName", "Value=", ENDITEM,
"Name=address1", "Value=", ENDITEM,
"Name=address2", "Value=", ENDITEM,
"Name=register.x", "Value=49", ENDITEM,
"Name=register.y", "Value=16", ENDITEM,
LAST); |
|