Definition

Workload model

What is a workload model in performance testing?

A workload model describes the traffic a performance test represents. It specifies the mix of journeys, when work arrives, the data involved and the conditions that affect demand. These details give a measured response time or capacity figure its meaning.

Why distinguish a fixed user count from a fixed arrival rate?

A group of users who wait for replies before continuing can send fewer requests when a service slows. A test that schedules independent arrivals keeps applying demand at the chosen rate, within the generator’s capacity. Record which model you used and compare the work actually sent with the work planned.

Worked example

Modelling a ticket office on booking day

Most visitors browse sessions, some reserve seats and a smaller group pays. Use observations from a comparable booking window to set those proportions. Simulating only cached timetable reads would leave the reserve-and-pay path out of a capacity claim.

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