run a simulation against the source?

Hi,

I’d like to experiment with the Gatling code and I wondered if it was possible to run a simulation against the source?

I am using SBT and I note that the entry point is in gatling-app/src/main/scala/io/gatling/app/Gatling.scala.

I was thinking I could use the ‘runMain’ task.

I am currently running SBT from the gatling root (gatling-parent > ) and the ‘test’ task runs some unit tests.

Many Thanks

Aidy

Hi Adrian,

My 2 cents :

  1. add your modifications in Gatling, publish a snapshot using publishLocal
  2. Then setup a little test project with Gatling’s SBT plugin, as add your snapshot version to the dependencies of that project
  3. Profit !

Cheers,

Pierre