What types of performance testing do you use, and what question does each type answer?
Answer
Load testing checks behavior under anticipated realistic load. Stress testing pushes to or beyond expected limits to expose the breaking point and behavior under scarcity. Spike testing checks sudden bursts and recovery to a steady state. Endurance or soak testing checks long-running stability and resource leaks. Scalability testing checks whether the system can grow while meeting requirements. Volume testing focuses on large data volumes where data size itself is the pressure.
Strong answer includes
- distinguishes the objective of each test type
- includes load, stress, spike, endurance and scalability
- chooses a test type from risk rather than treating the names as synonyms
Practical example
A Black Friday checkout may need a normal peak-load test, a spike test for a flash promotion, and an endurance test for the sustained sale window. Those are separate questions even if the same script participates in all three runs.