1.

If You Want To Stop The Execution Of Your Script On Error, How Do You Do That?

Answer»

The lr_abort function aborts the execution of a Vuser SCRIPT. It instructs the Vuser to stop executing the Actions SECTION, execute the vuser_end section and end the execution. This function is useful when you need to manually abort a script execution as a result of a specific error CONDITION. When you end a script using this function, the Vuser is assigned the status "STOPPED". For this to take effect, we have to first uncheck the “Continue on error” option in Run-Time Settings.

The lr_abort function aborts the execution of a Vuser script. It instructs the Vuser to stop executing the Actions section, execute the vuser_end section and end the execution. This function is useful when you need to manually abort a script execution as a result of a specific error condition. When you end a script using this function, the Vuser is assigned the status "Stopped". For this to take effect, we have to first uncheck the “Continue on error” option in Run-Time Settings.



Discussion

No Comment Found