Option 1:
Try checking the '' continue on error'' in the ''design test's '' runtime setting(RTS) --> Miscellaneous error handling options
Open the test design
- Select RTS
- Miscellaneous
- Check the ''continue on error'' checkbox
- Press ''OK''
- Press ''Save''
Then re -Run the test
With the ''continue on error '' un -checked if the Vusers get an error , any error, he fails and quits the test run. If ''continue on error'' is checked the Vusers continue trying to do the next step in the iteration and then the next iteration.
Option 2:
You can add coding in the script to tell the Vusers when and if he get an error to end the iteration and start the next see the VuGen help ''Function reference '' for details on the LR command ''lr_exit''
Use these ''Continuation Options'' for the ''Lr_exit'' function, to tell the Vusers how to exit
- lr_exit(LR_EXIT_ACTION_AND_CONTINUE, LR_AUTO); Exit without any condition, and go directly to end action
- lr_exit(LR_EXIT_MAIN_ITERATION_AND_CONTINUE, LR_AUTO);Stop current action, and go to the next action
- lr_exit(LR_EXIT_ITERATION_AND_CONTINUE, LR_AUTO); 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
- lr_exit(LR_EXIT_VUSER_AFTER_ITERATION, LR_AUTO); Run until the end of the current iteration and then exit
- lr_exit(LR_EXIT_VUSER_AFTER_ACTION, LR_AUTO); Run until the end of the current action and then exit