SlideShare a Scribd company logo
An Introduction to
Performance Testing
Performance Testing 101
 Performance testing is the process of determining the speed, responsiveness and
stability of a computer, network, software program, or device under a workload.
 Small workloads can be generated manually, while larger ones require a tool.
 Performance testing is a process, not a one time test.
 Plan  Script -> Execute  Optimize
Why do performance testing?
► Many possible bottlenecks
► Not always obvious
► Outages due to performance are most obvious problem
► Slow downs can halt conversions and encourage drift
► Find issues traditional testing can’t find
► Memory leaks
► Timeouts
► Unexpected results
Why do performance testing?
► Performance tuning – learn to tune your system for optimal performance before
going live
► Monitoring – monitoring is your best defence against service degradation
► Performance testing helps understand symptoms and warning signs
► Understanding impact of altering server configurations and scaling
Types of performance testing
► Load – testing a system under an expected work load
► Stress – testing a system under a greater-than-expected work load
► Endurance (Soak) – continuous, expected load for long durations (memory leakage)
► Spike – sudden increase in users
► Volume – large data volumes to process
► Break Testing – determining the volume at which performance begins to degrade, what that looks
like, and then further, what it looks like when it breaks
► Scalability Testing – understanding the impact and usefulness of scaling parts of your system on
performance
Potential system bottlenecks
► As many possible sources as you can imagine
► Bottleneck analysis can be its own sub-specialization
► Common sources
► Network – load balancers, network interface cards, over-tight security, inadequate
bandwidth, network architecture
► Web Server – broken links, inadequate transaction design, high SSL transactions, poor
server configuration
► App Server – memory leaks, garbage collection, DB connections poor configuration,
inefficient code transactions, session model, server configuration, poor use of OS resources
► DB – ineffective SQL, small query plan cache, DB configuration, data cache, excess DB
connections, excessive rows at a time, ineffective indexing, ineffective concurrency, outdated
statistics, deadlocks, poor configuration mirroring/backup
Performance testing metrics
► Many metrics – some common ones
► User Experience Based (from Tricentis Flood)
► Response Time
► # of Concurrent Users
► Passed Transactions
► Failed Transactions
► Infrastructure Based (from APM tools like New Relic, Dynatrace, AppDynamics, etc.)
► Processor – processor usage, memory use, disk time, private bytes, CPU interrupts per second
► Network – bandwidth usage, output queue length, bytes total per second, throughput
► Memory – private bytes, memory/pages per second, page faults per second, committed memory
► Disk – disk queue length, reads per second
►
Best user flows
Skills required
Maintenance
Reuse
Complicated flows,
lower load needed,
newer features
Intermediate (Similar
to Selenium)
Minimal
Reuse functional tests
for load
Simpler flows, higher
load needed,
established features
Advanced – multiple
API calls
High – frequently
breaks
Little/No reuse
Choosing your performance testing approach
Browser Level Protocol Level
Browser Level
(UI Based)
Protocol Level
(API Based)
Tricentis Tosca UI (Beta)
(Cross browser test)
TricentisTosca API (Beta)
Flood Element
Selenium for Java
Jmeter
Gatling
Types of Performance Testing Tools
Ready to begin performance testing, but not sure
where to start? We can help with that.
Drop us a line at info@pqatesting.com.

More Related Content

PPTX
Run MongoDB with Confidence Using MongoDB Management Service (MMS)
PDF
Server monitoring basics every sysadmin should know
PPTX
Application performance testing services
PPT
STORServer Reporter
PPSX
OutSystems community meetup 2018 11 service modules
PPTX
System software 3
PPTX
Cassandra Applications Benchmarking
PPTX
05. performance-concepts
Run MongoDB with Confidence Using MongoDB Management Service (MMS)
Server monitoring basics every sysadmin should know
Application performance testing services
STORServer Reporter
OutSystems community meetup 2018 11 service modules
System software 3
Cassandra Applications Benchmarking
05. performance-concepts

Similar to PQA's Performance Testing 101 (20)

PPTX
05. performance-concepts-26-slides
PPT
Software Performance
PDF
Adding Value in the Cloud with Performance Test
PPTX
Performance Testing
PPT
Performance Testing Overview
PDF
Performance Whackamole (short version)
PDF
Building data intensive applications
PPTX
Performance testing basics
PDF
performancetestinganoverview-110206071921-phpapp02.pdf
PPTX
24 Hours of PASS, Summit Preview Session: Virtual SQL Server CPUs
PDF
Salesforce Performance hacks - Client Side
PDF
I pushed in production :). Have a nice weekend
PPTX
Interpreting Performance Test Results
PPT
Performance testing : An Overview
PDF
Network visibility and control using industry standard sFlow telemetry
PPT
network-management Web base.ppt
PDF
Illuminate - Performance Analystics driven by Machine Learning
PPTX
Run MongoDB with Confidence: Backing up and Monitoring with MMS
PPTX
Benchmarking NGINX for Accuracy and Results
PPTX
RuSIEM overview (english version)
05. performance-concepts-26-slides
Software Performance
Adding Value in the Cloud with Performance Test
Performance Testing
Performance Testing Overview
Performance Whackamole (short version)
Building data intensive applications
Performance testing basics
performancetestinganoverview-110206071921-phpapp02.pdf
24 Hours of PASS, Summit Preview Session: Virtual SQL Server CPUs
Salesforce Performance hacks - Client Side
I pushed in production :). Have a nice weekend
Interpreting Performance Test Results
Performance testing : An Overview
Network visibility and control using industry standard sFlow telemetry
network-management Web base.ppt
Illuminate - Performance Analystics driven by Machine Learning
Run MongoDB with Confidence: Backing up and Monitoring with MMS
Benchmarking NGINX for Accuracy and Results
RuSIEM overview (english version)
Ad

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced IT Governance
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Big Data Technologies - Introduction.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx
Advanced IT Governance
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25 Week I
Big Data Technologies - Introduction.pptx
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
cuic standard and advanced reporting.pdf
Ad

PQA's Performance Testing 101

  • 2. Performance Testing 101  Performance testing is the process of determining the speed, responsiveness and stability of a computer, network, software program, or device under a workload.  Small workloads can be generated manually, while larger ones require a tool.  Performance testing is a process, not a one time test.  Plan  Script -> Execute  Optimize
  • 3. Why do performance testing? ► Many possible bottlenecks ► Not always obvious ► Outages due to performance are most obvious problem ► Slow downs can halt conversions and encourage drift ► Find issues traditional testing can’t find ► Memory leaks ► Timeouts ► Unexpected results
  • 4. Why do performance testing? ► Performance tuning – learn to tune your system for optimal performance before going live ► Monitoring – monitoring is your best defence against service degradation ► Performance testing helps understand symptoms and warning signs ► Understanding impact of altering server configurations and scaling
  • 5. Types of performance testing ► Load – testing a system under an expected work load ► Stress – testing a system under a greater-than-expected work load ► Endurance (Soak) – continuous, expected load for long durations (memory leakage) ► Spike – sudden increase in users ► Volume – large data volumes to process ► Break Testing – determining the volume at which performance begins to degrade, what that looks like, and then further, what it looks like when it breaks ► Scalability Testing – understanding the impact and usefulness of scaling parts of your system on performance
  • 6. Potential system bottlenecks ► As many possible sources as you can imagine ► Bottleneck analysis can be its own sub-specialization ► Common sources ► Network – load balancers, network interface cards, over-tight security, inadequate bandwidth, network architecture ► Web Server – broken links, inadequate transaction design, high SSL transactions, poor server configuration ► App Server – memory leaks, garbage collection, DB connections poor configuration, inefficient code transactions, session model, server configuration, poor use of OS resources ► DB – ineffective SQL, small query plan cache, DB configuration, data cache, excess DB connections, excessive rows at a time, ineffective indexing, ineffective concurrency, outdated statistics, deadlocks, poor configuration mirroring/backup
  • 7. Performance testing metrics ► Many metrics – some common ones ► User Experience Based (from Tricentis Flood) ► Response Time ► # of Concurrent Users ► Passed Transactions ► Failed Transactions ► Infrastructure Based (from APM tools like New Relic, Dynatrace, AppDynamics, etc.) ► Processor – processor usage, memory use, disk time, private bytes, CPU interrupts per second ► Network – bandwidth usage, output queue length, bytes total per second, throughput ► Memory – private bytes, memory/pages per second, page faults per second, committed memory ► Disk – disk queue length, reads per second ►
  • 8. Best user flows Skills required Maintenance Reuse Complicated flows, lower load needed, newer features Intermediate (Similar to Selenium) Minimal Reuse functional tests for load Simpler flows, higher load needed, established features Advanced – multiple API calls High – frequently breaks Little/No reuse Choosing your performance testing approach Browser Level Protocol Level
  • 9. Browser Level (UI Based) Protocol Level (API Based) Tricentis Tosca UI (Beta) (Cross browser test) TricentisTosca API (Beta) Flood Element Selenium for Java Jmeter Gatling Types of Performance Testing Tools
  • 10. Ready to begin performance testing, but not sure where to start? We can help with that. Drop us a line at info@pqatesting.com.