LR_Generator报错相关解决汇总

问题1:脚本已经成功录制了,但是回放的时候报错:
Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension LrXml.dll.

Vuser Terminated.


解决办法2016-11-22:

步骤1:找到LR安装位置,打开协议目录
安装位置>\dat\protocols
 
步骤2:
如果是录制的脚本是采用web协议的,找到Qtweb.lrp文件
如果是录制的脚本是采用citrix协议的,找到citrix.lrp文件或citrix_ica.lrp
 
步骤3:记事本打开脚本正在使用的xxx.lrp文件
 
步骤4:查找ResultsDirUI=1
 
步骤5:在ResultsDirUI=1前面加个分号,比如;ResultsDirUI=1




问题2:在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'.


解决方法:先检查一下是否开启Enable IP Spoofer

如果没有开启继续下面的方法:

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选项


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值