Our applications shows a particular error page whenever an application error occurs (just like the 'blue screen of death'). In my web user script, how can I specify that a particular method has to be called (my_error_handler) when this page appears (no matter where the vuser is in the application)?
Content check only allows me to pass/fail the error but does not let me perform a certain action when the error occurs.
Is there any way the above issue can be addressed?
This was my first option, but the condition can occur anywhere, anytime. Instead of having numerous 'if' loops, is there a way to globally specify this condition.
To be more specific: I want the content check performed, and in addition, if the condition turns out to be true, I want an error-handler called.