What is an endurance or soak test, and what problems are you looking for?
Answer
An endurance test holds a representative workload for a period long enough to expose time-dependent degradation. Look for upward resource trends and exhaustion: memory leaks, heap or GC deterioration, connection or thread-pool leakage, file handles, queues, cache growth, database growth effects and scheduled/background work. A stable average at the beginning does not prove the system will remain stable for hours.
Strong answer includes
- focuses on long-running stability rather than peak capacity
- looks for resource trends and leaks over time
- uses a representative steady workload and sufficient duration
Practical example
Hold normal peak traffic for several hours and watch whether memory returns to a steady range after GC, connection pools release resources, queue depth stays bounded and latency distribution remains stable.