What’s the LoadRunner?

LoadRunner is Mercury Interactive Load Testing tool.

What’s the LoadRunner Components?

LoadRunner have the five components-

  • Vuser Generator
  • Controller
  • Load Generator
  • Luncher
  • Analysis

What’s the Vuser Generator?

It captures the end user processes and generated the automated performance testing script.

What’s the Controller?

It organize, drive, manage, and monitor the load test.

What’s the Load Generator?

It generates the load by running the vusers.

What’s the Luncher?

It provides single point of access for all load runner components.

What’s the Analysis?

It helps you to view and analyze the performance results.

What’s the Scenario?

Scenario is a file that contains the events that occurs during each testing sessions.

What’s the Vuser?

In Scenario, LoadRunner replaces human user with Virtual User or Vuser. Vuser emulates the human action working with your application.

What’s the Vuser Script?

The action that Vuser performance during the scenario are described in the Vuser script.

What’s the Transaction?

To measures the performance of the server, we define the Transaction.

What’s the Load Testing Process?

Load Testing process have five steps-

  • Plan Test
  • Create Vuser script
  • Define Scenario
  • Run Scenario
  • Analyze Results

What’s the Rendezvous Point?

We can insert Rendezvous Points into Vuser script to emulates the heavy load on the server.

What’s the Think Time?

Think Time represent the actual time that we waited between the steps.

What are the section contain by the VuGen while creating a Vuser script?

VuGen contain the three section-

  • Vuser Init Section
  • Action Section
  • Vuser end Section

What’s the Vuser Init Section?

In Vuser Init section, LoadRunner records log in the server.

What’s the Action Section?

In Action section, LoadRunner records end user activities.

What’s the Vuser end Section?

In Vuser end section, LoadRunner records log off into the server.

How do you edit the script?

We can edit the script by inserting the Transaction Points and Rendezvous Points.

What’s the LoadRunner Start-Transaction and it’s syntax?

It start the Transaction on the script and it’s syntax is that “lr-start-transaction”.

What’s the LoadRunner End-Transaction and it’s syntax?

It end the Transaction on the script and it’s syntax is that “lr-end-transaction”

What’s .lrs?

It’s extension of LoadRunner Scenario files.

Which component you are using for recording the vuser script?

We are using Vugen component for recording the Vuser script.

Which component you are using for playback the script?

We are using Controller component for playback the script.

What’s the Parameterization?

Parameterization is script variables which are used to pass many values to server. It emulates the actions of human user.

What are changes we can make in Run Time Settings?

We can set the Run Logic, Pacing, Log, Think Time.

What’s the Run Logic?

In Run Logic we can set the number of repititions which are performing by Vuser.

What’s the Pacing?

In Pacing we can set the time to wait between each repititions.

What’s the Log?

Log is level of information which we want to gather during run time.

Where we can set the number of repititions?

We can set the number of repititions in Run Time Settings.

What’s the Ramp-Up and where we can set this?

Ramp-Up option used to increases the number of Vuser in server and we can set the this option through scenario schedule.

What’s the Host?

Host is machine which execute the Vuser script.

What are process for developing a Vuser script?

There are five steps for developing a Vuser Script-

  • Record Vuser script
  • Edit Vuser script
  • Change Run Time Setting
  • Run Vuser script in stand alone machine
  • Incorporate the Vuser script into loadrunner scenario

What’s the Remote Command Luncher?

RCL enables the controller to start the application on the host machine.

What’s the LoadRunner Agent?

Agent is interface between controller and host machine.

How to load LoadRunner Agent?

Controller insturct the RCl to lunch the LoadRunner Agent.

How many types of Vuser are available in LoadRunner?

There are many types of Vuser like DB Vuser, SAP Vuser, Web Vuser, RTE, GUI Vuser.

What type of functions are generated and inserted by LoadRunner?

LoadRunner generated two types of functions-

  • LR Function
  • Protocol Function

What’s the LR function?

LR function is obtained the information about the running Vuser.

What’s the Protocol Function?

Protocol function obtained the information about the type of Vuser.

What’s the Scenario Wizard?

We can create new scenario through Scenario Wizard.

What’s the Pause command?

It will change the status of running vuser to pause.

What’s the running Vuser graph?

It displays the number of Vusers that execute the Vuser script each seconds of scenario run.

What’s the percentile graph?

It displays the percentage of transaction which were performed with in given time.

What’s the Rendezvous graph?

It displays that when Vusers released from rendezvous point and how many Vusers released from each point.

How many types of running mode in LoadRunner?

LoadRunner provides two types of recording level-

  • HTML based script
  • URL based script

What is the HTML based script?

HTML based script generates seprated steps for each user actions.

What is the URL based script?

It records all requests and resources from server.

What is extension of LoadRunner result file?


Which language LoadRunner uses?


How many types of scenario in loadrunner?

LoadRunner provides two types of scenario-

  • Manual Scenario
  • Goal-Oriented Scenario

What is the Manual Scenario?

Manual Scenario manages the load test by specifying the number of vuser to run.

What is the Goal-Oriented Scenario?

Goal-Oriented scenario allows loadrunner controller to create scenarion based on goal which you specified.

Which Correlation function you have used?


How can we view the script?

We can view the script through Tree View and Script View.

What is the Tree View?

Tree view is icon based view.

What’s the Script View?

It’s text based view.

What does Result window contain?

Result Window open with two panes-

  • Tree Pane
  • Summary Pane

How many types of checkpoints are available in LoadRunner?

LoadRunner provides two types of checkpoints-

  • Text Checkpoints
  • Image Checkpoints

What’s the Correlation?

Correlation is used to obtained the data which are unique in every time of scrpit run and which are generated by nested queries.

How many types of Correlation?

Correlation are two types-

  • Manual Correlation
  • Automatic Correlation

What’s the Automatic Correlation?

Automatic Corrlation is set some rules for correlation.

What’s the syntex for think time?


What’s the Elasped Time?

It’s total time take since request is set and obtained the result.


57 thoughts on “Interview Questions of LoadRunner

  1. hi
    Mayank, I think you should write atleast 2-3 lines inspite of only 1 line answer as these answers are too short to be given in interview

  2. I just want to know how many recording modes in LoadRunner.
    What is the difference between HTML and URL Recording Modes.

  3. I am using LoadRunner 8 (20 user trial license). Whenever I adjust the load for quantity say ‘1’ it is posting 2 requests. Is there any way where I can adjust the load quantity to 1:1 rather than 1:2 ?

    To be more clear, simply put, does 1 Vuser maps to multiple user (2 user in my case) or 1 Vuser can post multiple simultaneous request (2 request in my case) ?
    I want to have 1 Vuser mapping to 1 user or 1 request.

    Any response is highly appreciated.


  4. Hi Sonia,

    We are using load runner for load testing. In load runner we creates vuser scripts and through it we can create load on application server. When we want to test our application under critical working condition then we are using it.

  5. Hi,

    Is there a way to run the LoadRunner controller from the command line in the background. That is, I don’t want it to be interactive. The script shoud run the application and save the analysis results and close.

    Thanks in advance,

  6. Hi Priya or Gavin,

    I have the same question as Priya. Did you find an answer to that question i.e. running LR from command line

  7. Hi Mayank,

    Dont be too smart of cut and pasting all the above question and answers from other sites. If you know perfectly then only respond..otherwise plz dont


  8. Hi,

    Its really too informative….
    But one problem is at my desk….
    While recording, recording menu shows only ‘Event1’ bydefault, capture & run the script but donot generate thumbnails…..

    Can any one tell me how to solve this problem?

    Awaiting for your reply…


  9. Simply Excellent Thanx for Mayank under sir.

    This is the procedure of FAQs. First just say what is what. good job done by my330space.wordpress.com & Finally Thanks-a-lot.

  10. hi mayank good see your work. but i think this way it wont work in interviews. when i sit in a panel i expect candidates to give answers in detail. for eg. i never like to ask, what is correlation. i like to ask this way. the business process is, a user logs in and gets the salary details of particular employee. now i want to create load on the system by checking the same process for 5 user log in and requesting details of 10 empoyee salary details. I have recorded the script and want to verify reply. Now what are the possibilities of getting errors when i replay the script? How can i sort out the errors if any arise?

  11. To be clear on my question let me place in this way.

    Normal application using java script do have a refresh, which refreshes the entire browser page but for ajax it won’t refresh the entire page it only refreshes the part which is it modifying in the div part.

    So here in ajax application there is not refresh for entire application.

    So is there any script in loadruner where we can write refresh syntax so that i can replce it where ever i want the page to refresh and any help in testing the ajax application,

    Any one who can answer could be very appreciatable. Manayak, swetha or priya can you just go through it, Appreciate will u give me reply.

  12. I would like to answer Prasanth`s question…. his question was


    “hi mayank good see your work. but i think this way it wont work in interviews. when i sit in a panel i expect candidates to give answers in detail. for eg. i never like to ask, what is correlation. i like to ask this way. the business process is, a user logs in and gets the salary details of particular employee. now i want to create load on the system by checking the same process for 5 user log in and requesting details of 10 empoyee salary details. I have recorded the script and want to verify reply. Now what are the possibilities of getting errors when i replay the script? How can i sort out the errors if any arise?”


    Prashant, we need to create a script which would perform the action you said (script for single user). It can be created by recording the action in VUgen. once we are ready with the script, we will have to run this script in controller with 5 users (a u mentioned). But the possible error u will get it “correlation error” . U need to correlate the session id with a variable. When every user logs in, a session Id is given to that user and it is a dynamic value, which is different for different users. Once u correlate, you can overcome the error and solve the issue. Hope this answer is helpful at least a bit. Thanks 🙂

  13. Hello, this is very useful information,
    however, i have a question say supppose who have X no of virtual user licences and you want to generate more throughtput or run more X no of vusers say X+1 how does one achieve that .
    really appreciate if anyone could answer.
    thanks in advance

  14. Is there any way to convert java script written for java vusers into script which web(HTTP/HTML) supports??

    or can we create web vusers using java code??

  15. We CAN generate load of X+1 user even if we have license of X users depending upon the business scenario.

    Case I:
    Your client asks you to test the system for 1500 users for a period of 10 min.
    The business process to be tested takes a run time of 10 min.
    You have the VUser license of 1000 users.
    You CANNOT achieve this scenario unless you purchase licence for 1500 users. Because all the users have to start operation simultaneously & all of them have to be among Init, Action or End phases.

    Case II:
    Your client asks you to test the system for 1500 users for a period of 30 mins.
    The business process to be tested takes a run time of 10 min.
    That means client expects total of 1500 users will complete some operation in a span of 30 mins, that effectively puts less load than the previous scenario at a given point of time.
    You have the VUser license of 1000 users.

    You CAN achieve this scenario with licence for 1000 users.

    You schedule your scripts in such a way so that at a time there will not be more than 1000 users in the system.
    For simple example, Start with 500 users. Put another 500 users after 10 mins. Ideally all the users should complete operation in first 10 mins, but actually they will not be due to different issues. So you see There is no chance of exceeding 1000 Vusers at any given point of time. now put another 500 after 20 mins from starting point.

  16. I don’t know what you guys talking about loading 500 vusers on to your controller!!! have you ever did it in reality ? what is your vuser .c file looks like ? juet one GET request ??
    how many asp/processor you are setting up on your webserver config file ?

    I have hard time believing what you are saying. I can kill a high end blade server with a simple asp with just 50 concurrent users in flat 15 min.

    Oh, BTW do you know how much its going to cost you to by 1000 Vuser license ?

  17. Hey guys,

    i am new to the world of Load runner. Have worked quite a bit on Load Runner 8.0… i have some questions…please some one help me out with the answers…
    1) How many ways can we prepare a script in Load runner???
    2) Different recording modes in LR?
    3) if i have 5 users and each has to do 2 iterations with unique values then how many do i need to have in my data file??

    Please do lemme know where can i get more info..

    Reply will be appreciated…


  18. one more question is …i am not aware of the number of vusers that i can handle using one license of LR 8.1… can some body let me know on this as well?


  19. Hi,

    The interview questions posted by you is simply awesome and very much clear. I think these will be helpful for a person who is looking to learn loadrunner as well.. Hats off to you again.


  20. this is a good work done by manyak…but what i think is he need to explain more in detail like giving examples so that everybody can prepare in the interview point of view…

  21. Hi,
    Very useful information. Thank you.

    Plz provide the correct link where can I download

    trail version of win rnner and load runner.

  22. Query,We developed a tool and it can access local or remote Database.While accessing local DB its performance is good but while accessing remote DB after some time tool get hanged.At this point we are not bother of that its taking to access remote DB but major concern is that it should not hang.

    ANY solutions Please

  23. Hi Guys,

    Could someone please advise me on the below

    How long do I need to run the test for 1000 Vusers Simultaneously?

    Could someone explain the process? Does 1000 vusers really start simultaneously?


  24. If any one want to know more details about each and evry function of loadrunner just check the help file and try each functionality with Vugen.as it can supprot any number of user and u can also set the no of iteration and even you get the responce time but you cannot set the time duration.
    Question and answers good but i think instead of raising hand against the Mayank. Better explain each question in detail if you can

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s