当前位置:首页 > loadrunner常见问题汇总 - 图文
4、配置完毕后,录制脚本,正常情况下,录制的脚本前面会出现证书信息,如下所示: web_set_certificate_ex(\\\
七、 Two Way Communication Error问题处理
Error: Two Way Communication Error: Function two_way_comm_post_message / two_way_comm_post_message_ex failed.
Error: Failed to deliver a p2p message from parent to child process, reason - communication error.
13
共享内存缓存溢出,造成Controller和Load Generator之间通讯出现问题。
解决办法:
修改两个配置文件。
1. $installation folder$\\dat\\channel_configure.dat
2. $installation folder$\\launch_service\\dat\\channel_configure.dat
在这两个文件中的[general]部分下添加如下配置。
shared_memory_max_size=100 (修改共享内存为100MB,默认是50MB)
重新启动Controller,问题解决。
14
八、 Action.c(11): Error -26601:问题解决办法
Decompression function (wgzMemDecompressBuffer) failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, outUse=0
在loadrunner11中设置时间项目中,设置磁盘缓存区容量,设置大一点就不会报这样的错误。
15
九、 修改win 7 64位系统的TCP连接数限制设置
Action.c(11): Error -27796: Failed to connect to server \[10060] Connection timed out
HKEY_LOCAL_MACHINESYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters 3
在右侧面板中找到EnableConnectionRateLimiting键值 此时,总计有三种情况:
1. 无此键值:那么恭喜你,你的系统并无TCP/IP连接数限制 2. 键值为0:依然恭喜你,你的系统同样没有TCP/IP连接数限制 3. 键值为1:TCP/IP限制被激活,默认为11. 去除的方法当然就很简单了:
1. 开始菜单 - 运行 2. 输入regedit
3. 找到并双击如下键值:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\ Tcpip\\Parameters\\EnableConnectionRateLimiting
注意: 在Windows 7下, 用户必须右键 - 新建DWORD (32-bit) 值,并命名为EnableConnectionRateLimiting. 4. 将其值设为0 5. 重启系统
在注册表HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters里,有如下两个键值:
TcpTimedWaitDelay MaxUserPort
1,这里的TcpTimedWaitDelay默认值应该中是30s,所以这里,把这个值调小为5s(按需要调整)。
2,也可以把MaxUserPort调大(如果这个值不是最大值的话)。
修改loadrunner的配置
分别修改VUGEN和 control 二者的run time setting中的请求超时时间Preferences 中点击Options 其中有三项的参数可以一次都修改了,
HTTP-request connect timeout 建议修改为1000 HTTP-request receieve timeout 建议修改为1000
Step download timeout 建议修改为10000 Http Keep Alive time out 建议修改800
16
共分享92篇相关文档