I’m currently working with a Spring boot application and Gatling, The general idea is to be able to execute a simulation from a web app.
To achieve this I included a execution from a Spring bean with following code:
GatlingPropertiesBuilder props = new GatlingPropertiesBuilder();
In my simulation, I have a feeder, which is a jsonUrl and in setup, I configured like this
setUp(scnEls.inject(rampUsers(noOfUsers) over (rampUpTimeSecs)).protocols(httpConfEls))
Everithing works perfect in the first execution, but if I run same scrtip the following message appears and nothing else happen
[lt-dispatcher-7] io.gatling.core.controller.Controller : InjectionStopped expectedCount=100
I don’t have experience with scala, and I’m trying examples with tutorials.