Part 1: Fundamentals of Performance Testing (Performance Testing Revision Cheat Sheet)
📌 Definition
Performance Testing is a non-functional testing technique used to determine how a system performs under expected or peak workload conditions in terms of responsiveness, stability, scalability, and reliability.
🎯 Objectives
-
Identify response time, throughput, and resource utilization.
-
Detect bottlenecks (CPU, memory, I/O, network, DB).
-
Establish a baseline for performance.
-
Ensure the system meets SLAs (Service Level Agreements).
-
Validate scalability and stability.
🛠️ Key Performance Metrics
-
Response Time (Latency): Time taken to respond to a request.
-
Throughput: Number of transactions processed per second/minute.
-
Concurrent Users: Number of users accessing the system simultaneously.
-
Error Rate: Percentage of failed requests.
-
Resource Utilization: CPU, memory, disk I/O, network usage.
🔑 Types of Performance Testing (High-Level)
-
Load Testing – Normal & peak load handling.
-
Stress Testing – Beyond capacity (break point).
-
Spike Testing – Sudden traffic increase.
-
Endurance/Soak Testing – Long-duration stability.
-
Scalability Testing – System growth handling.
-
Volume Testing – Large data handling.
Comments
Post a Comment