lr.exit

Exits from the script, action, or iteration.

JavaScript

function lr.exit (  continuation_option, exit_status  )

VBScript

Sub lr.exit (  continuation_option, exit_status  )

Arguments

NameComments
continuation_optionThe Script Continuation Options specifies how the script continues after the call to lr.exit
exit_statusThe Script Exit Status of the scenario group as a result of calling lr.exit

The lr.exit function allows you to exit from the script run during execution.

A transaction in which lr.exit is called does not appear in Controller in the Transaction Status box. It is ignored in the count of passed and failed transactions.

If lr.exit is called several times in the same script, whether in different actions or different iterations, it is the exit status of the last call that determines the status of the Vuser group running the script. The Controller Scenario Groups Status box displays the status. It is the column in which the group appears after the run stops.

Return Values

No value returned.

Parameterization

Standard parameterization is not available for this function.