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?
Answer Posted / 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 |
Post New Answer View All Answers
What do vuser_init and vuser_end action contain?
Which are online monitors and windows resource monitors
How can correlation be performed?
You have created several auto-correlation rules. A new tester on your team is preparing to record a group of scripts on the same application on his workstation. What can you do to provide the tester with the correlation rules?
How are concurrent users differing from simultaneous users?
What is remote command launcher?
What is vuser script?
What is the difference in running the vuser as a process and as a thread? Which is more advantageous way of running vuser?
What is a ramp up and how it can be set?
Can anyone please mention what are the common errors that we can see while replaying the Vugen script and also while running the controller scneraio and How to handle them with a few examples. This will be greatly helpful.
What is performance testing in loadrunner?
What is report viewer?
You want to have each step in your script measured as a transaction in the controller and not shown in the replay log in vugen. How can you accomplish this?
What are all the components of loadrunner?
How to create a scenario?