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); 先在Web端检查下,是不是对表单提交做了没有做限制,同一个表单可以提交多次 能具体说说怎么操作吗? 是页面做了2次刷新吧
页:
[1]