End event error due to network timeout (325 Views)
Occasional Contributor
Posts: 5
Registered: ‎02-04-2014
Message 1 of 2 (325 Views)

End event error due to network timeout



I create this post to share the solution to the "end event error due to network timeout" problem with Ajax TruClient protocol.

In my case, this error occurs when I'm clicking on a button who should generate a PDF document. This generation takes in average 120 seconds.


The HP support advise me to modify the user.js file loacted at several places (I don't know if modifing this file at all places is necessary):





You have to add the following lines:

user_pref("LoadRunner.RTS.TruClient.SyncNetworkTimeoutInterval", 30000);
user_pref("LoadRunner.RTS.TruClient.SyncNetworkTimeoutMaxIntervals", 6); 


The first one value is a time in ms and the second is a number of retries.

Of course, you can modify these values to be in accordance with your needs.


This kind of modification only affect your current script.

I think you can do this modification permanently by modifying the user.js file into the VuGen install directory.


Hoping help you.


HP Expert
Posts: 241
Registered: ‎10-24-2011
Message 2 of 2 (318 Views)

Re: End event error due to network timeout


I do not recommend to change the default values of those advanced settings.

Those timeouts often are triggered due to a real sync network issues in the application under test. Increasing the values might just delay the failure and decreasing it might raise the false alarm rate.

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.