Case1: recording script, Login in Vuserinit,Body in Action
and Logout in Vuserend.
Case2: recording Login,Body and Logout in Action itself.
Run both the scripts. What are the difference u will find?
Is there any difference?

Answers were Sorted based on User's Feedback



Case1: recording script, Login in Vuserinit,Body in Action and Logout in Vuserend. Case2: recordi..

Answer / prasad

Script behaviour will be different in case you run more
than 1 iteration. When you specify more than 1 iteration in
your runtime settings, only the action part will re-
iterate, and not your init and end section.

Is This Answer Correct ?    14 Yes 1 No

Case1: recording script, Login in Vuserinit,Body in Action and Logout in Vuserend. Case2: recordi..

Answer / mahadev

If it is in the Vugen, no diffrence, if it is in the
Controller, then it will behave diffrent based on the
iterations and duration provided.

Is This Answer Correct ?    12 Yes 7 No

Case1: recording script, Login in Vuserinit,Body in Action and Logout in Vuserend. Case2: recordi..

Answer / andy.savdt

In performance testing we will try to mimic the production
environment. Where one user will login only once and do his
needed transactions which you mentioned here as body for n
number of time and finally logoff and move away. To acheive
this loadrunner Vugen has provided V-init,Action and V-end
functions which has been controlled programatically such
that VInit progresses only one i.e first step and V-end at
the last in between Action iterates for the n number of
time the tester provides to run.
Hope this helps

Is This Answer Correct ?    5 Yes 0 No

Case1: recording script, Login in Vuserinit,Body in Action and Logout in Vuserend. Case2: recordi..

Answer / rajkishor

there is no difference in single user like vugen,but in
cotroller the same script run many users on that time it
behave differntly. why because if you ere given number of
iterations in runtime settings on that time it will be
differ.vinit,vend executing only once.

Is This Answer Correct ?    4 Yes 0 No

Case1: recording script, Login in Vuserinit,Body in Action and Logout in Vuserend. Case2: recordi..

Answer / la1yacreations

There is no difference it will be same

Is This Answer Correct ?    2 Yes 17 No

Post New Answer

More Load Runner Interview Questions

We have executed a scenario in controller from 3 diff Load Generators..How can we measure or get the response time of transactions of individual LG's....?

3 Answers   ADP,


how to write scenarios using loadrunner in real time application. plz give me an example

1 Answers  


in general best o/s should posses max CPU utilization.but in loadrunner we consider CPU utilization exceed 70% it is a bottleneck in CPU.explain why?

4 Answers   HCL, Symphony, Tata Communications,


How is automated correlation configured?

0 Answers  


What is a scenario?

3 Answers   Accenture,






What are the documents your using ,and how your distibute the users

0 Answers  


on what monitoring tools have u worked on?

1 Answers   Accenture,


How many types of graphs are available in loadrunner?

0 Answers  


What is visual recorder in Load Runner?

1 Answers  


What are the loadrunner testing process?

0 Answers  


how to perform load testing of a website using any free automation testing tool?

3 Answers   Tech Mahindra,


Hi, I am executing a scenario for 48 hours. My controller is on remote host, so I am using RDC. After some 24 hours my remote session got terminated as it is put idle for some time. When I tried to open the result file(As it is Auto Collated and saved in the results folder), it is giving error. Is there any way that I can see the results for which the remote session is terminated? Please help in resolving this.

1 Answers  


Categories