Pages

Tuesday, 11 July 2017

LoadRunner - Interview Question #8

Q. 36 Where should you add a web_reg_save_param function to a script?
Ans: This is a correlation function and it is always written before the step that retrieves the dynamic value.

Q. 37 What is Ramp up and Ramp Down?
Ans: The user ramp up decides the rate at which virtual users add to the load test whereas ramp down instructs to LoadRunner at which rate virtual users exit from the load test. 
Example: 
Ramp-up rate - 5 Vusers per 10 seconds
Ramp-down rate - 20 Vusers per 5 seconds
Q. 38 Why user ramp-up is recommended in the performance testing?
Ans: It gives time to warm-up the server. Since the server is rebooted before performance test and its cache is empty which is not the case in the real-time scenario. Hence server warm-up period helps the server to bring in live-like condition. It is a common observation that during the ramp-up period, the response time is slightly high.

Q. 39 You want to have each step in your script measured as a transaction in the report. How can you accomplish this?
Ans: This can be done by Runtime setting. For this purpose you need to navigate:

Runtime Settings -> Miscellaneous -> Automatic Transactions -> Define each step as a transaction (Checkmark this option)

Q. 40 You want to have each action in your script measured as a transaction in the report. How can you accomplish this?
Ans: This can be done by Runtime setting. For this purpose you need to navigate:

Runtime Settings -> Miscellaneous -> Automatic Transactions -> Define each action as a transaction (Checkmark this option)

Next: LoadRunner Interview Question #9

Previous: LoadRunner Interview Question #7

No comments:

Post a Comment