Is it possible to run simulations from Main class? Not from tests.
Maybe I could have some object “GatlingEngine” and just run and get result?
I try to use this:
`
object GatlingTest extends App {
val props = new GatlingPropertiesBuilder
props.sourcesDirectory("./src/main/scala")
props.binariesDirectory("./target/scala-2.11/classes")
Gatling.fromMap(props.build)
}
`
But always get:
There is no simulation script. Please check that your scripts are in user-files/simulations