標籤:loadrunner 虛擬ip
今天早上在使用LoadRunner時,報了如下的錯誤,開始並未看錯誤以為是錄製問題引起,就重新錄製了一遍,簡單施壓看看錯誤是否還有,結果錯誤仍然有,如下所示: Error: Socket descriptor not found. Hint: the problem might be solved applying the following:
(1) Update Run-Time Settings to Run Vuser as a process.
(2) Add the following line into mdrv.dat, [lr_socks] section: ‘ExtCmdLineConc=-UsingWinInet Yes‘.
根據提示進行如下處理:
思路:
1.修改Run-Time Settings(預設是線程);
2.看mdrv.dat檔案,搜尋後在loadrunner安裝目錄下dat檔案中;
解決方案詳細如下:
1.在run-time setting中的Miscellaneous項中設定“run vuser as a process”;
2.在安裝目錄的dat檔案夾中尋找mdrv.dat,找到[lr_socks]段,在最後添加“ExtCmdLineConc=-UsingWinInet Yes”一句; 然後再選擇了expert mode後,選擇option->general,選中“ip address allocation per process”;
3.運行Controller施壓,如果仍然報錯,在功能表列中點擊Diagnostics->configuration項,將web page diagnostics項disable掉。
在解決問題中突然想起上周在使用loadrunner時,使用了虛擬IP(IP欺騙)。用完後忘記回複如初了。雖然這樣解決了當下,但是還是需要將虛擬IP(IP欺騙)去掉。
下一篇給大家介紹一下如何讓 虛擬IP 回複如初。
測試系列線上視頻,獨家線上銷售
http://edu.51cto.com/lecturer/user_id-968349.html
本文出自 “探索之家” 部落格,請務必保留此出處http://starpoint.blog.51cto.com/968349/1406990