SlideShare a Scribd company logo
Shama Ahsan
Agenda
   What is Automation Testing
   Test Automation Framework
   Automation Test Tools
   Why Load Runner
   Architecture
   Load Runner Components
   Think Time
   Playback
   Script Failure & it`s Solution
   Benefits of Automation for your company
What is Automation Testing
 Automation Testing is the use of software to control
  the execution of tests, the comparison of actual
  outcomes to predicted outcomes, the setting up of test
  preconditions, and other test control and test
  reporting functions.
 Automation is the use of strategies, tools and artifacts
  that reduce the need of manual or human involvement
  or interaction in unskilled, repetitive or redundant
  tasks.
Need of Automation Testing
 Automation testing is the best way to increase the
 effectiveness, efficiency and coverage of your software.

 Automated Testing Saves Time and Money
 Automated Testing Improves Accuracy
 Automated Testing Helps Developers and Testers
 Automated Testing Increases Test Coverage
Test Automation Framework
Automation Test Tools
    Tool name               Produced by        Latest version


Load Runner               HP                   9.5


IBM Rational Functional   IBM Rational         8.1.0.3
Tester
Parasoft SOAtest          Parasoft             9.0
Rational robot            IBM Rational         2003
Selenium                  Open source          1.0.6
SilkTest                  Micro Focus          2010
TestComplete              SmartBear Software   8.2
TestPartner               Micro Focus          6.3
Visual Studio Test
                          Microsoft            2010
Professional
WATIR                     Open source          1.6.5
Why Load Runner?
1.   Load Runner reduces the human resource requirement by replacing real
     human users with virtual users known as Vusers.

2.   Load Runner reduces the hardware requirements by running multiple
     Vusers in a single computer.

3.   Load Runner automatically records performance of application under test.
     LoadRunner provides graph and reporting options for the analysis of
     performance test results.

4.   Various kinds of delays can be identified using LoadRunner. During the test
     execution, LoadRunner monitors network and server resources
     continuously.

5.   Load Runner makes performance testing very easy – LoadRunner tests are
     fully automated, you can easily repeat them as often as you need.
What is load runner?
 HP's (formerly Mercury's) load/stress testing tool for
  web and other applications.
 supports a wide variety of application environments,
  platforms, databases and tracing of bottlenecks.
 Load Runner enables you to test your system under
  controlled and peak load conditions.
What is Performance Testing?
 Performance testing is an empirical, technical
 investigation conducted to provide stakeholders with
 information about the quality of the product under
 test with regard to speed, scalability and stability
 characteristics.
System Requirements
 Processor:
    CPU Type: Intel Core, Pentium, AMD or compatible
    Speed: 1 GHz minimum. 2 GHz or higher recommended
    Intel Hyper-Threading technology is not supported.
 Operating System: The following 32-bit Windows operating systems are
  supported:
    Windows Vista SP1
    Windows XP Professional SP2 or SP3
    Windows Server 2003 Standard
    Edition/Enterprise Edition SP2
    Windows Server 2003 Standard
    Edition/Enterprise Edition R2 SP2
 RAM:
    Minimum: 512 MB
    Recommended: 1 GB or higher
Architecture
How Load Runner Works
 Load Runner works by creating virtual users who take
 the place of real users operating client software
 sending requests using the HTTP protocol to web
 servers.

 Requests from many virtual user clients are generated
 by "Load Generators" in order to create a load on
 various servers under test

 The Controller controls load test runs based on
 "Scenarios" invoking compiled "Scripts" and associated
 "Run-time Settings".
                                              (cont.)
 Scripts are crafted using "Virtual user script
  Generator" (named "VU Gen)
 During runs, the status of each machine is
  monitored by the Controller.

 At the end of each run, the Controller combines its
  monitoring logs with logs obtained from load
  generators, and makes them available to the
  "Analysis" program, which can then create run
 result reports and graphs for Microsoft Word,
 Crystal Reports, or an HTML webpage browser.
Load Runner components
Load Runner primarily is a 3 stage architecture :
 Virtual User Generator (VUGen)
 Controller
 Analyzer
Virtual User Generator
 Creates virtual users
 Scripts
 Recording
 Play back
 Generation
 Debug                                  Server
 Run                            VuGen
                Client running
                an application
Controller
 The load is tested here.


The Controller has two sections
 Design Section - Used to design the load testing
  scenario

 Run Section - Used to monitor scenarios which are in
  execution.
Analyzer
 The executed script result is displayed in the analyzer.


 Analyzer section is used to observe reports and
  graphs, it would determine the performance of our
  recoded scenarios at different user load.
Think Time
 Think Time is the time taken by a user (usually to
 think ) before user takes the next action.
Script Failure
 Why a script fails when it was working properly
  earlier?
 It is because the dynamic values such as Cookies ,
  Checksums , Session Id's at the backend change every
  time the application is used.
Solution to the script failure?
 Correlation is the solution to the script failure.
 The user parameterizes the values. For instance, the
  user parameterizes the session ID and use that
  parameter instead of the hard-coded values.
How Automation testing can be
beneficial for your company
 Manual testing is time-consuming or costly. In automated
 testing, companies can focus on improving the automated
 business processes. This will increase the speed and accuracy of
 the development and QA team’s testing process. The entire IT
 departments can be a higher return on investment, but also
 reduces a great deal of risk.
 Reduced test cycle time:
 Since automation testing tools run considerably faster than
 human users, this eventually leads to a considerably reduced test
 cycle time resulting in sustainable time savings.
Load Runner Installation
 Run the setup.exe file in the root directory of the installation disk.
 The Load Runner Setup program begins and displays the installation
    menu page.
   Load Runner Full Setup. Provides the option to install the main Load
    Runner features and components including the Controller, the VuGen,
    Analysis, and the Load Generator.
   Load Generator. Installs the components needed for running virtual
    users to generate load.
   Click OK and follow the on-screen instructions to install the listed
    software before continuing with the Load Runner installation.
   If you click Cancel, the installer will exit because Load Runner cannot
    be installed without the prerequisite software.
                                                                  (cont.)
References
 http://en.wikipedia.org/wiki/Automation_Testing
 http://guru99.com/loadrunner-tutorials.html
 http://www.devbistro.com/articles/Testing/Role-of-
  Test-Automation-Engineer
 http://learnloadrunner.com/
 http://www.geekinterview.com/
 www.softwaretestinggenius.com
Q&A
Thank you!!

More Related Content

PDF
LoadRunner Performance Testing
PDF
LoadRunner walkthrough
PDF
Neoload
PPT
Neoload overview
PDF
Fundamentals Performance Testing
PPT
Performance and load testing
PPTX
Performance Testing
PPTX
Performance testing
LoadRunner Performance Testing
LoadRunner walkthrough
Neoload
Neoload overview
Fundamentals Performance Testing
Performance and load testing
Performance Testing
Performance testing

What's hot (20)

PPTX
Introduction to Performance Testing & Loadrunner
PPT
Loadrunner presentation
PPT
Performance testing using hp load runner
DOCX
Jmeter vs loadrunner vs neoload
PPTX
Performance Testing using LoadRunner
PPTX
Performance testing using jmeter
PDF
PPT
Performance testing : An Overview
PPT
Performance testing with Jmeter
PDF
Loadrunner vs Jmeter
PPT
Test Automation Framework Designs
PPT
Selenium ppt
PPTX
Load Testing and JMeter Presentation
PPT
Performance Testing With Jmeter
PPTX
Automation Testing With Appium
PPTX
Performance Testing from Scratch + JMeter intro
PDF
Introduction to jmeter
PPTX
QSpiders - Introduction to HP Load Runner
PPT
Manual testing ppt
PDF
How to start performance testing project
Introduction to Performance Testing & Loadrunner
Loadrunner presentation
Performance testing using hp load runner
Jmeter vs loadrunner vs neoload
Performance Testing using LoadRunner
Performance testing using jmeter
Performance testing : An Overview
Performance testing with Jmeter
Loadrunner vs Jmeter
Test Automation Framework Designs
Selenium ppt
Load Testing and JMeter Presentation
Performance Testing With Jmeter
Automation Testing With Appium
Performance Testing from Scratch + JMeter intro
Introduction to jmeter
QSpiders - Introduction to HP Load Runner
Manual testing ppt
How to start performance testing project
Ad

Viewers also liked (20)

PPTX
What is Loadrunner ?
PPT
Hp Loadrunner
PPTX
Load runner & win runner
PPT
Performance Testing With Loadrunner
PPTX
Win runner testing tool
PPTX
QSpiders - Introduction to Performance Testing
ODP
Software testing tools
PDF
Testing Tools
PPTX
A Short History of Performance Engineering
PDF
JMS - Java Messaging Service
PDF
Introduction to Performance testing
PDF
Performance Requirement Gathering
PPTX
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
DOC
Winrunner
PPTX
An Introduction to Performance Testing
PPTX
Interpreting Performance Test Results
PPTX
Software testing ppt
PPTX
Few points to remember
DOC
Qtp realtime scripts
What is Loadrunner ?
Hp Loadrunner
Load runner & win runner
Performance Testing With Loadrunner
Win runner testing tool
QSpiders - Introduction to Performance Testing
Software testing tools
Testing Tools
A Short History of Performance Engineering
JMS - Java Messaging Service
Introduction to Performance testing
Performance Requirement Gathering
Performance Testing using LoadRunner - Kamran Khan [chromeis.com]
Winrunner
An Introduction to Performance Testing
Interpreting Performance Test Results
Software testing ppt
Few points to remember
Qtp realtime scripts
Ad

Similar to Load Runner (20)

PPTX
Load testing
PPT
advanced_load_runner.ppt
PPT
Advanced Load Runner
PPT
Performance testing material
PPT
Performance Testing
PPT
Performance testing with loadrunner by kc
PPT
Load runner 8.0
DOCX
Seminar report
DOCX
Load Runner Online Training
PDF
Load Runner Methodology to Performance Testing
PPSX
HP LoadRunner
PDF
1. PERFORMANCE TESTING ON WEB APPLICATION THROUGH HP LOAD1
PDF
1. performance testing on web application through hp load1
PPTX
Load Runner
PPTX
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
PPTX
Software Testing includes Performance testing with Load Runner and the JMeter
PPT
Quick guide to plan and execute a load test
PPTX
Cloud Performance Testing with LoadRunner
PPTX
PERFORMANCE TESTING USING LOAD RUNNER
PDF
List of 12 best software performance testing tools
Load testing
advanced_load_runner.ppt
Advanced Load Runner
Performance testing material
Performance Testing
Performance testing with loadrunner by kc
Load runner 8.0
Seminar report
Load Runner Online Training
Load Runner Methodology to Performance Testing
HP LoadRunner
1. PERFORMANCE TESTING ON WEB APPLICATION THROUGH HP LOAD1
1. performance testing on web application through hp load1
Load Runner
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
Software Testing includes Performance testing with Load Runner and the JMeter
Quick guide to plan and execute a load test
Cloud Performance Testing with LoadRunner
PERFORMANCE TESTING USING LOAD RUNNER
List of 12 best software performance testing tools

Recently uploaded (20)

PDF
Complications of Minimal Access Surgery at WLH
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Complications of Minimal Access Surgery at WLH
PPH.pptx obstetrics and gynecology in nursing
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
TR - Agricultural Crops Production NC III.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
STATICS OF THE RIGID BODIES Hibbelers.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Final Presentation General Medicine 03-08-2024.pptx
Renaissance Architecture: A Journey from Faith to Humanism
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
O5-L3 Freight Transport Ops (International) V1.pdf
Pharma ospi slides which help in ospi learning
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pre independence Education in Inndia.pdf
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF

Load Runner

  • 2. Agenda  What is Automation Testing  Test Automation Framework  Automation Test Tools  Why Load Runner  Architecture  Load Runner Components  Think Time  Playback  Script Failure & it`s Solution  Benefits of Automation for your company
  • 3. What is Automation Testing  Automation Testing is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions.  Automation is the use of strategies, tools and artifacts that reduce the need of manual or human involvement or interaction in unskilled, repetitive or redundant tasks.
  • 4. Need of Automation Testing  Automation testing is the best way to increase the effectiveness, efficiency and coverage of your software.  Automated Testing Saves Time and Money  Automated Testing Improves Accuracy  Automated Testing Helps Developers and Testers  Automated Testing Increases Test Coverage
  • 6. Automation Test Tools Tool name Produced by Latest version Load Runner HP 9.5 IBM Rational Functional IBM Rational 8.1.0.3 Tester Parasoft SOAtest Parasoft 9.0 Rational robot IBM Rational 2003 Selenium Open source 1.0.6 SilkTest Micro Focus 2010 TestComplete SmartBear Software 8.2 TestPartner Micro Focus 6.3 Visual Studio Test Microsoft 2010 Professional WATIR Open source 1.6.5
  • 7. Why Load Runner? 1. Load Runner reduces the human resource requirement by replacing real human users with virtual users known as Vusers. 2. Load Runner reduces the hardware requirements by running multiple Vusers in a single computer. 3. Load Runner automatically records performance of application under test. LoadRunner provides graph and reporting options for the analysis of performance test results. 4. Various kinds of delays can be identified using LoadRunner. During the test execution, LoadRunner monitors network and server resources continuously. 5. Load Runner makes performance testing very easy – LoadRunner tests are fully automated, you can easily repeat them as often as you need.
  • 8. What is load runner?  HP's (formerly Mercury's) load/stress testing tool for web and other applications.  supports a wide variety of application environments, platforms, databases and tracing of bottlenecks.  Load Runner enables you to test your system under controlled and peak load conditions.
  • 9. What is Performance Testing?  Performance testing is an empirical, technical investigation conducted to provide stakeholders with information about the quality of the product under test with regard to speed, scalability and stability characteristics.
  • 10. System Requirements  Processor:  CPU Type: Intel Core, Pentium, AMD or compatible  Speed: 1 GHz minimum. 2 GHz or higher recommended  Intel Hyper-Threading technology is not supported.  Operating System: The following 32-bit Windows operating systems are supported:  Windows Vista SP1  Windows XP Professional SP2 or SP3  Windows Server 2003 Standard  Edition/Enterprise Edition SP2  Windows Server 2003 Standard  Edition/Enterprise Edition R2 SP2  RAM:  Minimum: 512 MB  Recommended: 1 GB or higher
  • 12. How Load Runner Works  Load Runner works by creating virtual users who take the place of real users operating client software sending requests using the HTTP protocol to web servers.  Requests from many virtual user clients are generated by "Load Generators" in order to create a load on various servers under test  The Controller controls load test runs based on "Scenarios" invoking compiled "Scripts" and associated "Run-time Settings". (cont.)
  • 13.  Scripts are crafted using "Virtual user script Generator" (named "VU Gen)  During runs, the status of each machine is monitored by the Controller.  At the end of each run, the Controller combines its monitoring logs with logs obtained from load generators, and makes them available to the "Analysis" program, which can then create run result reports and graphs for Microsoft Word, Crystal Reports, or an HTML webpage browser.
  • 14. Load Runner components Load Runner primarily is a 3 stage architecture :  Virtual User Generator (VUGen)  Controller  Analyzer
  • 15. Virtual User Generator  Creates virtual users  Scripts  Recording  Play back  Generation  Debug Server  Run VuGen Client running an application
  • 16. Controller  The load is tested here. The Controller has two sections  Design Section - Used to design the load testing scenario  Run Section - Used to monitor scenarios which are in execution.
  • 17. Analyzer  The executed script result is displayed in the analyzer.  Analyzer section is used to observe reports and graphs, it would determine the performance of our recoded scenarios at different user load.
  • 18. Think Time  Think Time is the time taken by a user (usually to think ) before user takes the next action.
  • 19. Script Failure  Why a script fails when it was working properly earlier?  It is because the dynamic values such as Cookies , Checksums , Session Id's at the backend change every time the application is used.
  • 20. Solution to the script failure?  Correlation is the solution to the script failure.  The user parameterizes the values. For instance, the user parameterizes the session ID and use that parameter instead of the hard-coded values.
  • 21. How Automation testing can be beneficial for your company Manual testing is time-consuming or costly. In automated testing, companies can focus on improving the automated business processes. This will increase the speed and accuracy of the development and QA team’s testing process. The entire IT departments can be a higher return on investment, but also reduces a great deal of risk. Reduced test cycle time: Since automation testing tools run considerably faster than human users, this eventually leads to a considerably reduced test cycle time resulting in sustainable time savings.
  • 22. Load Runner Installation  Run the setup.exe file in the root directory of the installation disk.  The Load Runner Setup program begins and displays the installation menu page.  Load Runner Full Setup. Provides the option to install the main Load Runner features and components including the Controller, the VuGen, Analysis, and the Load Generator.  Load Generator. Installs the components needed for running virtual users to generate load.  Click OK and follow the on-screen instructions to install the listed software before continuing with the Load Runner installation.  If you click Cancel, the installer will exit because Load Runner cannot be installed without the prerequisite software. (cont.)
  • 23. References  http://en.wikipedia.org/wiki/Automation_Testing  http://guru99.com/loadrunner-tutorials.html  http://www.devbistro.com/articles/Testing/Role-of- Test-Automation-Engineer  http://learnloadrunner.com/  http://www.geekinterview.com/  www.softwaretestinggenius.com
  • 24. Q&A