Lr运行错误Error: Socket descriptor not found. Hint: the problem might be

Posted LY2018

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Lr运行错误Error: Socket descriptor not found. Hint: the problem might be相关的知识,希望对你有一定的参考价值。

在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‘.”
解决方法:
1、根据错误提示,在run-time setting中的Miscellaneous项中设置“run vuser as a process”;在安装目录的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选项)

以上是关于Lr运行错误Error: Socket descriptor not found. Hint: the problem might be的主要内容,如果未能解决你的问题,请参考以下文章

LR下运行JAVA脚本时报该错误,求高手帮忙

lr常见问题汇总(持续更新版)

LR学习笔记15-LR的错误处理

selenium:socket.error: [Errno 61] 连接被拒绝

LR报:Error 27796 Failed to connect to server

LR接口测试---socket