Load testing runs expected traffic to confirm the system meets its targets. Stress testing pushes past capacity to find the breaking point and check that it degrades gracefully rather than collapsing. Soak testing runs sustained moderate load for hours to expose leaks and resource exhaustion. Measure latency percentiles, throughput, error rate, and saturation of CPU, memory, connections, and the database.
Why interviewers ask this
Interviewers want to know you can define a performance test rather than just generate traffic. The important parts are having a target agreed in advance, reporting percentiles instead of averages, and watching resource saturation alongside response times. Mentioning that a soak test catches leaks a one hour load test never will shows you have actually run one rather than read about it.
How to structure your answer
- Define the three types by intent, not just duration.
- Insist on agreeing the target before testing.
- Report percentiles, never averages.
- Watch saturation metrics alongside response times.
- Say why the test environment must resemble production.
Example answer
They differ by intent. Load testing answers whether the system meets its target at expected traffic, so I need that target agreed before I start, something like p95 under 300 milliseconds at two thousand concurrent users with an error rate below a tenth of a percent. Stress testing deliberately goes past that to find where it breaks and, more importantly, how. Graceful degradation with queuing and clear errors is acceptable; data corruption or a cascade that takes down neighboring services is not. Soak testing runs a moderate load for eight or twelve hours, which is the only way to catch slow leaks, connection pools that never return, and log volumes that fill a disk. I once found a memory leak that only appeared after about six hours and would never have surfaced in a thirty minute run. On measurement I report percentiles, because an average hides everything that matters, so p50, p95, and p99 alongside throughput and error rate. And I watch saturation at the same time, so CPU, memory, connection pool usage, and database locks, because response time tells you something is wrong and saturation tells you what.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- How would you model realistic user behavior in a load test?
- What would you do if the test environment is a quarter the size of production?
- How do you tell a real regression from noise between two load test runs?
Related qa engineer questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions