background image
<< To instruct LoadRunner | Error Handling for RTE Vusers >>
<< To instruct LoadRunner | Error Handling for RTE Vusers >>

database statement fails

Creating Vuser Scripts
Chapter 6, page 102
Working with VuGen · Configuring Run-Time Settings
In
For example, if the following database statement fails (e.g. the table does not exist),
the script execution terminates.
To instruct VuGen to continue script execution, even when a database operation
error occurs, change the statement's severity level from a 0 to a 1.
Note: When you enable Continue on Error, it overrides the "0" severity level; script
execution continues even when database errors occur. However, if you disable
Continue on Error, but you specify a severity level of "1", script execution
continues when database errors occur.
lrd_stmt(Csr1, "insert into EMP values ('Smith',301)\n", -1, 1 , 1 , 0);
lrd_stmt(Csr1, "insert into EMP values ('Smith',301)\n", -1, 1 , 1 , 1);