Definition

Soak testing

What is a soak test?

A soak test runs a representative workload for an extended period to find problems that accumulate over time. The team tracks response times, errors, correctness and resource use throughout the run so gradual degradation is visible.

How long should the workload run?

Choose a duration that exposes the mechanism you care about. A leak may need repeated transactions, while a scheduled cleanup needs the test to span its cycle. Compare matched periods near the start and end and record any change in arrival rate, restarts or data volume that could explain a trend.

Worked example

A connection pool empties slowly

A report service handles short trials comfortably. Under the same traffic mix over a full workday, available database connections decline and the slowest requests take longer. Keep the two time series together so a developer can investigate whether connections are being returned.

Try it on your pull request

Choose a change in your repository and tell Cue April what should happen. Review the proposed checks before they run.

Try Cue April on your repository