首页 > 代码库 > loadrunner -56992

loadrunner -56992

设置Run-time Settings ,network speed ,use bandwidth为 512;

回放脚本没有报错,5个并发运行场景报如下错误:

vuser_init.c(12): 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”;

2、...\Program Files (x86)\HP\LoadRunner\dat\mdrv.dat  

查找[lr_socks] 在后面添加“ ExtCmdLineConc=-UsingWinInet Yes ”,如下:

..............[lr_socks]ExtPriorityType=hookWINNT_EXT_LIBS=lr_socks.dllWIN95_EXT_LIBS=lr_socks.dllLINUX_EXT_LIBS=liblr_socks.soSOLARIS_EXT_LIBS=liblr_socks.soHPUX_EXT_LIBS=liblr_socks.slAIX_EXT_LIBS=liblr_socks.soLibCfgFunc=lr_socks_configureExtMessageQueue=0SecurityMode=OnExtCmdLineConc=-UsingWinInet Yes........


3、如果仍然报错,在菜单栏中点击Diagnostics->configuration项,将web page diagnostics项改为:Enable (这一招只能说眼不见心不烦),我觉得还有更好的解决办法。