Open topic with navigation
Aborts the execution of a script.
void lr_abort( );
|Example: lr_abort||Run-Time Functions|
void lr.abort( );
|Example: lr.abort||Run-Time Functions||Java Syntax|
The lr_abort function aborts the execution of a script . It stops the execution of the Actions section, executes the vuser_end section, and ends the execution. This function is useful when you need to manually abort a run as a result of a specific error condition. When you end a run using this function, the status is "Stopped."
lr_abort is equivalent to
lr_exit(LR_EXIT_VUSER, LR_ABORT);. For more options, see lr_exit.
No value is returned.
Parameterization is not applicable to this function.