Tuesday, November 20, 2012

All LR Questions

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?
.lrr
Which language LoadRunner uses?
ANSI C
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?
web_reg_save_param
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?
lr_think_time
What’s the Elasped Time?
It’s total time take since request is set and obtained the result.