I’m working on a custom plugin for Gatling. I noticed that when I’m trying to run e.g. 1000 users/s for 2 minutes I can only get 500u/s but the total duration of the test is longer (5 minutes), also the number of active users is growing for 2 minutes.
I suppose the reason for such behaviour is that my plugin is using a blocking code, so actions are pending, instead be executed immediately. Should I wrap my invocations in Futures (or something)? The method signature
override def execute(session: Session): Unit
wants only Unit, which could be misleading.