Load Runner Interview Questions and Answers
Question - 41 : - Which components have you used in LoadRunner?
Answer - 41 : -
- Vuser generator – For generating Scripts
- Controller – For creating and executing scenarios
- Analyzer – To analyze results.
Question - 42 : - What is load runner Agent?
Answer - 42 : -
The Agent is interface between host machine and controller.
Question - 43 : - What is the process for developing a Vuser Script?
Answer - 43 : -
There are four steps for developing a vuser script.
1-Record the Vuser Script.
2-Playback / Enhance the recorded vuser script.
3- Define the various run-time settings & check
4- Incorporate the script in a LoadRunner scenario
Question - 44 : - How many VUsers are required for load testing?
Answer - 44 : -
This is essentially a trick question.
The number of VUsers required depends on your system under test, network configurations, hardware settings, memory, operating system, software applications objective of a performance test. There can not be any generic value for Vuser.
Question - 45 : - What is the difference in running the Vuser as a process and as a thread? Which is more advantageous way of running Vuser?
Answer - 45 : -
When Vuser is run as a process, the same driver program is loaded into memory for each Vuser. This will take a large amount of memory and will limit the number of Vusers you can run on a single generator.
When Vuser is run as a thread, only one instance of driver program is shared by given number of Vusers. You can run a number of Vusers on a single generator using the multi-threading mode.
Question - 46 : - What is the significance of “Vuser-init “?
Answer - 46 : -
Vuser-init records the pre-operations also called the initialization operations before the actual application is run.
Question - 47 : - What is extended log?
Answer - 47 : -
An extended log will store information such as data returned by an advanced trace, parameter substitution and much other information depending on the options you select in run-time settings.
Question - 48 : - Why do you create parameter?
Answer - 48 : -
To create a parameter you will replace the hard-coded value within the script and replace it with a parameter. This allows a single Vuser to be run many times, and to use different data on each run. It helps in stimulating more real-life server demand as it prevents a server from caching results.
Question - 49 : - How will you divide your script into multiple Actions? Why?
Answer - 49 : -
I will divide the script into Actions based on the functionality. For example, Once Action for Logining into Application, another Action for booking and so on.
Actions increase code reusability, reduce maintenance time and hence, decrease costs.
Question - 50 : - How can you set the number of Vusers in LoadRunner?
Answer - 50 : -
You can set the number of Vusers in the controller section while creating your scenarios. Many other advanced options like ramp-up, ramp-down of Vusers are also available in the Controller section.