Running Gatling with SBT isn't finding any properties

I am trying to customise Gatling configuration. I’m running my tests using SBT.

My gatling version is 2.1.7.

None of my changes are noticed by Gatling.

I have tried:

  • Creating a gatling.conf file with the http {…} block in the conf directory within src/test/resources and src/main/resources

  • Passing in the environment variables I care about using system variables, being sure to obey the HOCON path e.g. -Dhttp.enableGA=false

Hi Ian,

Read docs about sbt plugin -
You can use copyConfigFiles command to copy default gatling.conf to your src/test/resources folder and edit it at your own.
This works fine for me.