Q1.
What Is Load runner?
Answer
:
Load
Runner accurately measure and analysis the system performance and its
functionality.
Q2.
When Load runner Is Used?
Answer
:
Load
runner is used to test applications when load sustaining is critical
for our project and the tool/application developed is expected to
work under heavy loads. In all cases, load testing manually is not
possible.
Q3.
What Is The Advantage Of Using Load runner?
Answer
:
-
load runner automatically records the performance of the client/server during test.
-
Load runner checks where performance delays occur network/client delays.
-
Load runner monitor the network and server resource to help the improve performance.
Q4.
What Is Load runner Controller?
Answer
:
Controller
is manage and maintain the scenario. using controller you control all
the vuser in single work station .
Q5.
What Are The Load runner Testing Process?
Answer
:
There
are 5 steps.
1-planning the test.
2-creating the vuser script.
3-creating the scenario.
4- running the scenario.
5-analysis the test result.
1-planning the test.
2-creating the vuser script.
3-creating the scenario.
4- running the scenario.
5-analysis the test result.
Q6.
What Is Load runner Agent?
Answer
:
Agent
is interface between host machine and controller.
Q7.
How You Load A Load runner Agent?
Answer
:
Controller
instruct the remote command luncher to lunch the Agent .
Q8.
What Is Load runner Api Function?
Answer
:
Data
base vuser do not operate client application. Using Load Runner API
function the database vuser can access the data from the server.
Q9.
What Is The Load runner Start-transaction And Its Syntax?
Answer
:
It
will start the transaction on the script. Syntax.
Lr-start-transaction("transaction name").
Q10.
What Is The Load runner End Transaction And Its Syntax?
Answer
:
It
will end the transaction. Syntax. Lr-end-transaction("transaction
name", LR-AUTO).
Q11.
What Protocols Does Load runner Support?
Answer
:
Industry
standard protocols for example HTTP and ODBC are explicitly supported
by Load Runner. Furthermore any protocol that communicates over a
windows socket can be supported.
Q12.
What Can I Monitor With Load runner?
Answer
:
Monitor
system bottlenecks during a test run and capture and display the
performance data from every server or component.
Q13.
How Many Users Can I Emulate With Load runner On A Pc?
Answer
:
Unlimited,
No dead end., Depends on system response. That too inturn depends on
various factors like entire system configuration etc. If system
bottle necks observes in very beginning or minimum no of Vusers no
further addition of vusers will be considered unless observed
bottleneck is resolved.
Q14.
What Are The Vuser Components In Load runner?
Answer
:
Application
Components used are client, database or additionally business
application server.
Web
Server works on and through LAN,WAN,or www connection.
Application
Server components are client, business server and database server
without use of www. but through Protocols like FTP.
Q15.
Load runner Function - How To Get Current System Time
Answer
:
This
function is developed to using Mercury Load Runner performance tool.
This main use of this functions to return the current system time at
any given point of time while Load Runner script is running. This
function can be used to report transaction times , script start time
and end time.
long get_secs_since_midnight(void)
{
char * curr_hr; /* pointer to a parameter with current clock hr *
char * curr_min; /* pointer to a parameter with current clock min*/
char * curr_sec; /* pointer to a parameter with current clock sec */
long current_time, /* current number of seconds since midnight */
hr_secs, /* current hour converted to secs */
min_secs, /* current minutes converted to secs */
secs_secs; /* current number of s curr_hr = lr_eval_string("{current_hr}>");
curr_min = lr_eval_string("{current_min}");
curr_sec = lr_eval_string("{current_sec}");
hr_secs = (atoi(curr_hr)) * 60 * 60;
min_secs = (atoi(curr_min)) * 60;
secs_secs = atoi(curr_sec);
current_time = hr_secs + min_secs + secs_secs;
return(current_time);
}
long get_secs_since_midnight(void)
{
char * curr_hr; /* pointer to a parameter with current clock hr *
char * curr_min; /* pointer to a parameter with current clock min*/
char * curr_sec; /* pointer to a parameter with current clock sec */
long current_time, /* current number of seconds since midnight */
hr_secs, /* current hour converted to secs */
min_secs, /* current minutes converted to secs */
secs_secs; /* current number of s curr_hr = lr_eval_string("{current_hr}>");
curr_min = lr_eval_string("{current_min}");
curr_sec = lr_eval_string("{current_sec}");
hr_secs = (atoi(curr_hr)) * 60 * 60;
min_secs = (atoi(curr_min)) * 60;
secs_secs = atoi(curr_sec);
current_time = hr_secs + min_secs + secs_secs;
return(current_time);
}
Q16.
What Are The Reasons Why Parameterization Is Necessary When Load
Testing The Web Server And The Database Server?
Answer
:
Parameterization
is generally done to test with multiple set of data or records.
Q17.
What Is Scenario?
Answer
:
A
scenario defines the events that occur during is testing session.
Exam (deposit cash, withdraw money…).
Q18.
What Is The Vuser In The Scenario?
Answer
:
Load
Runner replace the human user with vuser.
Q19.
What Is Vuser Script?
Answer
:
While
run a scenario every vuser execute a script that script known as
vuser script .
Q20.
What The Vuser Script Contain?
Answer
:
The
vuser script includes the function that measure and record the
performance of the server during the scenario.
Q21.
What Is Transaction?
Answer
:
Transaction
measure the time, which takes for the server to respond to task
submitted by the vuser.
Q22.
What Is Rendezvous Point?
Answer
:
To
emulate peak load on the server.
Q23.
When The Rendezvous Point Is Insert?
Answer
:
When
multiple vuser to perform tasks at exactly the same time then insert
the rendezvous point to emulate the peak load on the server.
Q24.
What Is Host?
Answer
:
Host
is machine which execute the vuser script.
Q25.
What Is Planning For The Test.
Answer
:
Define
the performance testing requirements for example no. of concurrent
users, typical business processes and required response time.
Q26.
What Do You Mean By Creating Vuser Script?
Answer
:
Creating
vuser script for emulate the action that virtual user Perform during
the scenario execution.
Q27.
What Are The Process For Developing A Vuser Script.
Answer
:
There
are 5 steps for developing a vuser script.
1-recording the vuser script .
2-edit the vuser script.
3-runtime setting .
4-run the vuser script in stand-alone mode.
5-incorporate the vuser script into a Load Runner scenario.
1-recording the vuser script .
2-edit the vuser script.
3-runtime setting .
4-run the vuser script in stand-alone mode.
5-incorporate the vuser script into a Load Runner scenario.
Q28.
How To Create A Scenario?
Answer
:
We
have to install Load Runner controller to the host . Then we include
list of host(where vuser script execute) then list of vuser script
(where vuser run) and then list of vuser that run during the
scenario.
Q29.
What Do You Mean By Remote Command Launcher(rcl)?
Answer
:
Rcl
enables the controller to start the application on the Host machine .
Q30.
How Many Types Of Vuser Are Available?
Answer
:
There
are several type of vuser(GUI ,Database ,RTE(terminal emulator), SAP,
DCOME, People soft, java, Baan)
Q31.
What Is Gui Vuser And On Which Platform It Will Run?
Answer
:
GUI
vuser operate graphical user interface application and it can run in
either the MS-Windows / X-Windows environment .
Q32.
What Is Ms-windows?
Answer
:
WinRunner
used for MS-Window application .
Q33.
What Is X-windows?
Answer
:
X-runner
and VX-runner for X-Windows application.
Q34.
How You Develop The Database Vuser Script?
Answer
:
Developing
the database vuser script either by recording with Load Runner vuser
script generator (VuGen) or by using Load Runner vuser script
template.
Q35.
How Many Section Database Vuser Script Have?
Answer
:
3
section ,written in code that assemble in C, SQL call to the
database, written in TSL(test script language).
Q36.
How You Enhance The Basic Script?
Answer
:
By
adding control-flow, structure, by inserting transaction point and
rendezvous point, adding functions.
Q37.
What Is Run-time-setting?
Answer
:
Run-time-setting
include loop,log and timing information.
Q38.
What Is Stand-alone Mode?
Answer
:
To
verify that the script runs correctly.
Q39.
What Type Of Function Generate And Insert By The Vugen To The Script
When You Record A Script?
Answer
:
1-LR
Function.(vuser function)
2- protocol function.
2- protocol function.
Q40.
What Is Lr-function?
Answer
:
obtain
the information about vuser running in a scenario .
Q41.
What Is Protocol Function?
Answer
:
Obtain
the information about the type of vuser.
Q42.
What Are The Section Contain By The Vugen While Creating A Vuser
Script?
Answer
:
Vugen
contain the 3 section .
1-vuser-init
2-action.
3-vuser-end.
1-vuser-init
2-action.
3-vuser-end.
Q43.
What Is Vuser-init Section?
Answer
:
Record
a log in to the server(vuser initialize loaded).
Q44.
What Is Action Section?
Answer
:
Record
the client activity .
Q45.
What Is Vuser-end Section?
Answer
:
Record
a log off in to the server (vuser stoped).
Q46.
How Vugen Create A Vuser Script?
Answer
:
By
recording the activity between client and server.
Q47.
How You Edit The Script?
Answer
:
While
editing the script we have to inserting the transaction point and
rendezvous point.
Q48.
Where You Insert The Rendezvous Point?
Answer
:
Rendezvous
point insert in to the script to calculate the peak load of the
server.
Syntax:
lr-rendezvous
("rendezvous name").
Q49.
What Are The Element In The Load Runner Controller?
Answer
:
Title
bar(name of the scenario presently working). Menu bar(selecting the
various command). Tool bar. Status bar.
Q50.
What Are The 5 Icons Appear In The Bottom Of The Controller Windows?
Answer
:
1-host
windows(list of machine).
2-script windows(list of all the vuser script)
3-rendezvous windows.
4-transaction windows(display all the transaction) .
5-output window( display error and notification message).
2-script windows(list of all the vuser script)
3-rendezvous windows.
4-transaction windows(display all the transaction) .
5-output window( display error and notification message).
Excellent
ReplyDelete