Hello,
Am using the closed model to create a stress test with 5 levels, but the first level users are not ruped up. They are launched concurently at the beginning.
`
scn.inject(
incrementConcurrentUsers(5)
.times(5)
.eachLevelLasting(30seconds)
.separatedByRampsLasting(10 seconds)
.startingFrom(0) )
`

Is there a way to apply the rampup on the first level users ?
Thanks in advance
scn.inject(
rampConcurrentUsers(0).to(5).during(10 seconds),
incrementConcurrentUsers(5)
.times(5)
.eachLevelLasting(30seconds)
.separatedByRampsLasting(10 seconds)
.startingFrom(5)
)

Thanks for your reply.
it doesn’t compile:
Error:(66, 20) not enough arguments for method inject: (implicit evidence$1: io.gatling.core.controller.inject.InjectionProfileFactory[Product with Serializable])io.gatling.core.structure.PopulationBuilder.
Unspecified value parameter evidence$1.
scnICM04.inject(
Error:(66, 20) could not find implicit value for evidence parameter of type io.gatling.core.controller.inject.InjectionProfileFactory[Product with Serializable]
scnICM04.inject(
My code is as follow:
import io.gatling.core.Predef.{incrementConcurrentUsers, rampConcurrentUsers, _}
import io.gatling.http.Predef._
import scala.concurrent.duration._
class HttpSimulation extends Simulation {
val scn = scenario("Custom Scenario")
.exec(
http("gatling demo site")
.get("[http://databcomputer-ase.gatling.io](http://databcomputer-ase.gatling.io)")
)
setUp(
scn.inject(
rampConcurrentUsers(0) to(5) during(10 seconds),
incrementConcurrentUsers(5)
.times(5)
.eachLevelLasting(30 seconds)
.separatedByRampsLasting(10 seconds)
.startingFrom(5)
)
)
}

Right.
Then don’t use this meta profile and configure each step individually from constantConcurrentUsers and rampConcurrentUsers
