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

How a request is routed (request flow) in an n-tier architecture. digramatically explain a basic n-tier architecture.

1 Answers   Wipro,


In a web server, database and network are all working fine and now, where could be the problem?

0 Answers  


Types of Goals in Goal-Oriented Scenario ?

1 Answers  


What does vuser_init action contain?

4 Answers  


Need to know best institute where i can learn LR with live concepts... Please suggest if any one knows...

3 Answers  






what is monitoring in load runner ?

5 Answers   Satyam,


How you load a loadrunner agent?

0 Answers  


How do decrease the TPS,when one Vuser is running? For example, I am running one DRB with TPS 18 TPS, I want to maintain it as 7 TPS, how?

3 Answers  


what are the objectives of performance testing?

6 Answers  


What is the differences between parameterization and correlation ?

7 Answers   TCS,


What is the difference between Scalbility Testing and Volumetric Testing. in Performance Testing?

0 Answers  


How many components are there in Loadrunner and what are they?

3 Answers  


Categories