loadRunner录制自带的飞机订票系统,代码重复
用loadRunner录制自带的飞机订票系统程序,录制后生成的代码有大量重复的,代码如下:web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t67.inf",
"Mode=HTML",
LAST);
web_url("WebTours_2",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t68.inf",
"Mode=HTML",
EXTRARES,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t69.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=115992.719400567fQzzDHfpfAtVzzzHDfHQipcfDAcf", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
web_submit_data("login.pl_2",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t70.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=115992.719400567fQzzDHfpfAtVzzzHDfHQipcfDAcf", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
求大神解答这是为什么? 你record了几次啊?
别告诉我鼠标/键盘坏了
咳咳~应该录制一遍就一次,不会重发个 我也遇到过这个,不知道什么原因,都是操作了一次,应该要删除一个才可以。
页:
[1]