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

End event error due to network timeout

Hello,

 

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):

<your_script_location>/profiles/interactive/

<your_script_location>/profiles/load/user_state

<your_script_location>/profiles/load/user_profile/profile

 

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
Guy_Rosenthal
Posts: 231
Registered: ‎10-24-2011
Message 2 of 2 (292 Views)

Re: End event error due to network timeout

Hi,

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.