Wednesday 23 May 2012

Common Errors between Controller and Agents

Problem:

<!--[if !supportLists]-->· <!--[endif]-->Error -29989: Process "lr_bridge.exe" was not created on remote host , reason - communication error.


Resolution:
Different problems can cause the above error. Some of the things you can verify include:
1. Make sure that you apply the same LoadRunner version and Service Pack on the Controller and Load Generator machines.

2. Make sure that you can ping the Controller and host machine bidirectionally. You may need to add the IP address and machine name on the host file:
  1. Go to the host machine.
  2. Navigate to C:\WINNT\system32\drivers\etc\.
  3. Open the hosts file in a word editor.
  4. At the end of the file, add another line with the IP address and machine name of the Controller machine.
Example:
111.111.111.111 MI_Controller
  1. Repeat steps a - d for all the host machines.
  2. Repeat steps a - d for the Controller machine, but adding the IP and machine name of the hosts machines.
3. Make sure that the LoadRunner Agent is running either as a process or a service on the remote host machine.

Try to recreate the Controller’s initialization file Sometimes, the initialization files can become corrupted (e.g. after a crashed). You will have problem in launching or using the Controller after that. Use the following steps to do delete the initialization file so that a new copy will be created:
1. Shut the Controller.
2. Navigate to the C:\Winnt ( or C:\Windows for Windows XP machine )
3. Delete all files that begin with wlrun*. For example,
wlrun.ini, wlrun5.ini, wlrun7.dft, wlrun7.hst, wlrun7.ini


Controller on windows machine and Load Generator on Linux machine
How to resolve communication error:

By default, the LoadRunner Controller uses TCP port 50500 to send data to TCP port 54345 on the Windows Load Generator. The Load Generator sends information back via a dynamic port. through the MI Listener. 

We can use verify_generator utility with Loadrunner to verify if all the needed settings are in place.




No comments:

Post a Comment

How to Change Password of IUSR_METRO Account

Sometime we need to change the password of IUSR_METRO Account. This may be required due to compliance issue. Below are the steps to chang...