|
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t127.inf",
"Mode=HTTP",
ITEMDATA,
"Name=userSession", "Value=104243.62818955fDzcADVpzcfDcVHcpViQHf", ENDITEM,
"Name=username", "Value={username}", ENDITEM,
"Name=password", "Value={password}", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=47", ENDITEM,
"Name=login.y", "Value=6", ENDITEM,
LAST);
web_submit_data("login.pl_2",
"Action=http://127.0.0.1:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t128.inf",
"Mode=HTTP",
ITEMDATA,
"Name=userSession", "Value=104243.62818955fDzcADVpzcfDcVHcpViQHf", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=47", ENDITEM,
"Name=login.y", "Value=6", ENDITEM,
LAST);
我录制的LR自带的sample,此登陆代码录制在初始化中的,但是为什么提交了2个啊?我修改参数的时候,改第一个就可以了么? |
|