SlideShare une entreprise Scribd logo
1  sur  5
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 load
test 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 by
emulating actions of actual human users in a repeatable and predictable manner.

Virtual User Generator module of LoadRunner commonly known as VuGen creates artificial users
for us and records our all actions in the form of automated scripts. VuGen works on the principle
of record and playback.

Systematic steps to record an application using VuGen Module of LoadRunner are as
under:

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 the
Launcher 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 left
pane of the dialog box:

a) Select single protocol script - make a selection from the Category list and select one of the
protocols.

b) Select multiple protocol script - to record more than one protocols in a single recording
session. Select the desired protocol from the Available Protocols list. Click the right-pointing
arrow to move the selection into the Selected Protocols list. Repeat the step to select all the
desired protocols.

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 is
created.

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 little
bit for different protocols.

Step – 7: Filling up the information pertaining to Non Internet Applications in the following
Dialog Box
a) For “Application type”: Select Win32 Applications or Internet Applications, e.g. Web and
Oracle NCA scripts record Internet Applications, while Windows Socket Vusers records a Win32
application.

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 specified
above; e.g. if we specify “abc32.exe” with the command line options “genius@xyz”, it connects
the user Genius to the server “xyz” when starting “abc32.exe”.

d) For “Working Directory”: This information is needed for some specific applications requiring
us to specify a working directory.

Step – 8: Filling up the information pertaining to Internet Applications in the following
Dialog Box




a) 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 requiring
us to specify a working directory. This information may differ among different types of Vuser
scripts.

Fill up the information of program to record, the working directory, the Action & set the recording
options by clicking “Options”.

Step – 9: Filling up the information pertaining to “Record into Action” box: Here we need to
select the section where we want to record.

Sections available here by default are: vuser_init, Action, and vuser_end. However we can add a
new section by clicking “Actions” > “Create New Action” and describe a new action name.

Step – 10: Recording the application startup: This step is not recommended under the
following situations:

a) When recording multiple actions, needing performing the startup in one action only.

b) When we want to navigate to a specific point in the application before starting to record.

c) While recording into an existing script.

d) This step is not applicable to Java type Vuser scripts.

However when there is a need to record the application startup; Click “Record the application
startup”. When we do not want VuGen to record the application startup, clear the check box.

Step – 11: Filling up the information pertaining to Recording Options: C lic k “Options”
button or the Recording Options button to open the “Recording options” dialog box and define the
recording options. According to the recorded protocol the available options may differ.



Step – 12: Defining the scripting options: Click the “Script” tab for selecting the language for code
generation and for setting the scripting options.


Step – 13: Defining the port information: Needed when recording SSL applications on a non-
standard port. Review the list of ports. If the port we are using is not in the list, we can specify the
information using the Port Mapping options.


Click the “Port Mapping” tab for setting the port related information.


Step – 14: Manage Protocols in case of multi-protocol recording: For editing the list of protocols
needed to be recorded; click “Protocol” tab. Expand the node and select the desired protocols.
Step – 15: Click “OK” to close the dialog box and start the recording. VuGen starts the application and
the Recording toolbar opens.




Perform the desired actions within the application, which need to be recorded. VuGen automatically fills
in the selected action section of the Vuser script.


For switching between sections during the recording we can use the floating toolbar.



In case of recording a password-protected application, VuGen will prompt us to enter a user name and
password.


Step – 16: Completing the recording session:

a) Switch to the vuser_end section in the floating toolbar.

b) Click the “Stop Recording” button on the Recording toolbar.

c) Click “Save” to save the recorded session.


Tutorial by :
http://www.softwaretestinggenius.com

Contenu connexe

Tendances

Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And Maven
PerconaPerformance
 
Performance testing by optimus information inc
Performance testing by optimus information incPerformance testing by optimus information inc
Performance testing by optimus information inc
Optimus Information Inc.
 
Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6
Srimanta Kumar Sahu
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
Kuldeep Sharma
 

Tendances (20)

Loadrunner Interview quetion & answers
Loadrunner Interview quetion & answersLoadrunner Interview quetion & answers
Loadrunner Interview quetion & answers
 
Quick guide to plan and execute a load test
Quick guide to plan and execute a load testQuick guide to plan and execute a load test
Quick guide to plan and execute a load test
 
Apache jMeter
Apache jMeterApache jMeter
Apache jMeter
 
JMeter Database Performace Testing - Keytorc Approach
JMeter Database Performace Testing - Keytorc ApproachJMeter Database Performace Testing - Keytorc Approach
JMeter Database Performace Testing - Keytorc Approach
 
Testing Soap/Rest Web Services with JMeter
Testing Soap/Rest Web Services with JMeterTesting Soap/Rest Web Services with JMeter
Testing Soap/Rest Web Services with JMeter
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And Maven
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solution
 
Performance testing by optimus information inc
Performance testing by optimus information incPerformance testing by optimus information inc
Performance testing by optimus information inc
 
J meter introduction
J meter introductionJ meter introduction
J meter introduction
 
Cloud Performance Testing with LoadRunner
Cloud Performance Testing with LoadRunnerCloud Performance Testing with LoadRunner
Cloud Performance Testing with LoadRunner
 
Learning j meter in 60 minutes
Learning j meter in 60 minutesLearning j meter in 60 minutes
Learning j meter in 60 minutes
 
Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
 
Web service testing using QTP (UFT)
Web service testing using QTP (UFT)Web service testing using QTP (UFT)
Web service testing using QTP (UFT)
 
Performance testing with Apache JMeter
Performance testing with Apache JMeterPerformance testing with Apache JMeter
Performance testing with Apache JMeter
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
How to Record Scripts in JMeter? JMeter Script Recording Tutorial | Edureka
How to Record Scripts in JMeter? JMeter Script Recording Tutorial | EdurekaHow to Record Scripts in JMeter? JMeter Script Recording Tutorial | Edureka
How to Record Scripts in JMeter? JMeter Script Recording Tutorial | Edureka
 
Jenkins/Jmeter Configuration - Colombo Performance Test Meetup - 2016 April
Jenkins/Jmeter Configuration - Colombo Performance Test Meetup - 2016 AprilJenkins/Jmeter Configuration - Colombo Performance Test Meetup - 2016 April
Jenkins/Jmeter Configuration - Colombo Performance Test Meetup - 2016 April
 
O - Oracle application testing suite test starter kits for oracle e business ...
O - Oracle application testing suite test starter kits for oracle e business ...O - Oracle application testing suite test starter kits for oracle e business ...
O - Oracle application testing suite test starter kits for oracle e business ...
 
Gatling & LoadUI - Open Source Tools For Preformance Testing
Gatling & LoadUI - Open Source Tools For Preformance TestingGatling & LoadUI - Open Source Tools For Preformance Testing
Gatling & LoadUI - Open Source Tools For Preformance Testing
 

Similaire à Hp Load Runner Tutorial 1 How Do We Record An Application Using Load Runner

Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
topomax
 

Similaire à Hp Load Runner Tutorial 1 How Do We Record An Application Using Load Runner (20)

Containers Lab
Containers Lab Containers Lab
Containers Lab
 
LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing tool
 
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
 
Details Description of Load Runner Recording option
Details Description of  Load Runner Recording optionDetails Description of  Load Runner Recording option
Details Description of Load Runner Recording option
 
OPEN STA
OPEN STAOPEN STA
OPEN STA
 
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
 
Debugging programs with Keil uVision
Debugging programs with Keil uVisionDebugging programs with Keil uVision
Debugging programs with Keil uVision
 
Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4
 
Build your first rpa bot using IBM RPA automation
Build your first rpa bot using IBM RPA automationBuild your first rpa bot using IBM RPA automation
Build your first rpa bot using IBM RPA automation
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hours
 
How to work with code blocks
How to work with code blocksHow to work with code blocks
How to work with code blocks
 
02 getting start with android app development
02 getting start with android app development02 getting start with android app development
02 getting start with android app development
 
Neoload overview
Neoload overviewNeoload overview
Neoload overview
 
testproject-210523182343.pdf
testproject-210523182343.pdftestproject-210523182343.pdf
testproject-210523182343.pdf
 
Introduction to "TestProject" tool and first testcase with TestProject
Introduction to "TestProject" tool and first testcase with TestProjectIntroduction to "TestProject" tool and first testcase with TestProject
Introduction to "TestProject" tool and first testcase with TestProject
 
web application.pptx
web application.pptxweb application.pptx
web application.pptx
 
Homestead demo
Homestead demoHomestead demo
Homestead demo
 
vb.pptx
vb.pptxvb.pptx
vb.pptx
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdf
 

Plus de Yogindernath Gupta

ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
Yogindernath Gupta
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniques
Yogindernath Gupta
 

Plus de Yogindernath Gupta (20)

Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB Certifications
 
Learn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation ExamLearn Software Testing for ISTQB Foundation Exam
Learn Software Testing for ISTQB Foundation Exam
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8ISTQB Advanced Study Guide - 8
ISTQB Advanced Study Guide - 8
 
ISTQB Advanced Study Guide - 7
ISTQB Advanced Study Guide - 7ISTQB Advanced Study Guide - 7
ISTQB Advanced Study Guide - 7
 
ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6ISTQB Advanced Study Guide - 6
ISTQB Advanced Study Guide - 6
 
ISTQB Advanced Study Guide - 5
ISTQB Advanced Study Guide - 5ISTQB Advanced Study Guide - 5
ISTQB Advanced Study Guide - 5
 
ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4ISTQB Advanced Study Guide - 4
ISTQB Advanced Study Guide - 4
 
ISTQB Advanced Study Guide - 3
ISTQB Advanced Study Guide - 3ISTQB Advanced Study Guide - 3
ISTQB Advanced Study Guide - 3
 
ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2ISTQB Advanced Study Guide - 2
ISTQB Advanced Study Guide - 2
 
ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1ISTQB Advanced – Study Guide -1
ISTQB Advanced – Study Guide -1
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniques
 
Knowledge Levels In Certifications
Knowledge Levels In CertificationsKnowledge Levels In Certifications
Knowledge Levels In Certifications
 
Design Review & Software Testing
Design Review & Software TestingDesign Review & Software Testing
Design Review & Software Testing
 
Software Development Life Cycle - SDLC
Software Development Life Cycle - SDLCSoftware Development Life Cycle - SDLC
Software Development Life Cycle - SDLC
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Hp Load Runner Tutorial 1 How Do We Record An Application Using Load Runner

  • 1. 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 load test 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 by emulating actions of actual human users in a repeatable and predictable manner. Virtual User Generator module of LoadRunner commonly known as VuGen creates artificial users for us and records our all actions in the form of automated scripts. VuGen works on the principle of record and playback. Systematic steps to record an application using VuGen Module of LoadRunner are as under: 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 the Launcher 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.
  • 2. Step – 4: Making a choice out of single protocol script or Multiple protocol script from the left pane of the dialog box: a) Select single protocol script - make a selection from the Category list and select one of the protocols. b) Select multiple protocol script - to record more than one protocols in a single recording session. Select the desired protocol from the Available Protocols list. Click the right-pointing arrow to move the selection into the Selected Protocols list. Repeat the step to select all the desired protocols. 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 is created. 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 little bit for different protocols. Step – 7: Filling up the information pertaining to Non Internet Applications in the following Dialog Box
  • 3. a) For “Application type”: Select Win32 Applications or Internet Applications, e.g. Web and Oracle NCA scripts record Internet Applications, while Windows Socket Vusers records a Win32 application. 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 specified above; e.g. if we specify “abc32.exe” with the command line options “genius@xyz”, it connects the user Genius to the server “xyz” when starting “abc32.exe”. d) For “Working Directory”: This information is needed for some specific applications requiring us to specify a working directory. Step – 8: Filling up the information pertaining to Internet Applications in the following Dialog Box a) 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 requiring us to specify a working directory. This information may differ among different types of Vuser
  • 4. scripts. Fill up the information of program to record, the working directory, the Action & set the recording options by clicking “Options”. Step – 9: Filling up the information pertaining to “Record into Action” box: Here we need to select the section where we want to record. Sections available here by default are: vuser_init, Action, and vuser_end. However we can add a new section by clicking “Actions” > “Create New Action” and describe a new action name. Step – 10: Recording the application startup: This step is not recommended under the following situations: a) When recording multiple actions, needing performing the startup in one action only. b) When we want to navigate to a specific point in the application before starting to record. c) While recording into an existing script. d) This step is not applicable to Java type Vuser scripts. However when there is a need to record the application startup; Click “Record the application startup”. When we do not want VuGen to record the application startup, clear the check box. Step – 11: Filling up the information pertaining to Recording Options: C lic k “Options” button or the Recording Options button to open the “Recording options” dialog box and define the recording options. According to the recorded protocol the available options may differ. Step – 12: Defining the scripting options: Click the “Script” tab for selecting the language for code generation and for setting the scripting options. Step – 13: Defining the port information: Needed when recording SSL applications on a non- standard port. Review the list of ports. If the port we are using is not in the list, we can specify the information using the Port Mapping options. Click the “Port Mapping” tab for setting the port related information. Step – 14: Manage Protocols in case of multi-protocol recording: For editing the list of protocols needed to be recorded; click “Protocol” tab. Expand the node and select the desired protocols.
  • 5. Step – 15: Click “OK” to close the dialog box and start the recording. VuGen starts the application and the Recording toolbar opens. Perform the desired actions within the application, which need to be recorded. VuGen automatically fills in the selected action section of the Vuser script. For switching between sections during the recording we can use the floating toolbar. In case of recording a password-protected application, VuGen will prompt us to enter a user name and password. Step – 16: Completing the recording session: a) Switch to the vuser_end section in the floating toolbar. b) Click the “Stop Recording” button on the Recording toolbar. c) Click “Save” to save the recorded session. Tutorial by : http://www.softwaretestinggenius.com