Loadrunner--運行場景報Socket descriptor not found錯誤


今天早上在使用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欺騙)去掉


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM