1. Action.c(4): Error -27796: Failed to connect to server "10.10.10.2:81": [10048] Address already in use
Try changing the registry value
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay to 30
and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\MaxUserPort to 65534
and rebooting the machine
See the readme.doc file for more information
2.Action.c(4): Error -26610: HTTP Status-Code=502 (Bad Gateway) for "http://10.10.10.2:81/pa/newstock/hq/index.jsp"
3.Error: Exception was raised when calling event-notify Vuser function in extension lrwreplaymain.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
解决办法:在C盘下新建一个TEMP目录,把环境变量TMP,TEMP的值设置成C:\TEMP就ok
4. Action.c(33): Error: C interpreter run time error: Action.c (33): Error -- Unresolved symbol : vuser_end.
5.Action.c(77): Continuing after Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s)
解决办法:设置loadrunner9.1的设置过程,run-time setting---internet protocal----preferences----advanced--打开options--修改General中Step download timeout(sec):600.
这个值根据自己的实际需要而设置。我这里的场景是要下载一个附件,手工操作大概是3.4分钟。
6.Action.c(33): Error: C interpreter run time error: Action.c (33): Error -- Unresolved symbol : vuser_end.
--------意思是:user_end部分的语法错误。比如缺少下面这段中的某行:
user_end()
{
return 0;
}
7.Connection to load generator failed.
Error: Process "lr_bridge.exe" was not created on remote host "192.168.170.161". Reason: communication error. Make sure the Agent process or service is running on the remote machine.. [MsgId: MERR-29987]
Error: Communication error: Failed to connect to remote host [server IP: 192.168.170.161]. [MsgId: MERR-10343
---------原因在于:使用controller加载另外的负载机,提示failed。
解决办法:出现这种情况都是因为防火墙等之内的限制了。负载机是windows2008,装的是LoadRunner9.5,上面没有另外装防火墙或者是杀毒软件。所以关闭掉windows防火墙(控制面板---防火墙---关闭)。
Loadrunner使用遇到的问题总汇
Try changing the registry value
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay to 30
and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\MaxUserPort to 65534
and rebooting the machine
See the readme.doc file for more information
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
acceptCount="100"
/>
maxThreads="150" 表示最多同时处理150个连接
minSpareThreads="25" 表示即使没有人使用也开这么多空线程等待
maxSpareThreads="75" 表示如果最多可以空75个线程,例如某时刻有80人访问,之后没有人访问了,则tomcat不会保留80个空线程,而是关闭5个空 的。
acceptCount="100" 当同时连接的人数达到maxThreads时,还可以接收排队的连接,超过这个连接的则直接返回拒绝连接。
服务器没有响应
2. 没有目标提供这个服务
3. 发送包失败,原因是通讯错误
4. 应该是收发包失败吧
5. 超时
综上,确实是服务器down掉了