Script Continuation Options
Scripts exit with one of these options for continuation:
C Constants | JavaScript Constants | Object Oriented Constants | Behavior | Value |
LR_EXIT_VUSER | lr.EXIT_VUSER | lr.EXIT_VUSER | Exit without any condition, and go directly to end action | 0 |
LR_EXIT_ACTION_ AND_CONTINUE | lr.EXIT_ACTION_AND_CONTINUE | lr.EXIT_ACTION_ AND_CONTINUE | Stop current action, and go to the next action. | 1 |
LR_EXIT_ITERATION_ AND_CONTINUE | lr.EXIT_ITERATION_AND_CONTINUE | lr.EXIT_ITERATION_ AND_CONTINUE | Stop current iteration, and go to the next iteration. If called from within a block iteration, only the block iteration will be exited, and not the global iteration. | 2 |
LR_EXIT_VUSER_ AFTER_ITERATION | lr.EXIT_VUSER_AFTER_ITERATION | lr.EXIT_VUSER_ AFTER_ITERATION | Run until the end of the current iteration and then exit. | 3 |
LR_EXIT_VUSER_ AFTER_ACTION | lr.EXIT_VUSER_AFTER_ACTION | lr.EXIT_VUSER_ AFTER_ACTION | Run until the end of the current action and then exit. | 4 |
LR_EXIT_MAIN_ ITERATION_ AND_CONTINUE | lr.EXIT_MAIN_ITERATION_AND_CONTINUE | Stop current global script run iteration, and go to the next iteration. | 5 |