Compilation is failing on RTE scripts in Performance Center/LoadRunner
If you are getting the following error when running a load test from a remote Load Generator:
‘Error: Vuser compilation failed’.
This issue occurred in Performance Center 11 and was reproduced in LoadRunner 11 as well.
The cause of this issue is because all files are not getting transferred to the remote Load Generator and so compilation fails.
Please follow the steps given below:
1. Open the script in the VuGen.
2. Go to the main menu and go to "File"->"Add Files to Script…".
3. Choose "logon.h". After this you can find "logon.h" on the left panel in the UI of VuGen.
4. Now save the script in VuGen
After performing the above steps, all file needed will be transferred to the remote Load Generators and the load test will execute without compilation errors.