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


Please Help Members By Posting Answers For Below Questions

While scripting you created correlation rules for automatic correlation. If you want to share the correlation rules with your team member working on the same application so that he/she can use the same on his workstation, how will you do that?

668


How you develop the database vuser script?

688


What is the need of checkpoints in lr?

579


How could you measures Https/Sec ?

1850


Why do you create parameter?

531






What the host attributes determine?

643


What are the different components of loadrunner?

626


What is filtering and sorting?

631


How to upload media use loadrunner? I record the script but it fail because the top of document is invalidation.How to solve the problem?Which one know the answer please tell me. Thanks!

1921


What is the significance of “vuser-init “?

796


What is wasted time in vugen replay log?

680


What is gui vuser and on which platform it will run?

589


What are the process for developing a vuser script?

636


What is difference between manual scenario and goal oriented scenario?

586


how to add 100 for dynamic(correlate value) value

1295