标题: loadrunner在设置虚拟ip是,运行场景出现了错误,请高手指点下 [打印本页] 作者: 让爱一起飞 时间: 2013-4-17 10:00 标题: loadrunner在设置虚拟ip是,运行场景出现了错误,请高手指点下 Action.c(6): 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 setting中的Miscellaneous项中设置“run vuser as a process”;[b]在安装目录的dat文件夹中查找mdrv.dat,找到[lr_socks]段,在最后添加“ExtCmdLineConc=-UsingWinInet Yes”一句;2、在选择了expert mode后,选择option->general,选中“ip address allocation per process”;
3、如果仍然报错,在菜单栏中点击Diagnostics->configuration项,将web page diagnostics项disable掉(该路径是在loadrunner11中的位置,若是loadrunner8.0,则在Diagnostics--->Distribution,disable Web Page Diagnostics选项)