LoadRunner 回放出错

神奇错误
报错

Warning: Failed to get NV emulation handle.
Virtual User Script started at : 2016/8/18 9:29:57
Starting action vuser_init.
Web Turbo Replay of LoadRunner 12.53.0 for Windows 7; build 1203 (八月 18 2016 19:13:20)      [MsgId: MMSG-26983]
Run mode: HTML      [MsgId: MMSG-26993]
Replay user agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)   [MsgId: MMSG-26988]
Run-Time Settings file: "A:\NetWork\HP loadrunner word\WebHttpHtml2\\default.cfg"   [MsgId: MMSG-27141]
Starting to download the proxy automatic configuration script, URL="http://127.0.0.1:8086/proxy.pac"    [MsgId: MMSG-27097]

 1. *Error -27792*

: Failed to connect to server "127.0.0.1:8086": [10061] Connection refused      [MsgId: MERR-27792]

 2. *Fatal Error -27098*

: Could not download the proxy automatic configuration script (URL="http://127.0.0.1:8086/proxy.pac"). See previous messages.  Refer to the 'Run-time settings/Internet Protocol/Proxy'     [MsgId: MERR-27098]

 3. *Fatal Error -27072*

: The URL of the proxy automatic configuration script was explicitly specified in "Run-time settings/Internet Protocol/Proxy".  Aborting    [MsgId: MERR-27072]

LoadRunner版本:12.53
操作系统:win7 旗舰 64bit
录制的网站:HP loadrunner自带的机票订购网站
回放错误:如上所示

错误分析

  1. 第一个错误是无法链接到服务器,这个非常荒谬,因为录制的时候我已经把服务开启了,我又没关闭服务,为什么回放的时候就连不上了。
  2. 不能下载代理自动配置脚本。我什么时候开启代理了?录制都是默认的设置没有代理。
  3. 在“运行时间设置/互联网协议/代理”中显式指定了代理自动配置脚本的地址。这一句让我反应过来,原来回放的时候设置了代理!!!!!!
    坑爹的hp居然给回放设置了默认代理导致出错,如下图所示:
    默认代理

hp loadrunner在runtime setting设置了use custom proxy
所以如果你录制的时候使用了代理,就修改为你使用的代理,如果你没有使用代理,就像 我一样什么都没做,就把代理关闭了,选择no proxy

猜你喜欢

转载自blog.csdn.net/u014377853/article/details/52237904