Loadrunner--运行场景报Error: Socket descriptor not found. Hint: the problem might be solved applying 错误

    在使用LoadRunner时,报了如下的错误: 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‘.

    根据提示进行如下处理2:

    1.修改Run-Time Settings(默认是线程);

    2.看mdrv.dat文件,搜索后在loadrunner安装目录下dat文件中;

解决方法如下:

1.在run-time setting中的Miscellaneous项中设置“Run Ruser as a process”;

2.在安装目录的dat文件夹中查找mdrv.dat,找到[lr_socks]段,在最后添加“ExtCmdLineConc=-UsingWinInet Yes”; 

3.然后再选择了expert mode后,选择option->general,选中“ip address allocation per process”;

4.运行Controller,如果仍报错,停止运行场景,在菜单栏中点击Diagnostics->configuration项,将web page diagnostics项disable掉。

扫描二维码关注公众号,回复: 6219149 查看本文章

猜你喜欢

转载自blog.csdn.net/xiaoxiamiqianqian/article/details/80550750