Definition

Spike testing

What is a spike test?

A spike test applies a sudden, bounded increase in demand and observes both the immediate effect and the recovery when demand subsides. The result includes how the system handled the burst, whether work completed correctly and how long it took to return to its agreed operating range.

When does the recovery measurement start?

Specify the end of the burst, the baseline demand that follows and the condition that counts as recovered. Include backlog and correctness alongside response times. Agree the test environment, demand ceiling and stop conditions before the run so an interrupted result can be interpreted.

Worked example

A rush of venue reservations

In a dedicated performance environment, model the first minutes after tickets become available and then return to the normal arrival rate. The home page may become fast again while a queue of unconfirmed reservations remains. Record when that queue also returns to its expected range.

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