SlideShare a Scribd company logo
PerformanceTesting
Prepared By : Hassan Mohammed
Agenda
▪ Why performance testing?
▪ Fundamental of performance testing
▪ Performance testing process
▪ Result analysis
▪ HP Loadrunner
Why performance testing?
▪ What is performance?
▪ Performance optimization areas (software-hardware-network)
▪ Performance Measurement
▪ Service oriented (availability – response time)
▪ Efficiency oriented (throughput – utilization )
▪ Performance standard
▪ SLA (network latency – server availability )
▪ Internet benefits
▪ Note:- If an end user perceives bad performance from your web site, their
▪ next click will likely be on your-competition.com.
Bad Performance: Why It’s So Common
▪ The IT BusinessValue Curve
▪ PerformanceTesting Maturity
▪ Firefighting
▪ PerformanceValidation (orVerification)
▪ Performance Driven
▪ Lack of PerformanceConsiderations in Application Design
▪ PerformanceTesting Is Left to the Last Minute
▪ How Many Users AreThere?
▪ UnderestimatingYour Popularity
▪ ApplicationTechnology Impact
▪ Not Using AutomatedTestingTools
The Fundamentals of Effective
Application
PerformanceTesting
Performance awareness should be built into the application life
cycle as early as possible.
Effective performance testing factors
▪ Choosing an appropriate performance testing tool
▪ Designing an appropriate performance test environment
▪ Setting realistic and appropriate performance targets
▪ Making sure your application is stable enough for performance testing
▪ Obtaining a code freeze
▪ Identifying and scripting the business-critical transactions
▪ Providing sufficient test data of high quality
▪ Ensuring accurate performance test design
▪ Identifying the server and network monitoring key Performance Indicators (KPIs)
▪ Allocating enough time to performance test effectively
Choosing an appropriate performance testing
tool
▪ Testing tools architecture
▪ Scripting module
▪ Test management module
▪ Load injector(s)
▪ Analysis module
▪ What to Look for in an Automated
PerformanceTestingTool
Designing an Appropriate PerformanceTest
Environment
▪ PerformanceTest environment
▪ An exact or very close copy of the live environment. Ideal
▪ A subset of the live environment with fewer servers but specification and tier-deployment matches to that of
the live environment. frequently achievable
▪ A subset of the live environment with fewer servers of lower specification. most common situation
▪ Virtualization
▪ Load Generators
▪ Load balancing
▪ User session limits
▪ Addressing Different Deployment Models
▪ Available bandwidth
▪ Network latency
▪ Load injection from aWAN location
▪ Network simulation
Setting Realistic and Appropriate Performance
Targets. (SLA)
▪ Consensus
▪ Key PerformanceTargets
▪ Availability or uptime
▪ Response time
▪ Concurrency, scalability, and throughput
▪ Network utilization
▪ Server utilization
Making SureYour Application Is Stable Enough
for PerformanceTesting
▪ Avoid High data presentation
▪ Update Poorly performing SQL
▪ Large numbers of application network round trips
▪ Undetected application errors
Obtaining a Code Freeze
Identifying and Scripting the Business-Critical
Transactions
▪ Transaction Checklist
▪ Transaction ReplayValidation
▪ Verify single user replay
▪ Verify multiuser replay
▪ What to Measure? (createTransactions )
▪ To Log In or Not to Log In
▪ Peaceful Coexistence
Providing SufficientTest Data of High Quality
▪ Input Data
▪ User credentials
▪ Search criteria
▪ Associated documents
▪ Target Data
▪ Sizing
▪ Data rollback
▪ Runtime Data
▪ Data Security
Ensuring Accurate PerformanceTest Design
▪ Performance test types
▪ Baseline test
▪ Load test
▪ Stress test
▪ Soak or stability test
▪ Pacing time &Think time
▪ Injection Profile
▪ Big Bang
▪ Ramp-up
▪ Ramp-up (with step)
▪ Ramp up (with step), Ramp down (with step)
▪ Delayed start
▪ Setting the Number ofVirtual Users per script business case
Ensuring Accurate PerformanceTest Design. cont.
▪ Deciding on PerformanceTestTypes
▪ Baseline test each transaction
▪ Load test each transaction
▪ Isolation test individual transactions
▪ Load test transaction groups
▪ Isolation test transaction groups
▪ Soak test transaction groups
▪ Stress test transaction groups
▪ Load Injection Point of Presence
▪ Putting It AllTogether
Identifying the Server and Network Key
Performance Indicators (KPIs)
▪ Server KPIs
▪ • Processor utilization percentage
▪ • Available memory in bytes
▪ • Processor queue length
▪ • Physical disk: % DiskTime
▪ Network KPIs
Allocating EnoughTime to PerformanceTest
Effectively
▪ Lead time to prepare test environment
▪ Lead time to prepare the injection environment
▪ Time to identify and script business transactions
▪ Time to identify and create enough test data
▪ Time to instrument the test environment
▪ Time to prepare and execute performance test runs
▪ Time to deal with any problems identified
PerformanceTest Process
-Prof Of Concept (POC)
-From RequirementTo PerformanceTest
Prof Of Concept (POC)
▪ Prerequisites
▪ Process
▪ Deliverables
From Requirements to PerformanceTest
▪ Activity Duration Guidelines
▪ Step 1: Pre-Engagement Requirements Capture
▪ Step 2:Test Environment Build
▪ Step 3:Transaction Scripting
▪ Step 4: PerformanceTest Build
▪ Step 5: PerformanceTest Execution
▪ Step 6 (Post-Test Phase): Analyze Results, Report, Retest
Interpreting Results: Effective
Root-Cause Analysis
The Analysis Process
• Real-Time Analysis
• Response-time data for each transaction in the performance test
• You must be able to monitor the injection profile
• You should be able to monitor the state of all load injectors
• You need to monitor data that relates to any server,
• A display of any performance thresholds
• A display of all errors that occur during test execution
• Post-Test Analysis
• All performance related information that was gathered during the test should be available at the test’s conclusion and
may be stored
Types of Output from a PerformanceTest
• Statistics Primer
• Mean and median
• Standard deviation and normal distribution
• Nth percentile
• Response-Time Measurement
• Throughput and Capacity
• Monitoring Key Performance Indicators (KPIs)
• Server performance
• Network Performance
• Load Injector Performance
Performance testing
Performance testing

More Related Content

PPTX
Net flix embracingfailure re-invent2014-141113085858-conversion-gate02
PPTX
System Revolution- How We Did It
DOC
Piyush Kumar Gupta
PDF
Cloudflare Load Balancing for Monitoring Origin Server Health and Automatic F...
PDF
Production Ready Microservices at Scale
PPTX
Building block development in managed hosting - Angelo Rossi, Manager, Comple...
PPTX
Optimizing performance
PPTX
Srivalli Aparna - The Blueprints to Success
Net flix embracingfailure re-invent2014-141113085858-conversion-gate02
System Revolution- How We Did It
Piyush Kumar Gupta
Cloudflare Load Balancing for Monitoring Origin Server Health and Automatic F...
Production Ready Microservices at Scale
Building block development in managed hosting - Angelo Rossi, Manager, Comple...
Optimizing performance
Srivalli Aparna - The Blueprints to Success

What's hot (20)

PPSX
Automation & Professional Services
PPTX
Andreas Grabner - Performance as Code, Let's Make It a Standard
PPTX
Top 5 Java Performance Metrics, Tips & Tricks
PPTX
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
PPTX
LandsEnd TechEd2016 (1)
PDF
UEMB210: Software Delivery: Best Practices
PPTX
Free training on Network Configuration Manager - Season 2 - Part 2
DOC
Continued Accomplishments during this position
PDF
Technical and Business Considerations for DNSSEC Deployment
PDF
Optimizing IT Infrastructure For Peak Database Performance
PDF
APIs: Intelligent Routing, Security, & Management
PPTX
Monitoring a Dynamics CRM Infrastructure
PPTX
NGINX Plus R18: What's new
PDF
Java Middleware Surgery
PPTX
Dynamics CRM high volume systems - lessons from the field
PPTX
URP? Excuse You! The Three Kafka Metrics You Need to Know
PPTX
Free training on NCM - Discovery & Disaster recovery
PPTX
Sdn not just a buzzword
PDF
I pushed in production :). Have a nice weekend
PPT
Praxistaugliche notes strategien 4 cloud
Automation & Professional Services
Andreas Grabner - Performance as Code, Let's Make It a Standard
Top 5 Java Performance Metrics, Tips & Tricks
Oracle SOA Suite Performance Tuning- UKOUG Application Server & Middleware SI...
LandsEnd TechEd2016 (1)
UEMB210: Software Delivery: Best Practices
Free training on Network Configuration Manager - Season 2 - Part 2
Continued Accomplishments during this position
Technical and Business Considerations for DNSSEC Deployment
Optimizing IT Infrastructure For Peak Database Performance
APIs: Intelligent Routing, Security, & Management
Monitoring a Dynamics CRM Infrastructure
NGINX Plus R18: What's new
Java Middleware Surgery
Dynamics CRM high volume systems - lessons from the field
URP? Excuse You! The Three Kafka Metrics You Need to Know
Free training on NCM - Discovery & Disaster recovery
Sdn not just a buzzword
I pushed in production :). Have a nice weekend
Praxistaugliche notes strategien 4 cloud
Ad

Similar to Performance testing (20)

PPTX
Performance testing
PPTX
Performance Testing
PPTX
Application Performance Monitoring with code level diagnostics
PPTX
Benchmarking NGINX for Accuracy and Results
PPTX
Load testing with Visual Studio and Azure - Andrew Siemer
PPTX
Closing the door on application performance problems
PDF
Adding Value in the Cloud with Performance Test
DOC
Aakash shah performance tester
PPT
PPTX
Neev Load Testing Services
PDF
performancetestinganoverview-110206071921-phpapp02.pdf
PPTX
Application Performance Monitoring (APM)
PPTX
Application Performance Management
PPTX
DevDay: Corda Enterprise: Journey to 1000 TPS per node, Rick Parker
 
PPT
Performance Testing Overview
PDF
SharePoint Performance Monitoring with Sean P. McDonough
PDF
Integration strategies best practices- Mulesoft meetup April 2018
PPT
Implementing a Performance Centre of Excellence
PPTX
Website performance optimization QA
PDF
Fundamentals Performance Testing
Performance testing
Performance Testing
Application Performance Monitoring with code level diagnostics
Benchmarking NGINX for Accuracy and Results
Load testing with Visual Studio and Azure - Andrew Siemer
Closing the door on application performance problems
Adding Value in the Cloud with Performance Test
Aakash shah performance tester
Neev Load Testing Services
performancetestinganoverview-110206071921-phpapp02.pdf
Application Performance Monitoring (APM)
Application Performance Management
DevDay: Corda Enterprise: Journey to 1000 TPS per node, Rick Parker
 
Performance Testing Overview
SharePoint Performance Monitoring with Sean P. McDonough
Integration strategies best practices- Mulesoft meetup April 2018
Implementing a Performance Centre of Excellence
Website performance optimization QA
Fundamentals Performance Testing
Ad

Recently uploaded (20)

PDF
medical staffing services at VALiNTRY
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Introduction to Artificial Intelligence
PDF
Nekopoi APK 2025 free lastest update
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administraation Chapter 3
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
medical staffing services at VALiNTRY
PTS Company Brochure 2025 (1).pdf.......
Understanding Forklifts - TECH EHS Solution
Wondershare Filmora 15 Crack With Activation Key [2025
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Introduction to Artificial Intelligence
Nekopoi APK 2025 free lastest update
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
ISO 45001 Occupational Health and Safety Management System
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administraation Chapter 3
2025 Textile ERP Trends: SAP, Odoo & Oracle
Odoo Companies in India – Driving Business Transformation.pdf
Upgrade and Innovation Strategies for SAP ERP Customers
How Creative Agencies Leverage Project Management Software.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool

Performance testing

  • 2. Agenda ▪ Why performance testing? ▪ Fundamental of performance testing ▪ Performance testing process ▪ Result analysis ▪ HP Loadrunner
  • 3. Why performance testing? ▪ What is performance? ▪ Performance optimization areas (software-hardware-network) ▪ Performance Measurement ▪ Service oriented (availability – response time) ▪ Efficiency oriented (throughput – utilization ) ▪ Performance standard ▪ SLA (network latency – server availability ) ▪ Internet benefits ▪ Note:- If an end user perceives bad performance from your web site, their ▪ next click will likely be on your-competition.com.
  • 4. Bad Performance: Why It’s So Common ▪ The IT BusinessValue Curve ▪ PerformanceTesting Maturity ▪ Firefighting ▪ PerformanceValidation (orVerification) ▪ Performance Driven ▪ Lack of PerformanceConsiderations in Application Design ▪ PerformanceTesting Is Left to the Last Minute ▪ How Many Users AreThere? ▪ UnderestimatingYour Popularity ▪ ApplicationTechnology Impact ▪ Not Using AutomatedTestingTools
  • 5. The Fundamentals of Effective Application PerformanceTesting Performance awareness should be built into the application life cycle as early as possible.
  • 6. Effective performance testing factors ▪ Choosing an appropriate performance testing tool ▪ Designing an appropriate performance test environment ▪ Setting realistic and appropriate performance targets ▪ Making sure your application is stable enough for performance testing ▪ Obtaining a code freeze ▪ Identifying and scripting the business-critical transactions ▪ Providing sufficient test data of high quality ▪ Ensuring accurate performance test design ▪ Identifying the server and network monitoring key Performance Indicators (KPIs) ▪ Allocating enough time to performance test effectively
  • 7. Choosing an appropriate performance testing tool ▪ Testing tools architecture ▪ Scripting module ▪ Test management module ▪ Load injector(s) ▪ Analysis module ▪ What to Look for in an Automated PerformanceTestingTool
  • 8. Designing an Appropriate PerformanceTest Environment ▪ PerformanceTest environment ▪ An exact or very close copy of the live environment. Ideal ▪ A subset of the live environment with fewer servers but specification and tier-deployment matches to that of the live environment. frequently achievable ▪ A subset of the live environment with fewer servers of lower specification. most common situation ▪ Virtualization ▪ Load Generators ▪ Load balancing ▪ User session limits ▪ Addressing Different Deployment Models ▪ Available bandwidth ▪ Network latency ▪ Load injection from aWAN location ▪ Network simulation
  • 9. Setting Realistic and Appropriate Performance Targets. (SLA) ▪ Consensus ▪ Key PerformanceTargets ▪ Availability or uptime ▪ Response time ▪ Concurrency, scalability, and throughput ▪ Network utilization ▪ Server utilization
  • 10. Making SureYour Application Is Stable Enough for PerformanceTesting ▪ Avoid High data presentation ▪ Update Poorly performing SQL ▪ Large numbers of application network round trips ▪ Undetected application errors
  • 12. Identifying and Scripting the Business-Critical Transactions ▪ Transaction Checklist ▪ Transaction ReplayValidation ▪ Verify single user replay ▪ Verify multiuser replay ▪ What to Measure? (createTransactions ) ▪ To Log In or Not to Log In ▪ Peaceful Coexistence
  • 13. Providing SufficientTest Data of High Quality ▪ Input Data ▪ User credentials ▪ Search criteria ▪ Associated documents ▪ Target Data ▪ Sizing ▪ Data rollback ▪ Runtime Data ▪ Data Security
  • 14. Ensuring Accurate PerformanceTest Design ▪ Performance test types ▪ Baseline test ▪ Load test ▪ Stress test ▪ Soak or stability test ▪ Pacing time &Think time ▪ Injection Profile ▪ Big Bang ▪ Ramp-up ▪ Ramp-up (with step) ▪ Ramp up (with step), Ramp down (with step) ▪ Delayed start ▪ Setting the Number ofVirtual Users per script business case
  • 15. Ensuring Accurate PerformanceTest Design. cont. ▪ Deciding on PerformanceTestTypes ▪ Baseline test each transaction ▪ Load test each transaction ▪ Isolation test individual transactions ▪ Load test transaction groups ▪ Isolation test transaction groups ▪ Soak test transaction groups ▪ Stress test transaction groups ▪ Load Injection Point of Presence ▪ Putting It AllTogether
  • 16. Identifying the Server and Network Key Performance Indicators (KPIs) ▪ Server KPIs ▪ • Processor utilization percentage ▪ • Available memory in bytes ▪ • Processor queue length ▪ • Physical disk: % DiskTime ▪ Network KPIs
  • 17. Allocating EnoughTime to PerformanceTest Effectively ▪ Lead time to prepare test environment ▪ Lead time to prepare the injection environment ▪ Time to identify and script business transactions ▪ Time to identify and create enough test data ▪ Time to instrument the test environment ▪ Time to prepare and execute performance test runs ▪ Time to deal with any problems identified
  • 18. PerformanceTest Process -Prof Of Concept (POC) -From RequirementTo PerformanceTest
  • 19. Prof Of Concept (POC) ▪ Prerequisites ▪ Process ▪ Deliverables
  • 20. From Requirements to PerformanceTest ▪ Activity Duration Guidelines ▪ Step 1: Pre-Engagement Requirements Capture ▪ Step 2:Test Environment Build ▪ Step 3:Transaction Scripting ▪ Step 4: PerformanceTest Build ▪ Step 5: PerformanceTest Execution ▪ Step 6 (Post-Test Phase): Analyze Results, Report, Retest
  • 22. The Analysis Process • Real-Time Analysis • Response-time data for each transaction in the performance test • You must be able to monitor the injection profile • You should be able to monitor the state of all load injectors • You need to monitor data that relates to any server, • A display of any performance thresholds • A display of all errors that occur during test execution • Post-Test Analysis • All performance related information that was gathered during the test should be available at the test’s conclusion and may be stored
  • 23. Types of Output from a PerformanceTest • Statistics Primer • Mean and median • Standard deviation and normal distribution • Nth percentile • Response-Time Measurement • Throughput and Capacity • Monitoring Key Performance Indicators (KPIs) • Server performance • Network Performance • Load Injector Performance