What is Soak Testing?
Soak testing (also called endurance or longevity testing) runs a system under a sustained, typical load for an extended period, hours or days, to surface problems that only appear over time, such as memory leaks, resource exhaustion, and gradual performance degradation.
Free to start · 7-day trial on paid plans
In depth.
A short load test can pass while a system is quietly broken. Soak testing exists because some failures are time-dependent: a small memory leak that is invisible in a ten-minute run will crash the service after twelve hours; a connection or file handle that is never released will eventually exhaust the pool; logs or caches that grow unbounded will fill the disk; and response times can creep upward as garbage collection or fragmentation accumulates.
The method is to apply a realistic, sustained load (not a peak, but normal expected traffic) and watch trend lines over a long window: memory, CPU, connection counts, response times, and error rates. The signal you are hunting is a slow drift, anything that is not flat over time is suspect. Soak tests are usually run in a production-like environment with good observability, because without metrics over time you cannot see the slope.
It sits in the performance-testing family alongside load testing (behavior at expected and peak load), stress testing (beyond capacity to find the breaking point), and spike testing (sudden sharp changes). Soak is the one that catches the bugs a clock reveals.
Why interviewers ask about this.
Soak testing signals that you think about reliability over time, not just a passing snapshot. For SDET, performance, and platform roles, knowing it catches leaks and slow degradation that short tests miss is a strong differentiator.
Example scenario.
A service passes every load test but is soak-tested at normal traffic for 24 hours before launch. Memory climbs steadily and the service OOMs at hour 16, a leaked database connection per request. The slow leak was invisible in short runs and would have taken down production overnight.
Interview tip.
Define soak testing as sustained, normal load over a long window to find time-dependent failures (leaks, resource exhaustion, drift). Distinguish it from load, stress, and spike testing, and stress that you watch trends over time, not a single number.
Frequently asked questions.
What is the difference between soak testing and load testing?
Load testing checks behavior at expected and peak load over a short window. Soak testing applies sustained normal load over a long period (hours to days) to surface time-dependent issues like memory leaks and gradual degradation.
How long should a soak test run?
Long enough for slow problems to appear, commonly several hours to a few days, depending on the system and release risk. The goal is to watch resource and response-time trends drift, so the window must be long enough to see the slope.
Related Terms
Explore related glossary terms to deepen your understanding.
Related Resources
Dive deeper with these related interview prep pages.
Free QA career tools, no account needed
Instant and private, everything runs in your browser. Try them before you sign up.
QA Resume Checker
Instant 0-100 score on automation keywords, impact, and ATS formatting.
QA Cover Letter Generator
A tailored 3-paragraph QA cover letter from your resume and a job post.
QA Application Tracker
Drag-and-drop kanban to track every QA application from Applied to Offer.
QA Take-Home Test Generator
A realistic take-home assignment with a scenario, tasks, and a rubric.
QA LinkedIn Headline Generator
A recruiter-searchable headline, About section, and skills list.
QA STAR Story Builder
Structure a QA behavioral answer with the STAR method and instant checks.
QA Bug Report Generator
Build a clean, reproducible bug report for Markdown, Jira, or plain text.
Boundary Value Analysis Generator
Generate boundary value and equivalence partitioning test cases from a range.
QA Metrics Calculator
Calculate DRE, defect leakage, defect density, and pass rate with interpretation.
QA Test Plan Generator
Build a structured test plan (scope, approach, criteria, risks) in Markdown.
Ready to Ace Your QA Interview?
Practice explaining soak testing and other key concepts with our AI interviewer.
Join 1,200+ QA engineers already practicing with AssertHired.
Start your free QA interview