Friday 16 February 2024

Communication between VuGen and the TruClient browser could not be established - Load Runner error Ajax Truclient protocol

Recently i have faced the error "Communication between VuGen and the TruClient browser could not be established" while working with Ajax Truclient protocol, i have resolved this by below methods

Operating system:- Windows 10 
Mozilla firefox version:- 121.0 
LR Version:- 12.5

1. Run LoadRunner as Administrator: Right-click on the LoadRunner/VuGen shortcut and select "Run as administrator". This ensures that LoadRunner has the necessary permissions to communicate with the TruClient browser.

2. Check Firewall and Antivirus Settings: Sometimes, firewall or antivirus software can block communication between applications. Make sure that LoadRunner/VuGen is added to the exceptions list in your firewall and antivirus settings.

3. Verify TruClient Browser Configuration: Ensure that your TruClient browser (Firefox) is properly configured and updated to the latest version. Check for any browser extensions or plugins that might interfere with the communication between VuGen and the browser.

4. Restart LoadRunner and Browser: Close all instances of LoadRunner/VuGen and the TruClient browser. Then, restart both applications and try again to see if the error persists.

5. Check User Permissions: Ensure that your Windows user account has the necessary permissions to access and modify files and settings related to LoadRunner/VuGen. You may need to contact your system administrator to verify and adjust your user permissions if necessary.

6. Update LoadRunner: Since you're using an older version of LoadRunner (12.5), consider updating to the latest version if possible. Newer versions may have bug fixes and improvements that could resolve compatibility issues with Windows 10 and Firefox.

7. Check LoadRunner/VuGen Logs: Look for any error messages or warnings in the LoadRunner/VuGen logs that might provide more information about the cause of the communication error. The logs can usually be found in the installation directory or in the Windows event viewer.

8. Contact LoadRunner Support: If you're unable to resolve the issue using the above steps, consider reaching out to LoadRunner support for further assistance. Provide them with detailed information about the error message and any troubleshooting steps you've already taken.