Running Gatling in Spring Boot

Hi all,

I have a need to invoke Gatling from Spring Boot via scheduled processes running scenarios. I am able to do this, but when a scenario is done, Gatling calls system.exit. I could modify Gatling.scala (well, I would need to look at your license first) but I would rather not. I guess a work around would be to have Spring run Gatling with a command line script.

Is there another public entry point to Gatling to run a scenario other than Gatling.main? Would it be possible to have a parameter to override the sys.exit?

Thanks and regards,


1 Like

Hi Eric,
Could you share how you are triggering Gatling simulation from Spring Boot?