1. Should you carry out performance testing in a production environments?
If you environment is in a pre-production status and has not been deployed to production, yes you can. But you have to ensure to isolate the network, so that the load traffic does not cause disruption to any other running production service. Else you need to plan for an equivalent test environment and carry out the performance testing on that environment.
2. Can you re-use the test scripts?
Yes, you can, but if the application changes drastically then it is better to create fresh scripts using the VUGEN IDE.
3. Should you push all the virtual users 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 be hit against my application at the beginning of the load test?
No, you should always use the Scenario schedule In the controller to first start with a minimum set of users. After the initial start, use a pacing for the increment of users in the schedule.
5. How can I see multiple graphs in the Analyzer
This can be done with the Add new graph menu option
6. How many users can I execute with the Loadrunner community edition
50 VU users. 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
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
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.