Saturday, 17 March 2012

Action files in Loadrunner

The requests which agents on host machines issue to application servers are specified by a playback of actions created by the Vuser User Generator (VuGen.exe).
LoadRunner creates new scripts with three sections:
vuser_init: Most of the initiation operations are done with vuser_init action. We need to execute login only once if we are simulating shift duration. Here login related operations needs to be recorded. Since the bank executives login only once in their shift. 
Action: All other bank executive repeated operations needs to be captured. And the login and logout operations should not be captured into action.
vuser_end: Most of the closure operations are done with vuser_end action. Here logout related operations needs to be recorded. Since the bank executives logout only once after his / her shift.

  



7 comments: