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
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 |
Answer / krishna chaitanya
Exit function usage will terminate the Execution.
| Is This Answer Correct ? | 1 Yes | 0 No |
Hi all, I am having an interview on LoadRunner (SAP Web Protocol). I am wondering if somebody can help me with some interview questions at a 2 yr Scriptor level. Thanks and all answers are much appreciated.
Application Description: My current Project is a .net application & has Active X components also implements AJAX technology for report generation. Flow : A report has to be generated as soon as the preferences have been selected. Issue With Web(http/html) protocol in LR 8.1.4 and LR 9.1: Replay snap shot doesn't show any screens except the login screen(junk data is displayed instead of Reports)..And the last snap shot has "session expired" messsage. Issue with Web(click and Script) Able to record and replay sometimes...but no consistentency. Couldn't execute the script in the controller due to this incosistency. Any suggestions would be really helpfull.E-mail me for any further clarifications/information.
In Real time what should be the duration(30 min,1 hr) of the loadtest? In the controller how do we handle errors and failed transactions.....When the transactions fail, do we perform the loadtest again? Can anyone please help?
when a Load Runner controller fails?
How to calculate Elapsed Time in LoadRunner?
What do you mean by path?
How to execute set of multiple SQL queries in Load Runner? Which component in LR would be used to run the SQL Queries?
How is automated correlation configured?
How many components are there in Loadrunner and what are they?
What is main usage and function of MI Listener? Please anyone give me a correct ans.....
What do vuser_init and vuser_end action contain?
How will you configure and analyse Memory leaks counters for .Net application.