WASP - Profile
A Profile allows you to combine load from different generators. Each generator operates according to its own schedule, and you can even mix RPS and VU load types, as shown in this example.
note
The error
returned by the .Run(true)
function of a Profile
might indicate the following:
- load generator did not start and instead returned an error
- or if
Profile
was created withWithGrafana
option that enabledCheckDashboardAlertsAfterRun
that at some alerts fired. To check for errors during load generation, you need to call theErrors()
method on eachGenerator
within theProfile
.
Timing Considerations
It is not possible to have different generators in the same Profile
start load generation at different times.
If you need staggered start times, you must use separate Profiles
and handle timing in your Go
code.
An example demonstrating this can be found here.