LoadRunner进行性能测试时遇到的问题汇总

 问题源及解决方案:

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进行性能测试时遇到的问题汇总)