Skip to content

Instantly share code, notes, and snippets.

@mersanuzun
Last active December 22, 2017 08:32
Show Gist options
  • Save mersanuzun/196610b8c768797c64d0f3172ff1dd72 to your computer and use it in GitHub Desktop.
Save mersanuzun/196610b8c768797c64d0f3172ff1dd72 to your computer and use it in GitHub Desktop.
Gatling custom simulation and data directory in sbt
// In build.sbt file
lazy val hub = (project in file("."))
.enablePlugins(GatlingPlugin)
.settings(inConfig(Gatling)(Defaults.testSettings): _*)
// for simulations
scalaSource in Gatling := baseDirectory.value / "test/gatling/"
// for data
resourceDirectory in Gatling := baseDirectory.value / "test/gatling/resources/data/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment