Unexpected behavior with atOnceUsers

Hey guys,
Per this forum post,

https://groups.google.com/forum/#!topic/gatling/JfYHaWCbA-w

I’m trying to perform the following.

  1. Start with 1 user, then go to our max users over a ramp time
  2. Continue load with our max users over a duration.

To accomplish this, I’ve perform the following.

setUp(
  UserScenarios.postUsersInfinitely
    .inject(
      /**
       * injection steps take from this forum post
       * https://groups.google.com/forum/#!topic/gatling/JfYHaWCbA-w
       */
      rampUsersPerSec(1) to (Settings.maxPossibleUsers) during Settings.rampTime,
      constantUsersPerSec(Settings.maxPossibleUsers) during Settings.duration

    )).protocols(Settings.httpConf.acceptHeader("application/json"))


However, when I look at my graphs, I see number of active users jump significantly past my setting of 10.  In my tests, Settings.maxPossibleUsers = 10, Settings.rampTime = 60 and Settings.duration = 60.  However, this is what my graph looks like.

<img src="https://lh6.googleusercontent.com/-AeKpPKBBGeU/VH44GKJ7x9I/AAAAAAAAASI/L9LQzvAxSrU/s320/Screen%2BShot%2B2014-12-02%2Bat%2B3.06.49%2BPM.png" border="0" width="320" height="121" style="font-size: 13px; line-height: 18px; text-align: center; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif;"> .

You’re confusing rampUsers and rampUsersPerSec. Please have a closer look at the documentation.