51Testing软件测试论坛

标题: 关联问题.麻烦帮忙看一下 [打印本页]

作者: chb447    时间: 2013-1-21 23:42
标题: 关联问题.麻烦帮忙看一下
大家好,关联一直不能成功,帮忙看一下,谢谢!


Action()
{
web_url("WebTours",
  "URL=http://127.0.0.1:1080/WebTours/",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=http://conf.xmp.xunlei.com/vus/js2/vus_config.js", ENDITEM,
  "Url=http://conf.xmp.xunlei.com/vus/js2/vus_utility.js", ENDITEM,
  "Url=http://conf.xmp.xunlei.com/vus/js2/vus_smallsite.js", ENDITEM,
  "Url=http://conf.xmp.xunlei.com/vus/js2/vus_finder.js", ENDITEM,
  LAST);
web_url("videourlsnifferconfig.xml",
  "URL=http://conf.xmp.xunlei.com/videourlsnifferconfig.xml",
  "Resource=0",
  "RecContentType=text/xml",
  "Referer=",
  "Snapshot=t2.inf",
  "Mode=HTML",
  EXTRARES,
  "Url=/vus/js2/vus_main.js", "Referer=", ENDITEM,
  LAST);
  web_set_max_html_param_len("2048");

web_submit_data("check_outchain.php",
  "Action=http://qurl.f.360.cn/check_outchain.php",
  "Method=POST",
  "EncType=multipart/form-data",
  "RecContentType=text/plain",
  "Referer=",
  "Snapshot=t3.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=urls", "Value=eb62f6b9306db575c2d596b1279627a4\tq2DhZmLjYzAh\n", ENDITEM,
  "Name=kws", "Value=", ENDITEM,
  "Name=product", "Value=wd", ENDITEM,
  "Name=combo", "Value=urlproc", ENDITEM,
  "Name=vk", "Value=6ea961ae", ENDITEM,
  "Name=src", "Value=addrbar", ENDITEM,
  "Name=mid", "Value=881293da0e2bf8a1217c8e5700e4b08c", ENDITEM,
  "Name=v", "Value=3", ENDITEM,
  "Name=fb", "Value=DAUAAACtAAAAAAAAAgABAQgL3Lc9JcjyA56hHXRPI+LcVGWfrm73k2k3cAp1dVouKfrLcAqKnQzmjM0ERZpd8RBMXEFW70uU3LqFamWW77jdJjQ/DXy2M3XQfC63wKnttXMGmX7eFQxT1EYC1Wz220K2GbQNh/C9EsJj2wARR34aZwMZESl0N0v2UY8Y+L+Zex+EdX3GoWVJF6fspbefpKY7b2Aitn2LlAwXFlpZpxa3s9JTi1T7K6o=", ENDITEM,
  LAST);

web_url("1.html",
  "URL=http://log.buy2046.com/1.html?h9jX1M6wsqpiYlqrr9mgkcS4sqpiYVqmu97HqI+626lpkpeYfKzJo49ypalYlKmfqrKb0JJ1qa9kZWVmftuVnJV0q69plGVqqNman8Jy2NpqllqlubKZmZBo3t5vaVqar+mgxLdypatiYGVcvOignI1yo7JgaQ==",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Mode=HTML",
  EXTRARES,
  "Url=http://update.buy2046.com/update/bho_update_YX002001.ini", "Referer=", ENDITEM,
  LAST);
lr_think_time(19);

web_reg_save_param("userSession", "LB=userSession Value=", "RB=checked >", 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=t4.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=userSession", "Value={userSession}", ENDITEM,
  "Name=username", "Value=test001", ENDITEM,
  "Name=password", "Value=test001", ENDITEM,
  "Name=JSFormSubmit", "Value=on", ENDITEM,
  "Name=login.x", "Value=32", ENDITEM,
  "Name=login.y", "Value=12", ENDITEM,
  LAST);
return 0;
}
作者: junyjiang    时间: 2013-1-22 10:34
链接不成功报什么错?
检查左右边界




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2