# run a simulation against the source?

**URL:** <https://community.gatling.io/t/run-a-simulation-against-the-source/2561>\
**Category:** Gatling (Open-Source)\
**Created:** [September 25, 2015, 10:59am UTC](https://community.gatling.io/t/run-a-simulation-against-the-source/2561 "2015-09-25T10:59:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidylewis](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@aidylewis](https://community.gatling.io/u/aidylewis)\
**Post date:** [September 25, 2015, 10:59am UTC](https://community.gatling.io/t/run-a-simulation-against-the-source/2561/1 "2015-09-25T10:59:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pierre\_DAL-PRA](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@Pierre\_DAL-PRA](https://community.gatling.io/u/Pierre_DAL-PRA)\
**Post date:** [September 25, 2015, 11:35am UTC](https://community.gatling.io/t/run-a-simulation-against-the-source/2561/2 "2015-09-25T11:35:14Z")

</div>

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
