background image
<< Negative Row Values | evaluate the return code >>
<< Negative Row Values | evaluate the return code >>

Evaluating Error Codes

Creating Vuser Scripts
Chapter 9, page 154
Database Vuser Scripts · Developing Database Vuser Scripts
In
Evaluating Error Codes
When LoadRunner executes an LRD function, the function always generates a
return code. A return code of 0 indicates that the function succeeded. For example,
a return code of 0 indicates that another row is available from the result set. If an
error occurs, the return code indicates the type of error. For example, a return code
of 2014 indicates that an error occurred in the initialization.
There are four types of return codes, each represented by a numerical range:
For more detailed information on the return codes, refer to the
LoadRunner Online
Function Reference
(available from the VuGen Help menu).
Type of Return Code
Range
Informational
0 to 999
Warning
1000 to 1999
Error
2000 to 2999
Internal Error
5000 to 5999
Online
Function
Reference