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
Profilewas created withWithGrafanaoption that enabledCheckDashboardAlertsAfterRunthat at some alerts fired. To check for errors during load generation, you need to call theErrors()method on eachGeneratorwithin 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.