51Testing软件测试论坛
标题:
loadrunner录制时 每个函数会自动录制2遍
[打印本页]
作者:
ray_m
时间:
2014-6-17 17:43
标题:
loadrunner录制时 每个函数会自动录制2遍
比如登陆提交函数 ,会自动生成2次
lr_think_time(5);
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=body",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=113649.094694208fitficfpDAiDDDDDDfAHtpQfVif", ENDITEM,
"Name=username", "Value=mm", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=60", ENDITEM,
"Name=login.y", "Value=10", ENDITEM,
LAST);
web_submit_data("login.pl_2",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=113649.094694208fitficfpDAiDDDDDDfAHtpQfVif", ENDITEM,
"Name=username", "Value=mm", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=60", ENDITEM,
"Name=login.y", "Value=10", ENDITEM,
LAST);
作者:
小乖乖
时间:
2014-6-19 10:05
先在Web端检查下,是不是对表单提交做了没有做限制,同一个表单可以提交多次
作者:
ray_m
时间:
2014-6-23 15:47
能具体说说怎么操作吗?
作者:
msnshow
时间:
2014-8-31 19:30
是页面做了2次刷新吧
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2