在loadrunner操做中,所遇見問題及解決方法

問題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

 
問題2:
使 用loadrunner進行IP虛擬設置,在點擊IP wizard時,彈出錯誤窗口,內容以下:「The IP wizard does not support DHCP-enabled network cards.Your cards are either DHCP-enabled or configured with invalid settings.Please contact your system administrator.」
解決方法:
1.禁用其餘多餘網卡,將要用的網卡設置爲靜態IP地址;
2.若是操做系統是win7的,須要點擊右鍵,選擇「以管理員身份運行」啓動IP wizard。(若將DHCP client禁用,則會發生IP wizard沒法添加IP 地址的問題,所以必定要慎重~)
 
問題3:
使用IP wizard建立了若干個IP後,點擊ok,會彈出DOS界面,運行命令」netsh interface ip add address 本地鏈接 192.168.10.2 255.255.255.0「。但彈出錯誤」RPC服務器不可用「。
解決方法:
該問題是因爲禁止了DHCP client服務,在運行中輸入servics.msc,右鍵啓動該服務便可。
相關文章
相關標籤/搜索