今天早上在使用LoadRunner時,報了以下的錯誤,開始並未看錯誤覺得是錄製問題引發,就從新錄製了一遍,簡單施壓看看錯誤是否還有,結果錯誤仍然有,以下所示: Error: Socket descriptor not found. Hint: the problem might be solved applying the following:html
(1) Update Run-Time Settings to Run Vuser as a process. web
(2) Add the following line into mdrv.dat, [lr_socks] section: 'ExtCmdLineConc=-UsingWinInet Yes'.app
根據提示進行以下處理:ide
思路:測試
1.修改Run-Time Settings(默認是線程);spa
2.看mdrv.dat文件,搜索後在loadrunner安裝目錄下dat文件中;線程
解決方法詳細以下:視頻
1.在run-time setting中的Miscellaneous項中設置「run vuser as a process」;htm
2.在安裝目錄的dat文件夾中查找mdrv.dat,找到[lr_socks]段,在最後添加「ExtCmdLineConc=-UsingWinInet Yes」一句; 而後再選擇了expert mode後,選擇option->general,選中「ip address allocation per process」;ip
3.運行Controller施壓,若是仍然報錯,在菜單欄中點擊Diagnostics->configuration項,將web page diagnostics項disable掉。
在解決問題中忽然想起上週在使用loadrunner時,使用了虛擬IP(IP欺騙)。用完後忘記回覆如初了。雖然這樣解決了當下,可是仍是須要將虛擬IP(IP欺騙)去掉。
下一篇給你們介紹一下如何讓 虛擬IP 回覆如初。
測試系列在線視頻,獨家在線銷售