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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章