02-11-2014 01:17 AM
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:
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.
02-11-2014 01:33 AM
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.
TruClient RnD Team Manager