The problem comes from the usersCount users
part of the setUp.
In Scala, this is interpreted as usersCount.users
which, in our case does not exist since Integer does not have a users method.
I think (but I'm not sure since I cannot test it right now), that you should make usersCount an Int
like so: val usersCount: Int = Integer.getInteger("users", 1).toInt
.
Hope this helps!
PS: The reason you should convert Integer
to Int
is because of implicit conversions. This is a really powerful feature of Scala.
PPS: The wiki documentation was valid for Gatling 1.X, it will be updated accordingly for Gatling 2.X