If you want to stop the execution of your script on error,
how do you do that?
Answer Posted / mahesh sv
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.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to create a host list for a scenario?
What the vuser script contain?
What is vuser-end section?
How can you set the number of vusers in loadrunner?
What are monitors?
How will you stop the execution of a script on error?
What is the load runner testing process?
What are the three sections of a vuser script and what is the purpose of each one?
Why we insert the rendezvous point while running the scenario?
How can we perform functional testing under load?
What are the different types goals in goal-oriented scenario?
How do you load a load runner agent?
Explain the difference between automatic correlation and manual correlation?
What is the difference between lr_error_message and lr_debug _message?
What is the modular approach of scripting?