# What is a soak test?

> Soak testing holds a representative workload over time. Follow a report service whose database connections slowly run out despite passing short runs.

Source: https://cueapril.com/knowledge/definitions/soak-testing
Updated: 2026-12-02
Index: https://cueapril.com/llms.txt

## 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](https://app.cueapril.com/sign-up/?next=%2Fquality-start)

## Related reading

- [Workload model](https://cueapril.com/knowledge/definitions/workload-model)

- [Spike testing](https://cueapril.com/knowledge/definitions/spike-testing)

- [How to write a release readiness report](https://cueapril.com/knowledge/how-to/write-a-release-readiness-report)

[Browse the Knowledge base](https://cueapril.com/knowledge)
