LoadRunner Interview Questions #2

Q. 6 What are the steps to create a LoadRunner script in VuGen?

Ans: In order to create VuGen script following are the steps:

  1. Choose related protocol(s)
  2. Record the script
  3. Script Enhancement (which involve Correlation, Parameterization, Add logic etc.) and Debugging
  4. Replay the script

Q.7 What are the different sections of VuGen script?

Ans: vuser_init(), Action() and vuser_end() are the three main sections of VuGen script.


Q.8 What type of transactions come under vuser_init()?

Ans: vuser_init() includes only those transactions which lie at the start of user flow and require only one-time execution during the test. Example: Home Page, Login Page etc. vuser_init() function runs only one time at the start of the test.


Q.9 What type of transactions come under vuser_end()?

Ans: vuser_end() includes only those transactions which lie at the end of user flow and require only one-time execution during the test. Example: Logout Page. vuser_end() function runs only one time at the end of the test.


Q.10 What type of transactions come under Action()?

Ans: The iterative transactions come under Action() part of VuGen script. Example: Search Product, Order Product etc. Action() runs multiple times throughout the test. The no. of iterations of Action() depends on the scenario setting which is as per NFR.


Leave a Comment