In the previous lesson, we learned about the different ways to pass test data to the Gatling test script using Feeders. In this lesson, we will learn about the different ways to inject users into the simulation.

Gatling provides various ways to inject users and stimulate the load on the environment.

atOnceUsers

Injects a specific number of users at the same time.

Example:

scn.inject(atOnceUsers(10))

Get hands-on with 1200+ tech skills courses.