|
求助~!
请问各位高手,有没有碰到这个问题,脚本录制完成后,发现相同的请求在脚本中都会出现两遍的情况?在其他机器上录制该脚本都不会出现此情况?是哪里设置错误,还请高手指点~~(按正常来说,红色那块只要一条web_submit_data就可以了,绿色的同样如此)
web_url("Login.aspx",
"URL=http://192.168.0.8/TestIBM/Login.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
web_url("换一张",
"URL=http://192.168.0.8/TestIBM/Login.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_submit_data("check_outchain.php",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=ef899f204791bcf9510886abb092a92a|f4e4c0ae3ffcc5f281329a6db3665e03|f4e4c0ae3ffcc5f281329a6db3665e03\tnUE0pQbiYmR5Zv4kAwthZP44Y1Eyp3EWDx0iGT9anJ4hLKAjrN==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=5d7c365d", ENDITEM,
"Name=mid", "Value=00815d8df943670154c5190ac45eb0c8", ENDITEM,
LAST); /*第一次提交数据*/
web_submit_data("check_outchain.php_2",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=ef899f204791bcf9510886abb092a92a|f4e4c0ae3ffcc5f281329a6db3665e03|f4e4c0ae3ffcc5f281329a6db3665e03\tnUE0pQbiYmR5Zv4kAwthZP44Y1Eyp3EWDx0iGT9anJ4hLKAjrN==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=5d7c365d", ENDITEM,
"Name=mid", "Value=00815d8df943670154c5190ac45eb0c8", ENDITEM,
LAST); /*同第一次提交数据一样*/
lr_think_time(5);
web_submit_data("check_outchain.php_3",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=ef899f204791bcf9510886abb092a92a|f4e4c0ae3ffcc5f281329a6db3665e03|f4e4c0ae3ffcc5f281329a6db3665e03\tnUE0pQbiYmR5Zv4kAwthZP44Y1Eyp3EWDx0iGT9anJ4hLKAjrN==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=5d7c365d", ENDITEM,
"Name=mid", "Value=00815d8df943670154c5190ac45eb0c8", ENDITEM,
LAST);
web_submit_data("check_outchain.php_4",
"Action=http://qurl.f.360.cn/check_outchain.php",
"Method=POST",
"EncType=multipart/form-data",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
"Name=urls", "Value=ef899f204791bcf9510886abb092a92a|f4e4c0ae3ffcc5f281329a6db3665e03|f4e4c0ae3ffcc5f281329a6db3665e03\tnUE0pQbiYmR5Zv4kAwthZP44Y1Eyp3EWDx0iGT9anJ4hLKAjrN==\n", ENDITEM,
"Name=src", "Value=addrbar", ENDITEM,
"Name=product", "Value=wd", ENDITEM,
"Name=combo", "Value=urlproc", ENDITEM,
"Name=v", "Value=1", ENDITEM,
"Name=vk", "Value=5d7c365d", ENDITEM,
"Name=mid", "Value=00815d8df943670154c5190ac45eb0c8", ENDITEM,
LAST); web_submit_data("Login.aspx_2",
"Action=http://192.168.0.8/TestIBM/Login.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM/Login.aspx",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value=/wEPDwUJNjkxNTA4NjI4ZBgBBQx2YWxpZGF0ZUNvZGUPD2QFJGE4NmVjYmM0LTMxZjEtNGYyOS05MmQ4LWIzZTkyOTIwYjAzNWRgKJIHvJbXvHik9GjeInsPUTZBKg==", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBQKCsYu5AgLcgpeMBwLGmdGVDAKMhs7EAgKgwImNC0+Hy+4xm3q51aC20B3GLLGxwNxA", ENDITEM,
"Name=user", "Value=test00001", ENDITEM,
"Name=pwd", "Value=qwe123", ENDITEM,
"Name=validate", "Value=", ENDITEM,
"Name=ctl03", "Value=鐧诲綍", ENDITEM,
"Name=screenHeight", "Value=930", ENDITEM,
"Name=clientHeight", "Value=782", ENDITEM,
LAST);
web_submit_data("Login.aspx_3",
"Action=http://192.168.0.8/TestIBM/Login.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM/Login.aspx",
"Snapshot=t10.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value=/wEPDwUJNjkxNTA4NjI4ZBgBBQx2YWxpZGF0ZUNvZGUPD2QFJGE4NmVjYmM0LTMxZjEtNGYyOS05MmQ4LWIzZTkyOTIwYjAzNWRgKJIHvJbXvHik9GjeInsPUTZBKg==", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBQKCsYu5AgLcgpeMBwLGmdGVDAKMhs7EAgKgwImNC0+Hy+4xm3q51aC20B3GLLGxwNxA", ENDITEM,
"Name=user", "Value=test00001", ENDITEM,
"Name=pwd", "Value=qwe123", ENDITEM,
"Name=validate", "Value=", ENDITEM,
"Name=ctl03", "Value=鐧诲綍", ENDITEM,
"Name=screenHeight", "Value=930", ENDITEM,
"Name=clientHeight", "Value=782", ENDITEM,
LAST); |
|