Not found: value splitUsers

Hi!

I’m trying to mimic some specific live situation where 100 users send different requests every 2 seconds, starting 5 seconds after each other.
The 2-seconds break I’ve covered with pace (2 seconds) after each request but I cannot deal with the second condition. I was trying to use this code:

`
setUp(
dailyDutyScenario.inject(
splitUsers(100) into(constantUsersPerSec(1) during(100 seconds)) separatedBy(10 seconds))
.protocols(httpProtocol))

`

When I’m trying to run this, I’m getting this error:

not found: value splitUsers splitUsers(100) into(constantUsersPerSec(1) during(100 seconds)) separatedBy(10 seconds)) ^

What am I doing wrong? Other functions worked correctly when I’ve tried them.

Thanks in advance for any help.

Best regards,
Steph

https://gatling.io/docs/current/migration_guides/2.3-to-3.0/

Thanks for your quick response!

Best regards,
Steph