Why is a soak/endurance test particularly effective at exposing memory leaks and resource exhaustion?
Last updated
A soak (endurance) test holds moderate load for hours or days, so cumulative problems like tiny per-request leaks grow large enough to see.
Bounded resources (DB connections, file handles, sockets, threads, disk) slowly drain. Symptoms build gradually: creeping latency, more GC, then collapse or OOM.
Watch memory trend, handle/connection counts, GC frequency, and latency drift against a flat baseline. Short tests hide all of this.
- https://k6.io/docs/test-types/soak-testing/
- https://gatling.io/blog/what-is-load-testing
- https://medium.com/draftkings-engineering/soak-testing-as-part-of-sdlc-a07b2dbc3fd7
- https://medium.com/@tito.irfanwibisono/load-test-performance-test-in-software-qa-as-gatekeeper-393465abd515
- https://gatling.io/blog/load-testing-vs-stress-testing
- https://gatling.io/blog/test-as-code
- https://gatling.io/blog/load-testing-report
- https://dev.to/gatling/what-is-load-testing-all-you-need-to-know-to-prevent-downtime-10hc