問題1:
在controller中,運行時,報以下錯誤「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'.」
解決方法:
一、根據錯誤提示,在run-time setting中的Miscellaneous項中設置「run vuser as a process」;在安裝目錄的dat文件夾中查找mdrv.dat,找到[lr_socks]段,在最後添加「ExtCmdLineConc=-UsingWinInet Yes」一句;(貌似無論用)
二、在選擇了expert mode後,選擇option->general,取消「ip address allocation per process」;(取消虛擬IP的啓用)
三、若是仍然報錯,在菜單欄中點擊Diagnostics(診斷)->configuration(配置)項,將web page diagnostics(網頁診斷)項disable(禁用)掉(該路徑是在loadrunner11中的位置,如果loadrunner8.0,則在Diagnostics--->Distribution,disable Web Page Diagnostics選項)web