现在的位置: 首页 > 综合 > 正文

loadrunner录制webservice当,进入访问地址,限制了要输入用户名密码才能登陆时。出来方法:

2012年09月01日 ⁄ 综合 ⁄ 共 333字 ⁄ 字号 评论关闭

    web_set_user("ajco/tina","tina@2848804","172.18.14.172:80");

在这个前面加上:ajco是机器名,tian是用户名,“密码”,“ip和端口号”

web_url("Service1.asmx_2",
  "URL=http://172.18.14.172/test/Service1.asmx?op=QueryPoliceList",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://172.18.14.172/test/Service1.asmx",
  "Snapshot=t2.inf",
  "Mode=HTTP",
  LAST);

【上篇】
【下篇】

抱歉!评论已关闭.