LoadRunner Interview Questions and Answers

Orange TechnoMind 25-Feb-2021
orange technomind

The following are some of the Performance Testing interview questions that will help you be successful in interviews .For a fresher and an experienced performance tester, these interview questions will help to your next level as a Loadrunner expert.
 
1.What is LoadRunner?
LoadRunner is a performance testing tool from HP which simulates the real-world load on the application and validates the performance.
 
2.What are the Components of LoadRunner?
In load runner there are four components of load runner
 
1.Virtual User Generator.
It captures end-user business process and creates an automated performance testing scripts called Vuser script.
 
2.Controller.
Organizes, drives, manages and monitor the load test.
 
3.Load generators.
Creates the load by running Vusers.
 
4.Analyzer.
Helps to look at result, dissect and compare the performance results.
 
5.Launcher.
Provides a single point of access for all of the LoadRunner components.
 
3.When is Loadrunner Used?
Load runner is utilized to test applications when load sustaining is critical for our project and the tool/application developed is expected to work under heavy loads. Altogether cases, load testing manually is not possible.
 
4.What are the advantages of using Loadrunner?
  • It automatically records the performance of the client/server during the test.
  • It checks where performance delays occur network/client delays.
  • It monitors the network and server resources to help improve performance.
5.What are Vusers and Vuser scripts?
Vuser.
Virtual users imitate a human using the application. Also, perform actions on the application simply like a human would have done. At the point, when workstations permit just one single human client to work, numerous Vusers can simuWhen workstations allow only one single human user to work, many Vusers can simultaneously work on a single workstation.
Vuser Scripts.
It is the script that keeps all the actions performed by the Vuser to complete the specific task. Each Vuser invokes a Vuser script when we run a scenario. Vuser script additionally defines a function to track the performance of the application.
 
6.What is load runner Agent?
The Agent is an interface between host machine and controller.
 
7.What Is The Loadrunner Testing Process?
There are 5 steps:
  • planning the test.
  • creating the vuser script.
  • creating the scenario.
  • running the scenario.
  • analyze the test result.
8.What is the advantage of running the Vuser as the thread?
Running Vusers as thread assists to support additional virtual users count from any load generator machine because of its small memory print feature for the Vusers.
 
9.Define rendezvous point?
Rendezvous points are utilized to emulate heavy user load on the server. They instruct Vusers to wait during test execution to empower performing multitasking.
 
10.What are the monitors are available in LoadRunner ?
In load runner 3 monitors are available
Client Side monitor
Hits Per Seconds, Connection, Connection per seconds, Transaction, Transaction per seconds, Average Response time.
Server Side monitor
Network Monitor
Network Latency or Round Rubin
 
11.What is Load Generator in loadrunner ?
Load Generator is the mediator between the controller and the host.
 
12.Number of block support in Vugen ?
In Vugen it supports block like underneath
  • Vugen Init block
  • Vugen Action Block
  • Vugen End block
13.What is the advantage of running the Vuser as the thread?
Running Vusers as thread assists to support additional virtual users count from any load generator machine because of its small memory print feature for the Vusers.
 
14.What are the recording modes for Web HTTP/HTML protocol of LoadRunner?
Ihere are two modes:
  • URL Mode
  • HTML Mode
15.What are different kinds of Vuser logs which can be used while scripting?
There are two kinds of Vuser logs available in LoadRunner:
  • Standard log
  • Extended log
 
16.What is Vugen init block ?
Vugen init block supports initial or starting of the script wherever user will begin of their respective task during the load testing.
 
17.What is Vugen Action block ?
In this block once script is prepared to run then it is come into this step whereever it will record or add our script during the execution. Be remember Vugen supports iteration whereas other block don’t support iteration.
 
18.What is Vugen End block ?
In this block all the Script are loaded proper once the enhancing the script using parameterization & transaction it got into this state.
 
19.What is the extended log?
The extended log is utilized for script debugging purpose. It stores the extra information such as data returned by the server, an advanced trace, parameter substitution etc. depending on the options you choose in run-time settings.
 
20.What is Correlation and why we need correlating statements?
Correlation is utilized to get information that is needed for every run of the script and that are generated by nested queries. Correlation offers the value to avoid errors arising out of duplicate values and also optimizing the code. The Reason for Correlating the statements are:
 
- To modify or optimize the code.
- To generate dynamic data.
- To accommodate unique data records.
 
21.What is a scenario?
A scenario defines the events that occur during each testing session. For example, a scenario defines and controls the number of users to emulate, the actions to be performed, and the machines on which the virtual users run their emulations.
 
22.What is Load runner parameterization ?
parameterization is the process of replacing hard coded values into dynamic values in the parameter file which is created during the load testing.
 
23.What is Registry function available in Load runner ?
In load runner which start with reg then it is called as registry function. E.g, Web_reg_find();
 
24.What is Non Registry function available in load runner ?
In load runner which start with web then it is called as non registry function. E.g, Web_find();
 
25.What is Transaction in LoadRunner ?
In loadrunner transaction is an event or point from where we can start & end out activity during the load testing. From that transaction we can measure the transaction response time.
 
26.What is the Load runner Transaction status ?
In loadrunner transaction status can be measure in the following ways.
  • LR_AUTO () -  It Automatically detect the transaction state pass or fail.
  • LR_PASS () - When the transaction status is pass then it come into this state.
  • LR_FAIL () - When the transaction status is pass then it come into this state.
27.Define throughput?
Throughput refers to the no. of transactions produced over time during a test. It’s also expressed as the amount of capacity that a website or application can handle.
 
28.How do you define think time in LoadRunner?
Think time corresponds to the user delay between two subsequent requests.
 
29.What is Ramp up in loadrunner ?
Gradual increasing the load during the load testing is called Ramp up
 
30.What is Ramp down in loadrunner ?
Gradual decreasing the load during the load testing is called Ramp down.
 
31.What is Test duration time in loadrunner ?
Test duration time means implies how long you are proceeding with your performance test.
 
32.What are the types of checkpoints is available in LoadRunner?
LoadRunner provides two types of checkpoints
a) Image Checkpoints: This checkpoint will confirm the presence of an image on a page during run-time
b) Text Checkpoint: This checkpoint will confirm the presence of a text-string on a page during run-time
 
33.What is Manual Correlation?
 
It's correlation technique which uses function Web_reg_save_param() to identify dynamic values in your script. It is significant that your playback your script to confirm that correlation is done effectively.
 
34.Mention the function is used to end a nested transaction?
 
The function is - lr_end_sub_transaction
 
35.What is the distinction among transaction and transaction instance in LoadRunner?
 
A transaction is utilized to measure the time between executions of certain statements
A transaction instance is used for performance analysis
 
36.What is the distinction between Overlay graph and Correlate graph?
 
Overlay Graph: It'll overlay the content of two graphs that share a standard x-axis
Correlate Graph: It'll Plot the Y-axis of two graphs against one another.
 
37.What are the different types of goals in Goal-Oriented Scenario?
 
LoadRunner has five unique sorts of goals in Goal-Oriented Scenario. These are:
  • The number of concurrent Vusers
  • The number of hits per second
  • The number of transactions per second
  • The number of pages per minute
  • The transaction response time
38.How to identify what to correlate and what to parameterize?
Any value in the script that changes on each iteration or with different users while replaying needs correlation. Any user input while recording should be parameterized.
 
39.What is the distinction between web_reg_find and web_find?
web_reg_find function is processed before the request sent and is placed before the request within the VuGen script whereas a web_find function is processed after the response of the request comes and is placed after the request in VuGen script.
 
40.What is the distinction between lr_error_message and lr_debug _message?
lr_error_message: Sends a error message to the LoadRunner Controller’s Output window
lr_debug _message: Sends a debug message to the LoadRunner Controller’s Output window
 

Contact Us

If you have a question, we have an answer. If you need something, we'll help you. Contact us anytime.

For enrollment related queries & support

+91 99 40 550 285

For technical issues & support

orangetechnomind@gmail.com