HP/MicroFocus LoadRunner Interview Questions and Answers

HP/MicroFocus LoadRunner Interview Questions and Answers



HP/MicroFocus LoadRunner Interview Questions and Answers

1. Should you work out performance testing in any production environments?

If an environment is in a production or staging or UAT status and has not been deployed to production yet, yes you can. But you have to ensure that you you isolate the network, so that the load runner traffic does not cause disruption/disturbance to any other running production services. Or you need to plan for an similar test environment and perform the performance testing on similar environment.

2. Can you reuse the test scripts?

Yes, you can, but if the application changes drastically/frequently then it is better to create fresh scripts using the VUGEN IDE available with LoadRunner setup.

3. Should you push all the virtual users (VU) from one agent machine to minimize cost?

No. This is because the agent itself can become a bottleneck to the load test. You should have multiple agents in place for distribution of the client load.

4. Should all my virtual users (VU) be hit my application at the very start of the load testing?

No, you should always use the Scenario schedule In the controller to first start with a minimum set of users with a specific time interval. After the initial start, use a pacing for the increment of users in the schedule.

5. How can I see multiple graphs in the Load Runner Analyzer

This can be done with the Add new graph menu option available in Analyzer.

6. How many users can I execute with the Loadrunner community edition - Trail Version

50 VU users, 2 Iteration For more users, you need to buy a license form HP.

7. Are all protocols supported by the Community Edition of loadrunner

Most of them except for DCOM and GUI protocol

8. What is the main purpose of the Controller

It is used to control the execution of multiple test scripts in load runner.

9. What are the 3 default actions in a VU script

vuser_init ,vuser_end and Action

10. In which method would you write code for initialization of variables

vuser_init

11. What if I don’t know what protocol to use while recording the script

You can use the Protocol Advisor option in the VUGEN editor. Here you will be allowed to navigate through your application. Loadrunner will then analyses your application and give outputs on what protocols can be used for the recording purposes.

12. What are checkpoints

Checkpoints are used in test script to logically separate different functions within a business scenario

13. What are comments in a test script

Comments can be used to better added documentation or notes so that the script becomes more readable

14. What are the 2 types of recording available in load runner

URL-based script and HTML-based script

15. What are some of the disadvantages of HTML Recording

Scripts are less scalable and the scripts require more CPU and power, because most of the dynamic based values are cached in memory

16. What is the default scripting language used in Load runner

C language

17. What are the type of scenarios that can be created in Loadrunner

Goal based and Manual scenarios

18. Why do you need to add parameters to the script

Parameters are used to make the script more dynamic in nature

19. What are Rendevous points

These points will instruct all the VUGEN users to converge at a point and wait to perform an action at the same time.

20. What is pacing in transactions

The pacing setting allows one to decide the amount of gap or pause between transactions

In our next section you can take up an HP LoadRunner Quiz to access your knowledge of LoadRunner.