If you want to stop the execution of your script on error,
how do you do that?

Answers were Sorted based on User's Feedback



If you want to stop the execution of your script on error, how do you do that?..

Answer / 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

If you want to stop the execution of your script on error, how do you do that?..

Answer / krishna chaitanya

Exit function usage will terminate the Execution.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Load Runner Interview Questions

how can i capture the elapsed time of a scenario in a script?

1 Answers  


what is think time when u will use it?

12 Answers   IBM,


What are the different types goals in goal-oriented scenario?

0 Answers  


what is connection pooling?

1 Answers  


What is vuser-init section?

0 Answers  






Describe configurations of both servers? Here what r two different servers.

3 Answers   EDS,


What is the use of lr_start_transition statement in loadrunner.

1 Answers  


What is transaction per second graph(pass)?

0 Answers  


Script is working fine in Vgen.. but while running in Controller a error is throwing as "Action.c(59):Error-27995:Requested link(Text=My account") not found" I searched and it is pointing "web_link(...)" line. Plz help me regarding this.. if any.. Thanks

2 Answers   TCS,


What is the significance of “vuser-init “?

0 Answers  


what is standalone mode running?

2 Answers  


What Component of LoadRunner would you use to play Back the script in multi user mode?

1 Answers  


Categories