background image
<< database statement fails | Multithreading >>
<< database statement fails | Multithreading >>

Error Handling for RTE Vusers

Working with VuGen · Configuring Run-Time Settings
Creating Vuser Scripts
Chapter 6, page 103
Error Handling for RTE Vusers
When working with RTE Vusers, you can control error handling for specific
functions. You insert an CONTINUE_ON_ERROR=
value
statement before the
functions whose behavior you want to change. LoadRunner uses the new setting
until the end of the script execution or until another CONTINUE_ON_ERROR
statement is issued.
For example, if you enable the Continue on Error feature and LoadRunner
encounters an error during replay of the following script segment, it continues
executing the script.
To instruct LoadRunner to continue on error for the entire script, except for the
following segment, enclose the segment with CONTINUE_ON_ERROR.
statements:
TE_wait_sync();
TE_type(...);
CONTINUE_ON_ERROR=OFF
TE_wait_sync();
CONTINUE_ON_ERROR=ON
....