Chinaunix首页 | 论坛 | 博客
  • 博客访问: 119387
  • 博文数量: 87
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2017-12-21 12:14
文章分类

全部博文(87)

文章存档

2015年(10)

2014年(2)

2013年(6)

2012年(69)

我的朋友

分类: Windows平台

2015-03-24 13:43:52

问题1:
在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'.
解决方法:
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项,将 page diagnostics项disable掉(该路径是在loadrunner11中的位置,若是loadrunner8.0,则在Diagnostics--->Distribution,disable Web Page Diagnostics选项

问题2:
使用loadrunner进行IP虚拟设置,在点击IP wizard时,弹出错误窗口,内容如下:“The IP wizard does not support DHCP-enabled network cards.Your cards are either DHCP-enabled or configured with invalid settings.Please contact your system administrator.”
解决方法:
1.禁用其他多余网卡,将要用的网卡设置为静态IP地址;
2.如果是win7的,需要点击右键,选择“以管理员身份运行”启动IP wizard。(若将DHCP client禁用,则会发生IP wizard无法添加IP 地址的问题,因此一定要慎重~)

问题3:
使用IP wizard创建了若干个IP后,点击ok,会弹出DOS界面,运行命令”netsh interface ip add address 本地连接 192.168.10.2 255.255.255.0“。但弹出错误”RPC服务器不可用“。
解决方法:
该问题是由于禁止了DHCP client服务,在运行中输入servics.msc,右键启动该服务即可。



执行性能测试过程中,LR报错: Action.c(6):Error -27796: Failed to connect to server "xxx.xxx.xxx.xxx:xx":[10060] connetiontime out

服务端防火墙限制流量导致:iptables接受的流量为304bytes,多余的都抛弃;

1.调整服务端防火墙限制;

2.关闭服务端防火墙进行测试;


阅读(1091) | 评论(0) | 转发(0) |
0

上一篇:web测试方法总结

下一篇:web测试方法总结

给主人留下些什么吧!~~