SlideShare a Scribd company logo
SimplerecordingandConfigurationof
RecordingoptionsforHP
LoadRunner
The LoadRunner Solution
Virtual User Generator
Generates load
and collects test results
Creates Scripts as one
Single User.
Compiles and displays
test results with
graphical and statistical tools
LoadRunner Controller
LoadRunner Analysis
LoadRunner Terminology
• Scenarios
• Using LoadRunner, you divide your application performance testing
requirements into scenarios.
• A scenario defines the events that occur during each testing sessions.
• For example, a scenario defines and controls the number of users to emulate,
the actions that they perform, and the machines on which they run their
emulations.
• Vusers
• In a scenario, LoadRunner replaces human users with virtual users or Vusers.
• When you run a scenario, Vusers emulate the actions of human users—
submitting input to the server.
• A scenario can contain tens, hundreds, or even thousands of Vusers.
3
Contd….
LoadRunner Terminology
4
• Vuser Scripts
• The actions that a Vuser performs during the scenario are
described in a Vuser script.
• When you run a scenario, each Vuser executes a Vuser script.
Vuser scripts include functions that measure and record the
performance of the server during the scenario.
• Transactions
• To measure the performance of the server, you define
transactions.
• Transactions measure the time that it takes for the server to
respond to tasks submitted by Vusers.
Contd….
LoadRunner Terminology
5
• Rendezvous Points
• You insert rendezvous points into Vuser scripts to emulate heavy user
load on the server.
• Rendezvous points instruct multiple Vusers to perform tasks at exactly
the same time.
• For example, to emulate peak load on the bank server, you insert a
rendezvous point to instruct 100 Vusers to simultaneously deposit cash
into their accounts.
• Controller
• You use the LoadRunner Controller to manage and maintain your
scenarios.
• Using the Controller, you control all the Vusers in a scenario from a single
workstation.
Contd….
LoadRunner Terminology
6
• Hosts
• When you execute a scenario, the LoadRunner Controller distributes
each Vuser in the scenario to a host.
• The host is the machine that executes the Vuser script, enabling the
Vuser to emulate the actions of a human user.
• Performance Analysis
• Vuser scripts include functions that measure and record system
performance during load-testing sessions.
• During a scenario run, you can monitor the network and server
resources.
• Following a scenario run, you can view performance analysis data in
reports and graphs.
LoadRunner Components
7
ControllerVuGen
Analysis
LoadRunner
Tuning
Contd….
Components of LoadRunner 12.02.0
8
• VuGen (Virtual User Generator) – records Vuser
Scripts that emulate the steps of real Users using the
application
• The Controller is an administrative center for
creating, maintaining, and executing scenarios.
Starts and stops load tests, and perform other
Administrative tasks
Contd….
Components of LoadRunner 12.02.0
9
• LR Analysis uses the load test results to create graphs and
reports that are used to correlate system information and
identify both bottlenecks and performance issues.
• Tuning helps you quickly isolate and resolve performance
bottlenecks. By adding a centralized tuning console to
LoadRunner, the Mercury Tuning Module ensures that
performance bottlenecks are resolved during testing, and helps
you determine the optimized configuration settings for
production.
How LoadRunner Works?
LoadRunner Expert Workflow
Tune
System Based
on Analysis
Analyze
System
Under Load
Phase 5
LoadRunner
V U G E N
LoadRunner
C O N T R O L L E R &
A N A L Y S I S
Run
Scenarios
Phase 4
Create
Scenarios
Phase 3
Create Web
Virtual Users
Phase 2Phase 1
Plan Load
Test
Plan Load Test
Identify Business Critical Scenarios. Scenario means a manual
work flow. Ex: Login  Open an Account  Logout.
Estimate User Load
Performance Testing requirements will give an idea of users
load or the number of users using the product. This will
determine the load to be used against the product in testing.
Work Load:
Ex: 100 user Running together. Of this 60 users book a
Browse a website. 30 users search a product and 10 users buy
the Product.
What is Virtual User (Vuser)?
• Virtual users or Vusers emulate the steps of
real users. The steps that Vusers perform are
recorded in a Vuser Script.
What is VuGen (Virtual User Generator)?
• VuGen records Vuser Scripts that emulate the steps
of real users using the application
• VuGen not only records Vuser scripts, but also runs
them. Running scripts from VuGen is useful for
debugging
• VuGen records sessions on Windows platforms
only. However, a recorded Vuser script can run on
both Windows and UNIX platform.
Process of Recording Script
• Record a basic script
• Enhance the basic script by adding the control-flow
statements and other Mercury API functions into the
Script
• Configure the Run-time settings
• Verify that the script runs correctly, run it in stand-
alone mode
• Integrate into your test : a LoadRunner scenario,
Performance Centre load test, Tuning module session,
Business process monitor profile
VuGen
What We can Do?
 Set up recording options
 Record the scripts
 Add Comments
 Insert Start and End Transactions
 Perform Correlation
 Add Checks
 Add C programming Statements wherever required.
 Insert Load Runner Functions if required.
 Do Parameterization.
 Add Rendezvous Point
 Create Multiple actions If required.
 Perform Run Time Settings
Welcome Screen - VuGen
17
Single Protocol Script Multiple Protocol Script
Creates a single protocol
Vuser script. This is the
default option
Creates a multiple protocol Vuser
script. VuGen displays all of the
available protocols and allows
you to specify which protocols to
record
Vuser Script Sections
18
• Each Vuser script contains at least three sections:
• vuser_init
• one or more Actions and
• vuser_end.
the Vuser finishes or is
stopped
a logoff procedurevuser_end
the Vuser is in "Running"
status
client activityActions
the Vuser is initialized
(loaded)
a login to a servervuser_init
Is executed when...Used when recording...Script Section
VuGen Editor
19
Recording Options
Whenever VUGen generates a script, the code
generated is based on various configurations
that can be found under the “Recording
Options” – or you can press Ctrl + F7 to view
the Recording Options
Recording Options
21
There are various categories of configurations like General,
Correlations, Network and Data Format Extension.
General => Recording:
22
1.The HTML-based script is based on user actions, and
the scripts contain functions that correspond directly to
the action taken.
2.The URL-based script is based on HTTP requests sent
to the server as a result of user actions
Benefits of HTML Recording
Advantages of HTML Recording
Reduces need to capture dynamic values
- Action tag values and hidden data are NOT hardcoded
- They are retrieved from memory during playback
- If they are dynamic, the VUser still run Script is only as big as
the business process–one step per page
Disadvantages of HTML Recording
- requires more memory
- requires more CPU power
24
Benefits of URL Recording
Advantages of URL recording
-Flexibility- Support for Java Applets and ActiveX objects on the
page
- Ability to replay on UNIX
- Scripts are more scalable than HTML scripts because they
require fewer resources
Disadvantages of URL recording
Scripts require more correlation (nothing is retrieved from the
cache)
Context-sensitive checks won’t work (parser is disabled)
Scripts are large (all images and frames are recorded as separate
steps)
25
Difference between
HTML Mode and URL Mode
HTML Mode
• Intuitive and easy to understand
• Scripts are smaller, requests are
encapsulated and easy to
understand
• Scalable
URL Mode
• Not as intuitive as the HTML
scripts.
• Scripts are large, containing a call
to each image, css, html, etc. thus
making it difficult to understand.
• More scalable and effective for
creating a load test
26
General => Script:
27
Does load runner understand any
other language-
 You’ll notice that Language dropdown is disabled. A common myth is that the
LoadRunner does not generate code in any other language. Another myth is
that it requires a license to work in other languages.
 Both are false. LoadRunner decides for itself which language to use when
generating the script. In almost all cases, you’ll find yourself working with C
Language.
 For certain java applications (like Java applets) the code being generated will
be in Java Script Language.
 VUGen will generate a script in VBScript Language only for applications
developed in Visual Basic classic
28
Scripting Options
 “Generate fixed think time after end transaction”. This means, no
matter how much a user wait, the think time generated (the
delay) will be equal to value specified. The value is in seconds.
 Maximum number of lines in the action file refers to the
maximum number of lines VUGen will generate in an action. If
the script is larger, VUGen will automatically create a new action.
The default is set to 60,000. The maximum value which can be
specified is 65,000
 This configuration helpful when dealing with a desktop
application with Oracle on the backend.
29
General => Protocol
Gives you an option to select and deselect any protocols you’ve selected at
the start of recording (In case wrongly selected) 30
General => Code Generation:
This configuration tells VUGen to find candidates for correlation at record time. If you do
not wish for Automatic Correlation, then you might wish to turn off this feature
31
Correlation => Configuration:
• Although automatic correlation
is helpful from 5% to 10%
only, yet you can select “Rules
Scan” and “Automatically
correlate values found”.
However, if your script doesn’t
play, you can consider
restoring to defaults by
clicking on button.
32
Correlation => Rules:
• Go to Rules, and here you can
see various rules VUGen is
using to find correlation
Parameters. You can add
custom rules if you know what
your application is using as
parameters. However, this is an
advanced use of record time
settings.
33
HTTP Properties => Advanced:
 Reset context for each action,
enabling this option instructs
VUGen to reset all HTP contexts
between actions to their initial state
before recording, providing a clean
beginning for the recording session.
The option is enabled by default.
 You can leave the rest of
configurations intact, unless
required
34
Network => Port Mapping:
• Go to Options (as long as you’re not using Socket level data) and
select various options like SSL version or other types of Secure
Socket Layer
35
Other Settings-
• This option will be used in
case of specific projects
36
Recording Your Application
37
• Click the Start Recording Button
• For most Client / Server protocols, the following Screen opens
• Recording Tool Bar (Floating Tool Bar)
Ending and Saving a Recording Session
To complete the recording:
• After you record a typical business process, you complete the
recording session by performing the closing steps of your business
process and saving the Vuser script.
• Switch to the vuser_end section in the floating toolbar, and perform
the log off or cleanup procedure.
• Click the stop Recording button on the recording Tool Bar
38

More Related Content

PDF
LoadRunner Performance Testing
PPTX
QSpiders - Introduction to HP Load Runner
PPT
Advanced Load Runner
PPT
Performance testing using hp load runner
PPTX
Load Runner
PPTX
Performance Testing using LoadRunner
PPT
PPT
Hp Loadrunner
LoadRunner Performance Testing
QSpiders - Introduction to HP Load Runner
Advanced Load Runner
Performance testing using hp load runner
Load Runner
Performance Testing using LoadRunner
Hp Loadrunner

What's hot (20)

PPTX
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
PPT
Performance testing with loadrunner by kc
PPT
Loadrunner presentation
PPTX
QSpiders - Introduction to Performance Testing
PPTX
Cloud Performance Testing with LoadRunner
PPTX
Performance and Load Testing
PDF
Load testing with Blitz
PPTX
Introduction to Performance Testing & Loadrunner
PDF
Performance Test Plan - Sample 2
PPTX
QSpiders - Introduction to JMeter
PDF
Load and Performance Testing for J2EE - Testing, monitoring and reporting usi...
PPT
Performance and load testing
PPT
Performance Testing
PDF
LoadRunner walkthrough
PPTX
Types of performance testing
PPTX
Performance Testing Using VS 2010 - Part 1
PPT
Performance Testing With Loadrunner
PPTX
Software Testing includes Performance testing with Load Runner and the JMeter
PPT
Performance Testing Overview
PDF
How to start performance testing project
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Performance testing with loadrunner by kc
Loadrunner presentation
QSpiders - Introduction to Performance Testing
Cloud Performance Testing with LoadRunner
Performance and Load Testing
Load testing with Blitz
Introduction to Performance Testing & Loadrunner
Performance Test Plan - Sample 2
QSpiders - Introduction to JMeter
Load and Performance Testing for J2EE - Testing, monitoring and reporting usi...
Performance and load testing
Performance Testing
LoadRunner walkthrough
Types of performance testing
Performance Testing Using VS 2010 - Part 1
Performance Testing With Loadrunner
Software Testing includes Performance testing with Load Runner and the JMeter
Performance Testing Overview
How to start performance testing project
Ad

Similar to QSpiders - Simple Recording and Configuration of recording options for HP Load Runner (20)

PPT
advanced_load_runner.ppt
PPTX
Load Runner
DOCX
Loadrunner interview questions and answers
PPTX
PERFORMANCE TESTING USING LOAD RUNNER
DOCX
Load Runner Online Training
PPT
Mercury load runner
PPT
Load runner 8.0
PPT
Quick guide to plan and execute a load test
PDF
Loadrunner Onloine Training
PDF
Lrpc training
PDF
Top 20 LoadRunner Interview Questions and Answers in 2023.pdf
PDF
Load runner12.00 tutorial
PPTX
Loadrunner Interview quetion & answers
DOC
Loadrunner Online Training
PDF
Load runner
PPSX
HP LoadRunner
PDF
1. PERFORMANCE TESTING ON WEB APPLICATION THROUGH HP LOAD1
PDF
1. performance testing on web application through hp load1
DOCX
Seminar report
PPT
Performance testing material
advanced_load_runner.ppt
Load Runner
Loadrunner interview questions and answers
PERFORMANCE TESTING USING LOAD RUNNER
Load Runner Online Training
Mercury load runner
Load runner 8.0
Quick guide to plan and execute a load test
Loadrunner Onloine Training
Lrpc training
Top 20 LoadRunner Interview Questions and Answers in 2023.pdf
Load runner12.00 tutorial
Loadrunner Interview quetion & answers
Loadrunner Online Training
Load runner
HP LoadRunner
1. PERFORMANCE TESTING ON WEB APPLICATION THROUGH HP LOAD1
1. performance testing on web application through hp load1
Seminar report
Performance testing material
Ad

More from Qspiders - Software Testing Training Institute (20)

PPS
QSpiders - Unix Operating Systems and Commands
PPS
QSpiders - Variable Length-Subnet-Masks
PPS
QSpiders - Upper layer-protocols
PPTX
QSpiders - Day1 Network Basics
PPTX
QSpiders - Aptitude Assignments
PPTX
PPTX
QSpiders - Chapter 7 Debugging
PPTX
QSpiders - Chapter 4 Checkpoints
PPTX
QSpiders - Wonderlic Sample Question
PPTX
QSpiders - Chapter- 3 Synchronization point
PPTX
QSpiders - Presentation JMeter
PPTX
QSpiders - Memory (JVM architecture)
PPTX
QSpiders - Jdk Jvm Jre and Jit
PPTX
QSpiders - Simple replay and run time settings Loadrunner
PPTX
PPTX
QSpiders - Interacting with My SQL Database
PPT
QSpiders - Automation using Selenium
PPTX
QSpiders - Server Architecture
PPTX
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Unix Operating Systems and Commands
QSpiders - Variable Length-Subnet-Masks
QSpiders - Upper layer-protocols
QSpiders - Day1 Network Basics
QSpiders - Aptitude Assignments
QSpiders - Chapter 7 Debugging
QSpiders - Chapter 4 Checkpoints
QSpiders - Wonderlic Sample Question
QSpiders - Chapter- 3 Synchronization point
QSpiders - Presentation JMeter
QSpiders - Memory (JVM architecture)
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Simple replay and run time settings Loadrunner
QSpiders - Interacting with My SQL Database
QSpiders - Automation using Selenium
QSpiders - Server Architecture
QSpiders - Installation and Brief Dose of Load Runner

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Classroom Observation Tools for Teachers
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Cell Structure & Organelles in detailed.
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharma ospi slides which help in ospi learning
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Week 4 Term 3 Study Techniques revisited.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Microbial diseases, their pathogenesis and prophylaxis
102 student loan defaulters named and shamed – Is someone you know on the list?
human mycosis Human fungal infections are called human mycosis..pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
TR - Agricultural Crops Production NC III.pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Classroom Observation Tools for Teachers
Module 4: Burden of Disease Tutorial Slides S2 2025
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Cell Structure & Organelles in detailed.
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
STATICS OF THE RIGID BODIES Hibbelers.pdf
Complications of Minimal Access Surgery at WLH
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharma ospi slides which help in ospi learning

QSpiders - Simple Recording and Configuration of recording options for HP Load Runner

  • 2. The LoadRunner Solution Virtual User Generator Generates load and collects test results Creates Scripts as one Single User. Compiles and displays test results with graphical and statistical tools LoadRunner Controller LoadRunner Analysis
  • 3. LoadRunner Terminology • Scenarios • Using LoadRunner, you divide your application performance testing requirements into scenarios. • A scenario defines the events that occur during each testing sessions. • For example, a scenario defines and controls the number of users to emulate, the actions that they perform, and the machines on which they run their emulations. • Vusers • In a scenario, LoadRunner replaces human users with virtual users or Vusers. • When you run a scenario, Vusers emulate the actions of human users— submitting input to the server. • A scenario can contain tens, hundreds, or even thousands of Vusers. 3 Contd….
  • 4. LoadRunner Terminology 4 • Vuser Scripts • The actions that a Vuser performs during the scenario are described in a Vuser script. • When you run a scenario, each Vuser executes a Vuser script. Vuser scripts include functions that measure and record the performance of the server during the scenario. • Transactions • To measure the performance of the server, you define transactions. • Transactions measure the time that it takes for the server to respond to tasks submitted by Vusers. Contd….
  • 5. LoadRunner Terminology 5 • Rendezvous Points • You insert rendezvous points into Vuser scripts to emulate heavy user load on the server. • Rendezvous points instruct multiple Vusers to perform tasks at exactly the same time. • For example, to emulate peak load on the bank server, you insert a rendezvous point to instruct 100 Vusers to simultaneously deposit cash into their accounts. • Controller • You use the LoadRunner Controller to manage and maintain your scenarios. • Using the Controller, you control all the Vusers in a scenario from a single workstation. Contd….
  • 6. LoadRunner Terminology 6 • Hosts • When you execute a scenario, the LoadRunner Controller distributes each Vuser in the scenario to a host. • The host is the machine that executes the Vuser script, enabling the Vuser to emulate the actions of a human user. • Performance Analysis • Vuser scripts include functions that measure and record system performance during load-testing sessions. • During a scenario run, you can monitor the network and server resources. • Following a scenario run, you can view performance analysis data in reports and graphs.
  • 8. Components of LoadRunner 12.02.0 8 • VuGen (Virtual User Generator) – records Vuser Scripts that emulate the steps of real Users using the application • The Controller is an administrative center for creating, maintaining, and executing scenarios. Starts and stops load tests, and perform other Administrative tasks Contd….
  • 9. Components of LoadRunner 12.02.0 9 • LR Analysis uses the load test results to create graphs and reports that are used to correlate system information and identify both bottlenecks and performance issues. • Tuning helps you quickly isolate and resolve performance bottlenecks. By adding a centralized tuning console to LoadRunner, the Mercury Tuning Module ensures that performance bottlenecks are resolved during testing, and helps you determine the optimized configuration settings for production.
  • 11. LoadRunner Expert Workflow Tune System Based on Analysis Analyze System Under Load Phase 5 LoadRunner V U G E N LoadRunner C O N T R O L L E R & A N A L Y S I S Run Scenarios Phase 4 Create Scenarios Phase 3 Create Web Virtual Users Phase 2Phase 1 Plan Load Test
  • 12. Plan Load Test Identify Business Critical Scenarios. Scenario means a manual work flow. Ex: Login  Open an Account  Logout. Estimate User Load Performance Testing requirements will give an idea of users load or the number of users using the product. This will determine the load to be used against the product in testing. Work Load: Ex: 100 user Running together. Of this 60 users book a Browse a website. 30 users search a product and 10 users buy the Product.
  • 13. What is Virtual User (Vuser)? • Virtual users or Vusers emulate the steps of real users. The steps that Vusers perform are recorded in a Vuser Script.
  • 14. What is VuGen (Virtual User Generator)? • VuGen records Vuser Scripts that emulate the steps of real users using the application • VuGen not only records Vuser scripts, but also runs them. Running scripts from VuGen is useful for debugging • VuGen records sessions on Windows platforms only. However, a recorded Vuser script can run on both Windows and UNIX platform.
  • 15. Process of Recording Script • Record a basic script • Enhance the basic script by adding the control-flow statements and other Mercury API functions into the Script • Configure the Run-time settings • Verify that the script runs correctly, run it in stand- alone mode • Integrate into your test : a LoadRunner scenario, Performance Centre load test, Tuning module session, Business process monitor profile
  • 16. VuGen What We can Do?  Set up recording options  Record the scripts  Add Comments  Insert Start and End Transactions  Perform Correlation  Add Checks  Add C programming Statements wherever required.  Insert Load Runner Functions if required.  Do Parameterization.  Add Rendezvous Point  Create Multiple actions If required.  Perform Run Time Settings
  • 17. Welcome Screen - VuGen 17 Single Protocol Script Multiple Protocol Script Creates a single protocol Vuser script. This is the default option Creates a multiple protocol Vuser script. VuGen displays all of the available protocols and allows you to specify which protocols to record
  • 18. Vuser Script Sections 18 • Each Vuser script contains at least three sections: • vuser_init • one or more Actions and • vuser_end. the Vuser finishes or is stopped a logoff procedurevuser_end the Vuser is in "Running" status client activityActions the Vuser is initialized (loaded) a login to a servervuser_init Is executed when...Used when recording...Script Section
  • 20. Recording Options Whenever VUGen generates a script, the code generated is based on various configurations that can be found under the “Recording Options” – or you can press Ctrl + F7 to view the Recording Options
  • 21. Recording Options 21 There are various categories of configurations like General, Correlations, Network and Data Format Extension.
  • 23. 1.The HTML-based script is based on user actions, and the scripts contain functions that correspond directly to the action taken. 2.The URL-based script is based on HTTP requests sent to the server as a result of user actions
  • 24. Benefits of HTML Recording Advantages of HTML Recording Reduces need to capture dynamic values - Action tag values and hidden data are NOT hardcoded - They are retrieved from memory during playback - If they are dynamic, the VUser still run Script is only as big as the business process–one step per page Disadvantages of HTML Recording - requires more memory - requires more CPU power 24
  • 25. Benefits of URL Recording Advantages of URL recording -Flexibility- Support for Java Applets and ActiveX objects on the page - Ability to replay on UNIX - Scripts are more scalable than HTML scripts because they require fewer resources Disadvantages of URL recording Scripts require more correlation (nothing is retrieved from the cache) Context-sensitive checks won’t work (parser is disabled) Scripts are large (all images and frames are recorded as separate steps) 25
  • 26. Difference between HTML Mode and URL Mode HTML Mode • Intuitive and easy to understand • Scripts are smaller, requests are encapsulated and easy to understand • Scalable URL Mode • Not as intuitive as the HTML scripts. • Scripts are large, containing a call to each image, css, html, etc. thus making it difficult to understand. • More scalable and effective for creating a load test 26
  • 28. Does load runner understand any other language-  You’ll notice that Language dropdown is disabled. A common myth is that the LoadRunner does not generate code in any other language. Another myth is that it requires a license to work in other languages.  Both are false. LoadRunner decides for itself which language to use when generating the script. In almost all cases, you’ll find yourself working with C Language.  For certain java applications (like Java applets) the code being generated will be in Java Script Language.  VUGen will generate a script in VBScript Language only for applications developed in Visual Basic classic 28
  • 29. Scripting Options  “Generate fixed think time after end transaction”. This means, no matter how much a user wait, the think time generated (the delay) will be equal to value specified. The value is in seconds.  Maximum number of lines in the action file refers to the maximum number of lines VUGen will generate in an action. If the script is larger, VUGen will automatically create a new action. The default is set to 60,000. The maximum value which can be specified is 65,000  This configuration helpful when dealing with a desktop application with Oracle on the backend. 29
  • 30. General => Protocol Gives you an option to select and deselect any protocols you’ve selected at the start of recording (In case wrongly selected) 30
  • 31. General => Code Generation: This configuration tells VUGen to find candidates for correlation at record time. If you do not wish for Automatic Correlation, then you might wish to turn off this feature 31
  • 32. Correlation => Configuration: • Although automatic correlation is helpful from 5% to 10% only, yet you can select “Rules Scan” and “Automatically correlate values found”. However, if your script doesn’t play, you can consider restoring to defaults by clicking on button. 32
  • 33. Correlation => Rules: • Go to Rules, and here you can see various rules VUGen is using to find correlation Parameters. You can add custom rules if you know what your application is using as parameters. However, this is an advanced use of record time settings. 33
  • 34. HTTP Properties => Advanced:  Reset context for each action, enabling this option instructs VUGen to reset all HTP contexts between actions to their initial state before recording, providing a clean beginning for the recording session. The option is enabled by default.  You can leave the rest of configurations intact, unless required 34
  • 35. Network => Port Mapping: • Go to Options (as long as you’re not using Socket level data) and select various options like SSL version or other types of Secure Socket Layer 35
  • 36. Other Settings- • This option will be used in case of specific projects 36
  • 37. Recording Your Application 37 • Click the Start Recording Button • For most Client / Server protocols, the following Screen opens • Recording Tool Bar (Floating Tool Bar)
  • 38. Ending and Saving a Recording Session To complete the recording: • After you record a typical business process, you complete the recording session by performing the closing steps of your business process and saving the Vuser script. • Switch to the vuser_end section in the floating toolbar, and perform the log off or cleanup procedure. • Click the stop Recording button on the recording Tool Bar 38