51Testing软件测试论坛
标题:
2个相同的快照问题
[打印本页]
作者:
chenwenzhe
时间:
2010-10-12 21:01
标题:
2个相同的快照问题
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个啊?我修改参数的时候,改第一个就可以了么?
作者:
wuweicoco
时间:
2010-10-13 20:14
注释掉一个试试看,不行再打开
作者:
msnshow
时间:
2010-10-14 08:43
一个就行了,另一个是多余的
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2