Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
HP Load Runner Tutorial 1 How Do We Record an Application Using Load Runner

HP Load Runner Tutorial 1 How Do We Record an Application Using Load Runner

Ratings:

4.0

(2)
|Views: 24 |Likes:
Published by Irfan

More info:

Published by: Irfan on Aug 06, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

08/06/2009

pdf

text

original

 
HP - LoadRunner Tutorial - 1: How do we record an application using LoadRunner?First of all let us try to quickly understand the Load Testing:
While aiming to perform a loadtest of an application; we use
 
LoadRunner to replace the human users with virtual users (called“Vusers”) on the actual machines. These Vusers impose artificially created load on the system byemulating actions of actual human users in a repeatable and predictable manner.Virtual User Generator module of LoadRunner commonly known as VuGen creates artificial usersfor us and records our all actions in the form of automated scripts. VuGen works on the principleof record and playback.
Systematic steps to record an application using VuGen Module of LoadRunner are asunder:Step – 1: Starting of the LoadRunner:
Select
“Start” > “Programs” > “LoadRunner” >“LoadRunner”.
Following LoadRunner launcher window pops up.
Step – 2: Starting of the VuGen Module of LoadRunner:
Click the
“Load Testing”
tab, In theLauncher window.Further, click on the very first option
“Create/Edit Scripts”
to launch the following Start Page of VuGen module.
Step – 3: Creation of a new Script:
Under the
“Scripts”
tab in the VuGen Start Page, click
“New Vuser Script”
to open the following
 
“New Virtual User” dialog box
.
 
Step – 4:
Making a choice out of single protocol script or Multiple protocol script from the leftpane of the dialog box:
a) Select single protocol script
- make a selection from the Category list and select one of theprotocols.
b) Select multiple protocol script
- to record more than one protocols in a single recordingsession. Select the desired protocol from the Available Protocols list. Click the right-pointing arrowto move the selection into the Selected Protocols list. Repeat the step to select all the desiredprotocols.
Step – 5:
Close the
“New Virtual User”
dialog box by Clicking
“OK”.
 
Step – 6:
Start the process of recording various events into the Vuser script.a) Generally VuGen automatically opens the
“Start Recording”
dialog box when a new script iscreated.b) Alternately click the
“Start Record”
button in the Toolbar at the top of the page to open the
“Start Recording”
dialog box. The
“Start Recording”
dialog box may appear differently a littlebit for different protocols.
Step – 7: Filling up the information pertaining to Non Internet Applications in the followingDialog Box
 
a) For “Application type”:
Select Win32 Applications or Internet Applications, e.g. Web andOracle NCA scripts record Internet Applications, while Windows Socket Vusers records a Win32application.
b) For “Program to record”:
Enter the Win 32 application to record.
c) For “Program Arguments”:
Enter the command line arguments for the EXE file specifiedabove; e.g. if we specify
“abc
32.exe” 
 
with the command line options
“genius@xyz”,
it connectsthe user Genius
 
to the server 
“xyz”
 
when starting
“abc
32.exe” 
.d) For “Working Directory”:
This information is needed for some specific applications requiringus to specify a working directory.
Step – 8: Filling up the information pertaining to Internet Applications in the followingDialog Boxa) For “Application type”:
Select Internet Applications.
b) For “Program to record”:
Select the browser or Internet application to record.
c) For “URL Address”:
Specify the starting URL address.
d) For “Working Directory”:
This information is needed for some specific applications requiringus to specify a working directory. This information may differ among different types of Vuser 

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->