DOCS / CSHARPLOAD / WORKLOADS
Workloads
CSharpLoad supports open and closed load models.
Open model
Use an arrival rate when you want traffic to arrive independently from response time.
Load.ConstantRate(100, TimeSpan.FromMinutes(2));
Load.RampRate(10, 250, TimeSpan.FromMinutes(5));Closed model
Use virtual users when each user waits for its current iteration before starting another.
Load.KeepUsers(50, TimeSpan.FromMinutes(2));
Load.RampUsers(5, 100, TimeSpan.FromMinutes(5));Use WithMaxConcurrency to bound local concurrency. For closed workloads it should be sized consistently with the requested virtual-user population.