码迷,mamicode.com
首页 > 其他好文 > 详细

Loadrunner--运行场景报Socket descriptor not found错误

时间:2017-10-19 12:44:10      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:run   今天   忘记   使用   not   web   process   disable   config   

今天早上在使用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‘.

根据提示进行如下处理:

思路:

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

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

解决方法详细如下:

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

2.在安装目录的dat文件夹中查找mdrv.dat,找到[lr_socks]段,在最后添加“ExtCmdLineConc=-UsingWinInet Yes”一句; 然后再选择了expert mode后,选择option->general,选中“ip address allocation per process”;

3.运行Controller施压,如果仍然报错,在菜单栏中点击Diagnostics->configuration项,将web page diagnostics项disable掉。

 

在解决问题中突然想起上周在使用loadrunner时,使用了虚拟IP(IP欺骗)。用完后忘记回复如初了。虽然这样解决了当下,但是还是需要将虚拟IP(IP欺骗)去掉

Loadrunner--运行场景报Socket descriptor not found错误

标签:run   今天   忘记   使用   not   web   process   disable   config   

原文地址:http://www.cnblogs.com/wxinyu/p/7691336.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!