%%
Last Updated:
- [[2021-04-19]]
%%
[[Test parameters]] like [[Number of virtual users]], [[Ramp-up]], and [[Load test duration]] in [[Gatling]] is set at the scenario level:
In Gatling, the threads and ramp up are set in the line `setUp(scn.inject(rampUsers(threads) during (rampup seconds))).protocols(httpConf)`, where you replace the parameters threads and rampup with the values you want. You can set the duration by including this line of code:
```scala
val scn = scenario("scenario")
.during(duration seconds) {
exec(
//Requests here
)
)
}
```