Hello All,
I’m new to Gatling tool usage. I have recently installed Gatling 2.0.0 Snapshot on Mac 64-bit.
I’m experiencing syntax errors, on trying to run following code listed in Gatling wiki.
setUp(scn.inject(nothingFor(4 seconds),
atOnce(10 users),
ramp(10 users) over (5 seconds),
constantRate(20 usersPerSec) during (15 seconds),
rampRate(10 usersPerSec) to(20 usersPerSec) during(10 minutes),
split(1000 users).into(ramp(10 users) over (10 seconds))
.separatedBy(10 seconds),
split(1000 users).into(ramp(10 users) over (10 seconds))
.separatedBy(atOnce(30 users)))
.protocols(httpConf)
It seems these api changed, for e.g.:
atOnce(10 users) => atOnceUsers(10)
ramp(10 users) => rampUsers(10)
I’m still having issues with following error.
Simulation.scala:41: not found: value constantRate
17:59:18.035 [ERROR] i.g.a.ZincCompiler$ - constantRate(20 usersPerSec) during (15 seconds),
could you please point me to correct documentation for Gatling2.0.0-Snapshot.
kindly advise if I need to any other version.
Thanks & Regards,
Raj