在使用LoadRunner时,报了如下的错误:
Action.c(25): 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 Settings(默认是线程);
- 看mdrv.dat文件,搜索后在loadrunner安装目录下dat文件中;
解决方法如下:
1.在Run-time Settings中的Miscellaneous项中设置“Run Vuser as a process”;
2.在安装目录的dat文件夹中查找mdrv.dat,找到[lr_socks]段,在最后添加“ExtCmdLineConc=-UsingWinInet Yes”;
3.勾选Tools下的Expert Mode选项,然后选择Tools->Options->General,选中“IP address allocation per process”;
4.运行Controller,如果仍报错,停止运行场景,在菜单栏中点击Diagnostics->configuration项,将web page diagnostics项disable掉。
————————————————
版权声明:本文为CSDN博主「粉果布丁甜甜圈」的原创文章,遵循undefined版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/xiaoxiamiqianqian/article/details/80550750