LOAD TESTING
& LOAD RUNNER
PRESENTATION BY:
MUHAMMAD FAHEEM (BITF14M517)
FAHAD MANSOOR (BITF14M518)
SYEDA ZAINAB SAJJAD GILLANI (BITF14M520)
ABDUL REHMAN (BITF14M521)
AGENDA
• What is Automation Testing
• Why Load Runner
• Supported Applications
• Architecture
• Load Runner Components
• 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
LOAD TESTING
• Load testing is the process of putting demand on a
software system or computing device and measuring
its response.
• Load testing is performed to determine a system's behavior
under both normal and anticipated peak load conditions.
• Load test:
“A load test enables you to measure response times, resource-utilization
levels, and to identify your application’s breaking point, assuming that the
breaking point occurs below the peak load condition.”
WHY LOAD RUNNER?
• Load Runner reduces the human resource requirement
by replacing real human users with virtual users
known as Vusers.
• Load Runner reduces the hardware requirements by
running multiple Vusers in a single computer.
• Load Runner automatically records performance of
application under test. LoadRunner provides graph
and reporting options for the analysis of performance
test results.
WHY LOAD RUNNER?
• Various kinds of delays can be identified using
LoadRunner. During the test execution, LoadRunner
monitors network and server resources continuously.
• 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.
• Load Runner enables you to test your system under
controlled and peak load conditions.
SUPPORTED APPLICATIONS
• Applications using Microsoft .NET and Java
• Database servers such as Microsoft SQL Server and
Oracle
• Internetworking protocols such as DNS, FTP and LDAP
• E-mail protocols including IMAP, MAPI, POP3 & SMTP
• Remote client technologies such as Citrix ICA and
RDP.
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".
HOW LOAD RUNNER WORKS
• 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
• Analyze
VIRTUAL USER GENERATOR
• Creates virtual users
• Scripts
• Recording
• Play back
• Generation
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.
HOW AUTOMATION TESTING CAN
BE BENEFICIAL FOR YOUR
COMPANY
• Manual testing is time-consuming or costly.
• Automated business processes.
• 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.
REFERENCES
• http://en.wikipedia.org/wiki/Automation_Testing
• http://guru99.com/loadrunner-tutorials.html
• http://www.devbistro.com/articles/Testing/Role-
ofTest-Automation-Engineer
• http://learnloadrunner.com/
• http://www.geekinterview.com/
• www.softwaretestinggenius.com
Q & A
THANK
YOU

Load testing

  • 1.
    LOAD TESTING & LOADRUNNER PRESENTATION BY: MUHAMMAD FAHEEM (BITF14M517) FAHAD MANSOOR (BITF14M518) SYEDA ZAINAB SAJJAD GILLANI (BITF14M520) ABDUL REHMAN (BITF14M521)
  • 2.
    AGENDA • What isAutomation Testing • Why Load Runner • Supported Applications • Architecture • Load Runner Components • Benefits of Automation for your company
  • 3.
    WHAT IS AUTOMATIONTESTING • 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 AUTOMATIONTESTING • 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
  • 5.
    LOAD TESTING • Loadtesting is the process of putting demand on a software system or computing device and measuring its response. • Load testing is performed to determine a system's behavior under both normal and anticipated peak load conditions. • Load test: “A load test enables you to measure response times, resource-utilization levels, and to identify your application’s breaking point, assuming that the breaking point occurs below the peak load condition.”
  • 6.
    WHY LOAD RUNNER? •Load Runner reduces the human resource requirement by replacing real human users with virtual users known as Vusers. • Load Runner reduces the hardware requirements by running multiple Vusers in a single computer. • Load Runner automatically records performance of application under test. LoadRunner provides graph and reporting options for the analysis of performance test results.
  • 7.
    WHY LOAD RUNNER? •Various kinds of delays can be identified using LoadRunner. During the test execution, LoadRunner monitors network and server resources continuously. • 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 LOADRUNNER? • HP's (formerly Mercury's) load/stress testing tool for web and other applications. • Supports a wide variety of application environments, platforms, databases. • Load Runner enables you to test your system under controlled and peak load conditions.
  • 9.
    SUPPORTED APPLICATIONS • Applicationsusing Microsoft .NET and Java • Database servers such as Microsoft SQL Server and Oracle • Internetworking protocols such as DNS, FTP and LDAP • E-mail protocols including IMAP, MAPI, POP3 & SMTP • Remote client technologies such as Citrix ICA and RDP.
  • 10.
  • 11.
    HOW LOAD RUNNERWORKS • 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".
  • 12.
    HOW LOAD RUNNERWORKS • 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.
  • 13.
    LOAD RUNNER COMPONENTS LoadRunner primarily is a 3 stage architecture : • Virtual User Generator (VUGen) • Controller • Analyze
  • 14.
    VIRTUAL USER GENERATOR •Creates virtual users • Scripts • Recording • Play back • Generation
  • 15.
    CONTROLLER • The loadis 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.
  • 16.
    ANALYZER • The executedscript 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.
  • 17.
    THINK TIME • ThinkTime is the time taken by a user ( usually to think ) before user takes the next action.
  • 18.
    HOW AUTOMATION TESTINGCAN BE BENEFICIAL FOR YOUR COMPANY • Manual testing is time-consuming or costly. • Automated business processes. • 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.
  • 19.
    REFERENCES • http://en.wikipedia.org/wiki/Automation_Testing • http://guru99.com/loadrunner-tutorials.html •http://www.devbistro.com/articles/Testing/Role- ofTest-Automation-Engineer • http://learnloadrunner.com/ • http://www.geekinterview.com/ • www.softwaretestinggenius.com
  • 20.
  • 21.