SlideShare a Scribd company logo
PerformanceTesting
Role BasedTraining - QAE
Chalana Kahandawala
Software QA Engineer –Test Automation & Performance
24/07/2017
AGENDA
 What/Why is Performance Testing?
 Types of Performance Testing
 Performance metrics
 Factors that affect software performance
 Skills required for performance test
 Technologies where performance test is carried out
 Performance Testing process
 Performance Test Tools
 Performance Test Scenario
 Do’s & Don'ts
WHAT IS PERFORMANCE TESTING
Performance testing is conducted to evaluate the compliance of a system or component with
specified performance requirements.
FUNCTIONAL TESTING VS PERFORMANCE
TESTING
Functional Testing Performance Testing
• To verify the accuracy of the software with
definite inputs
• To validate the behavior of the system at various
load conditions performance testing is done.
• This testing can be done manually or automated • It gives the best result if automated
• One user performs all the operations • Several user performs desired operations
• Customer, Tester and Development involvement
is required
• Customer, Tester, Developer, DBA and N/W
management team
• Production sized test environment is not
necessary, and H/W requirements are minimal
• Requires close to production test environment
and several H/W facilities to populate the load
WHY PERFORMANCE TESTING IS SO
CRITICAL?
There is a popular saying “On the Internet, the competition is only a mouse click away”.
Today applications are not designed for single user but for multiple users.
It is a fundamental fact of the Internet that poor performance leads to dissatisfied users,
that dissatisfied users will abandon that web-site.
WHY PERFORMANCE TESTING IS
SO CRITICAL?
SCALABILITY
 How many users…
 before it gets “slow”?
 before it stops working?
 Will it sustain?
 do I expect today?
 do I expect before the next upgrade?
 How much data can it hold?
 Database capacity
 File Server capacity
 Back-up Server capacity
 Data growth rates
STABILITY (Should be part of stress testing)
 What happens if…
 there are more users than we expect?
 all the users do the same thing?
 a user gets disconnected?
 there is a Denial of Service Attack?
 the web server goes down?
 we get too many orders for the same thing?
CONFIDENCE
 If you know what the performance is…
 you can assess risk
 you can make informed decisions
 you can plan for the future
 you can sleep the night before go-live day
WHY LOAD TESTING IS SO CRITICAL?
To choose the right architecture
• hardware
• software
To deploy with confidence
• allows development / implementation teams to get system right the first time
• proven functionality / performance under real world conditions
TYPES OF PERFORMANCETESTING
Load Test
Load test is conducted to evaluate a system or component for their performance requirements with
expected load in the system. In general Load Testing tools are used to simulate large number of users
known as virtual users VUsers.
TYPES OF PERFORMANCE TESTING
CONT..
Stress Test
Stress test is conducted to evaluate a system or component at or beyond the limits of specified
performance requirements to determine the load under which it fails and how.
TYPES OF PERFORMANCETESTING
CONT..
Scalability Test
Scalability test is used to evaluate the effect of adding additional hardware/software to distribute work
among system components.
TYPES OF PERFORMANCETESTING
CONT..
Endurance Test
Endurance testing is conducted to evaluate the behavior of the system when a significant workload is
given continuously
TYPES OF PERFORMANCETESTING
CONT..
Peak Test/Spike Test
Endurance testing is conducted to analyze the system’s behavior when exposed to intensity peaks mixed
with regular load, showing the recovery following the increased load.
TYPES OF PERFORMANCETESTING
CONT..
PERFORMANCETESTING METRICS
These are the indicators that are used to measure the performance requirements.
Ex: Response time, CPU usage, Memory page faults per second, Data packets sent per second
WHAT AFFECT PERFORMANCE
•Network bandwidth/quality
•Processor speed
•Memory availability
•Bandwidth of a Web-Server, DB Server
SKILLS OF A PERFORMANCETESTER
•Identify & understand performance requirements
•Knowledge in application domain
•Knowledge in computer technologies (Web, TCP/IP)
•Ability to use Load Testing tools
•Ability to analyze test results and pin-point the problems
TECHNOLOGIES WHICH PERFORMANCE
TESTING USE
•HTTP/HTTPS, FTP, SMTP, POP
•SQL Server, Oracle, DB2
•WAP
•SOAP
•PeopleSoft, Siebel, SAP
COMMON LOADTEST OBJECTIVES
Application response time
– How long does it take to complete a
task?
Configuration sizing
– Which configuration provides the best
performance level?
Acceptance
– Is the system stable enough to go into
production?
Regression
– Does the new version of the software
adversely affect response time?
Reliability
– How stable is the system under a
heavy work load?
Bottleneck identification
– What is the cause of degradation in
performance?
Product evaluation
– What is the best server for 100 users?
WHY MANUAL LOADTESTING PROBLEMATIC?
- Do you have the testing resources? (personnel/machines)
- How do you coordinate and synchronize multiple users?
- How do you achieve test repeatability?
- How do you collect and analyze results?
PERFORMANCETESTING PROCESS
Planning
•Identifying performance requirements
•Setting expectations & measurements
•Selecting test types
•Preparing test plan
•Modeling the load
PERFORMANCETESTING PROCESS
Scripting
•It is difficult to perform load test manually
•Always a tool will be used
•In general user actions will be recorded
•This is known as generating VUser scripts
•It may require to modify the scripts after recording
PERFORMANCETESTING PROCESS
Testing
•Preparing test lab
•Execute the test according to plan
•Store the results
PERFORMANCETESTING PROCESS
Result Analysis
•Analyze failed results
•Reasons not to achieve expected results
PERFORMANCE TESTTOOLS
•Load Runner 8.0
•Silk Performer 6.5
•JMeter (Web only)
•Rational Performance Tester 2003
•Test Complete 3.0 (Web only)
COMMON ARCHITECTURE OF ATOOL
SELECTING A PERFORMANCETOOL
• Customer preference tool
• Availability of license within customer machine
• Availability of test environment
• Additional protocol support
• License cost
• Efficiency of tool
• User options for testing
• Vendor support
PERFORMANCETESTING METHODOLOGY
Requirement
Analysis
Test
Design
Test
Plan
Test
Execution
Analysis of
Results
Executive
Summary Report
Start of
Project
Project
Closure
Preliminary
Reports
LoadRunner EXPERT WORKFLOW SUMMARY
4.1 Verify that Vusers run
concurrently
4.2 Isolate top time
transactions
4.3 Run full load test
4.4 Isolate hardware and
software limitations
1.1 Get system usage
information
1.2 Document business
process properties
1.3 Determine which fields
to parameterize
1.4 Establish which data to
use
Tune
System Based
on Analysis
Analyze
System Under
Load
Phase 5
Run
Scenarios
Phase 4
Create
Scenarios
Phase 3
Create Web
Virtual Users
Phase 2Phase 1
Plan Load Test
2.1 Record user actions
2.2 Add LoadRunner
transactions
2.3 Parameterize data
2.4 Add verification
checks
2.5 Verify correct
execution
3.1 Define hosts
3.2 Connect hosts
3.3 Define scripts
3.4 Add Vusers
PERFORMANCE ISSUES
PERFORMANCE TEST SCENARIO
1
It is expected that company X web-site is accessed by 1000 of their customers during day time on
average per hour. Their customer base consists of corporate, resellers and domestic consumers.
They expect that the website home page to be loaded within 1 second.
How do you plan the performance Test?
PERFORMANCE TEST SCENARIOS
The list of scenarios which you should include in your performance test,
Most Frequently Accessed Scenarios: Application scenarios which are mostly accessed by end users. As such
scenarios will affect maximum users they must be included in load test. For example, browsing product catalog in an E-
commerce web application.
Business Critical Scenarios: Application scenarios where application core features exists. For example, purchasing a
product is a business critical scenario in an E-commerce application.
PERFORMANCE TEST SCENARIOS
CONT..
Resource Intensive Scenarios: Such scenarios which are expected to consume more system resources as compared to
others. For example, order placement will be most resource intensive scenario in an E-commerce web application.
Contractually Obligated Scenarios: Application scenarios for which company has contracted to provide hassle free
services. These scenarios might not be used very frequently but they can create huge business loss in case of failure.
For example, company claims its home page loads within 3 seconds.
PERFORMANCE TEST SCENARIOS
CONT..
Stakeholders Concerning Scenarios: Stakeholders could be more concerned on AUT new features impact on its
overall performance.
Time Dependent Frequently Accessed Scenarios: Time dependent scenarios which are executed very frequently
but on certain occasions only. For example, viewing monthly pay roll slip on an online payroll application.
Technology Specific Scenarios: These are the scenarios which are specific to AUT selected technology. For example,
uploading a file through FTP server could be an example of technology specific scenario.
DO’S & DON'TS
Do’s
Do test early and do test often
Do establish what is and is not
acceptable performance for
your application
Do test from the user’s perspective
- it’s the only one that counts
Do baseline and compare your
findings
Do monitor your system while you
test
Do test whenever there’s a change
in your site’s content, code or
infrastructure
Don’ts
Don’t wait until the last minute to
test
Don’t depend on your customers to
do your testing for you
Don’t test under unrealistic
conditions
Don’t forget that increases in table
sizes, disk usage and network
traffic will degrade your
application’s performance over
time
Don’t be so quick to throw hardware
at the problems you turn up - it
doesn’t always help
QUESTIONS & ANSWERS
ThankYou !
www.auxenta.com auxentainc auxenta

More Related Content

What's hot

Performance Testing
Performance TestingPerformance Testing
Performance Testing
sharmaparish
 
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaPerformance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
Edureka!
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
sonukalpana
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
Richard Bishop
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
Prashanth Kumar
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
Atul Pant
 
Performance testing
Performance testingPerformance testing
Performance testing
Ranpreet kaur
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
KostCare
 
Test Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For SucesssTest Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For Sucesss
David O'Dowd
 
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introPerformance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
Mykola Kovsh
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
Mesut Günes
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Archana Krushnan
 
Performance Test Plan - Sample 2
Performance Test Plan - Sample 2Performance Test Plan - Sample 2
Performance Test Plan - Sample 2
Atul Pant
 
Software Quality Metrics for Testers - StarWest 2013
Software Quality Metrics for Testers - StarWest 2013Software Quality Metrics for Testers - StarWest 2013
Software Quality Metrics for Testers - StarWest 2013
XBOSoft
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
Belatrix Software
 
OASIS TOSCA: Cloud Portability and Lifecycle Management
OASIS TOSCA: Cloud Portability and Lifecycle ManagementOASIS TOSCA: Cloud Portability and Lifecycle Management
OASIS TOSCA: Cloud Portability and Lifecycle Management
Cloud Standards Customer Council
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | Edureka
Edureka!
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
VenkateswaraRao Siddabathula
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeter
Mikael Kundert
 
Interpreting Performance Test Results
Interpreting Performance Test ResultsInterpreting Performance Test Results
Interpreting Performance Test Results
Eric Proegler
 

What's hot (20)

Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaPerformance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
 
Test Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For SucesssTest Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For Sucesss
 
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introPerformance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Performance Test Plan - Sample 2
Performance Test Plan - Sample 2Performance Test Plan - Sample 2
Performance Test Plan - Sample 2
 
Software Quality Metrics for Testers - StarWest 2013
Software Quality Metrics for Testers - StarWest 2013Software Quality Metrics for Testers - StarWest 2013
Software Quality Metrics for Testers - StarWest 2013
 
Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
 
OASIS TOSCA: Cloud Portability and Lifecycle Management
OASIS TOSCA: Cloud Portability and Lifecycle ManagementOASIS TOSCA: Cloud Portability and Lifecycle Management
OASIS TOSCA: Cloud Portability and Lifecycle Management
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | Edureka
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeter
 
Interpreting Performance Test Results
Interpreting Performance Test ResultsInterpreting Performance Test Results
Interpreting Performance Test Results
 

Similar to Performance testing

Performance Testing
Performance TestingPerformance Testing
Performance Testing
Anu Shaji
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
Qspiders - Software Testing Training Institute
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
Suresh Mishra
 
Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
Future Simmons
 
Performance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
Future Simmons
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]
Munirathnam Naidu
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
Bhojan Rajan
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
Shivakumara .
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
Qspiders - Software Testing Training Institute
 
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness TestingHoliday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
Apica
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete Guide
TestingXperts
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
Andrew Siemer
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
Apica
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
Bhuvaneswari Subramani
 
Performance testing and j meter overview
Performance testing and j meter overviewPerformance testing and j meter overview
Performance testing and j meter overview
krishna chaitanya
 
July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...
July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...
July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...
Apica
 
Performance testing : An Overview
Performance testing : An OverviewPerformance testing : An Overview
Performance testing : An Overview
sharadkjain
 
Performance testing material
Performance testing materialPerformance testing material
Performance testing material
Keylabstraining Bangalore
 
Top 50 Performance Testing Interview Questions | Edureka
Top 50 Performance Testing Interview Questions | EdurekaTop 50 Performance Testing Interview Questions | Edureka
Top 50 Performance Testing Interview Questions | Edureka
Edureka!
 
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | EdurekaJMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
Edureka!
 

Similar to Performance testing (20)

Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
 
Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
 
Performance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
 
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness TestingHoliday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete Guide
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
Performance testing and j meter overview
Performance testing and j meter overviewPerformance testing and j meter overview
Performance testing and j meter overview
 
July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...
July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...
July webinar l How to Handle the Holiday Retail Rush with Agile Performance T...
 
Performance testing : An Overview
Performance testing : An OverviewPerformance testing : An Overview
Performance testing : An Overview
 
Performance testing material
Performance testing materialPerformance testing material
Performance testing material
 
Top 50 Performance Testing Interview Questions | Edureka
Top 50 Performance Testing Interview Questions | EdurekaTop 50 Performance Testing Interview Questions | Edureka
Top 50 Performance Testing Interview Questions | Edureka
 
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | EdurekaJMeter Interview Questions | Performance Testing Interview Questions | Edureka
JMeter Interview Questions | Performance Testing Interview Questions | Edureka
 

Recently uploaded

Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
Maitrey Patel
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
aisafed42
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
Envertis Software Solutions
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 

Recently uploaded (20)

Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 

Performance testing

  • 1. PerformanceTesting Role BasedTraining - QAE Chalana Kahandawala Software QA Engineer –Test Automation & Performance 24/07/2017
  • 2. AGENDA  What/Why is Performance Testing?  Types of Performance Testing  Performance metrics  Factors that affect software performance  Skills required for performance test  Technologies where performance test is carried out  Performance Testing process  Performance Test Tools  Performance Test Scenario  Do’s & Don'ts
  • 3. WHAT IS PERFORMANCE TESTING Performance testing is conducted to evaluate the compliance of a system or component with specified performance requirements.
  • 4. FUNCTIONAL TESTING VS PERFORMANCE TESTING Functional Testing Performance Testing • To verify the accuracy of the software with definite inputs • To validate the behavior of the system at various load conditions performance testing is done. • This testing can be done manually or automated • It gives the best result if automated • One user performs all the operations • Several user performs desired operations • Customer, Tester and Development involvement is required • Customer, Tester, Developer, DBA and N/W management team • Production sized test environment is not necessary, and H/W requirements are minimal • Requires close to production test environment and several H/W facilities to populate the load
  • 5. WHY PERFORMANCE TESTING IS SO CRITICAL? There is a popular saying “On the Internet, the competition is only a mouse click away”. Today applications are not designed for single user but for multiple users. It is a fundamental fact of the Internet that poor performance leads to dissatisfied users, that dissatisfied users will abandon that web-site.
  • 6. WHY PERFORMANCE TESTING IS SO CRITICAL? SCALABILITY  How many users…  before it gets “slow”?  before it stops working?  Will it sustain?  do I expect today?  do I expect before the next upgrade?  How much data can it hold?  Database capacity  File Server capacity  Back-up Server capacity  Data growth rates STABILITY (Should be part of stress testing)  What happens if…  there are more users than we expect?  all the users do the same thing?  a user gets disconnected?  there is a Denial of Service Attack?  the web server goes down?  we get too many orders for the same thing? CONFIDENCE  If you know what the performance is…  you can assess risk  you can make informed decisions  you can plan for the future  you can sleep the night before go-live day
  • 7. WHY LOAD TESTING IS SO CRITICAL? To choose the right architecture • hardware • software To deploy with confidence • allows development / implementation teams to get system right the first time • proven functionality / performance under real world conditions
  • 8. TYPES OF PERFORMANCETESTING Load Test Load test is conducted to evaluate a system or component for their performance requirements with expected load in the system. In general Load Testing tools are used to simulate large number of users known as virtual users VUsers.
  • 9. TYPES OF PERFORMANCE TESTING CONT.. Stress Test Stress test is conducted to evaluate a system or component at or beyond the limits of specified performance requirements to determine the load under which it fails and how.
  • 10. TYPES OF PERFORMANCETESTING CONT.. Scalability Test Scalability test is used to evaluate the effect of adding additional hardware/software to distribute work among system components.
  • 11. TYPES OF PERFORMANCETESTING CONT.. Endurance Test Endurance testing is conducted to evaluate the behavior of the system when a significant workload is given continuously
  • 12. TYPES OF PERFORMANCETESTING CONT.. Peak Test/Spike Test Endurance testing is conducted to analyze the system’s behavior when exposed to intensity peaks mixed with regular load, showing the recovery following the increased load.
  • 14. PERFORMANCETESTING METRICS These are the indicators that are used to measure the performance requirements. Ex: Response time, CPU usage, Memory page faults per second, Data packets sent per second
  • 15. WHAT AFFECT PERFORMANCE •Network bandwidth/quality •Processor speed •Memory availability •Bandwidth of a Web-Server, DB Server
  • 16. SKILLS OF A PERFORMANCETESTER •Identify & understand performance requirements •Knowledge in application domain •Knowledge in computer technologies (Web, TCP/IP) •Ability to use Load Testing tools •Ability to analyze test results and pin-point the problems
  • 17. TECHNOLOGIES WHICH PERFORMANCE TESTING USE •HTTP/HTTPS, FTP, SMTP, POP •SQL Server, Oracle, DB2 •WAP •SOAP •PeopleSoft, Siebel, SAP
  • 18. COMMON LOADTEST OBJECTIVES Application response time – How long does it take to complete a task? Configuration sizing – Which configuration provides the best performance level? Acceptance – Is the system stable enough to go into production? Regression – Does the new version of the software adversely affect response time? Reliability – How stable is the system under a heavy work load? Bottleneck identification – What is the cause of degradation in performance? Product evaluation – What is the best server for 100 users?
  • 19. WHY MANUAL LOADTESTING PROBLEMATIC? - Do you have the testing resources? (personnel/machines) - How do you coordinate and synchronize multiple users? - How do you achieve test repeatability? - How do you collect and analyze results?
  • 20. PERFORMANCETESTING PROCESS Planning •Identifying performance requirements •Setting expectations & measurements •Selecting test types •Preparing test plan •Modeling the load
  • 21. PERFORMANCETESTING PROCESS Scripting •It is difficult to perform load test manually •Always a tool will be used •In general user actions will be recorded •This is known as generating VUser scripts •It may require to modify the scripts after recording
  • 22. PERFORMANCETESTING PROCESS Testing •Preparing test lab •Execute the test according to plan •Store the results
  • 23. PERFORMANCETESTING PROCESS Result Analysis •Analyze failed results •Reasons not to achieve expected results
  • 24. PERFORMANCE TESTTOOLS •Load Runner 8.0 •Silk Performer 6.5 •JMeter (Web only) •Rational Performance Tester 2003 •Test Complete 3.0 (Web only)
  • 26. SELECTING A PERFORMANCETOOL • Customer preference tool • Availability of license within customer machine • Availability of test environment • Additional protocol support • License cost • Efficiency of tool • User options for testing • Vendor support
  • 28. LoadRunner EXPERT WORKFLOW SUMMARY 4.1 Verify that Vusers run concurrently 4.2 Isolate top time transactions 4.3 Run full load test 4.4 Isolate hardware and software limitations 1.1 Get system usage information 1.2 Document business process properties 1.3 Determine which fields to parameterize 1.4 Establish which data to use Tune System Based on Analysis Analyze System Under Load Phase 5 Run Scenarios Phase 4 Create Scenarios Phase 3 Create Web Virtual Users Phase 2Phase 1 Plan Load Test 2.1 Record user actions 2.2 Add LoadRunner transactions 2.3 Parameterize data 2.4 Add verification checks 2.5 Verify correct execution 3.1 Define hosts 3.2 Connect hosts 3.3 Define scripts 3.4 Add Vusers
  • 30. PERFORMANCE TEST SCENARIO 1 It is expected that company X web-site is accessed by 1000 of their customers during day time on average per hour. Their customer base consists of corporate, resellers and domestic consumers. They expect that the website home page to be loaded within 1 second. How do you plan the performance Test?
  • 31. PERFORMANCE TEST SCENARIOS The list of scenarios which you should include in your performance test, Most Frequently Accessed Scenarios: Application scenarios which are mostly accessed by end users. As such scenarios will affect maximum users they must be included in load test. For example, browsing product catalog in an E- commerce web application. Business Critical Scenarios: Application scenarios where application core features exists. For example, purchasing a product is a business critical scenario in an E-commerce application.
  • 32. PERFORMANCE TEST SCENARIOS CONT.. Resource Intensive Scenarios: Such scenarios which are expected to consume more system resources as compared to others. For example, order placement will be most resource intensive scenario in an E-commerce web application. Contractually Obligated Scenarios: Application scenarios for which company has contracted to provide hassle free services. These scenarios might not be used very frequently but they can create huge business loss in case of failure. For example, company claims its home page loads within 3 seconds.
  • 33. PERFORMANCE TEST SCENARIOS CONT.. Stakeholders Concerning Scenarios: Stakeholders could be more concerned on AUT new features impact on its overall performance. Time Dependent Frequently Accessed Scenarios: Time dependent scenarios which are executed very frequently but on certain occasions only. For example, viewing monthly pay roll slip on an online payroll application. Technology Specific Scenarios: These are the scenarios which are specific to AUT selected technology. For example, uploading a file through FTP server could be an example of technology specific scenario.
  • 34. DO’S & DON'TS Do’s Do test early and do test often Do establish what is and is not acceptable performance for your application Do test from the user’s perspective - it’s the only one that counts Do baseline and compare your findings Do monitor your system while you test Do test whenever there’s a change in your site’s content, code or infrastructure Don’ts Don’t wait until the last minute to test Don’t depend on your customers to do your testing for you Don’t test under unrealistic conditions Don’t forget that increases in table sizes, disk usage and network traffic will degrade your application’s performance over time Don’t be so quick to throw hardware at the problems you turn up - it doesn’t always help

Editor's Notes

  1. Discipline concerned with detecting and reporting the current behavior of the software system. Detect(What) Diagnose(Why)  Resolve----Not Resolved-->Detect Non- Fnctional testing to determine the system responsiveness, stability, reliability & Scalability
  2. Performance of ur application = performance of ur business
  3. weB APP : Long user response time *Memory leaks *High CPU usage *Too many open connections *Length queues for requests *Too many table scans of database *Database deadlocks *Erroneous data returned *HTTP errors Pages not available Db :Insufficient Indexing Fragmented Database Out-of-date Statistics Faulty Application Design Web Server : High CPU Usage • Poor Server Design • Memory Problems App S P:  Poor Database Tuning • Poor Cache Management • Poor Session Management • Poor Security Design NW: Firewall throughput * internet access troughput * Load balances, gateways,routers