I tried to set the “binaries” configuration to change the “target” directory. Without this setting the simulation works just fine (got compiled at GATLING_HOME/target and started normally).
But otherwise I get:
Exception in thread “main” java.lang.ClassNotFoundException: loadtest.TestSimulation
at java.net.URLClassLoader$1.run(Unknown Source)
Here’re my settings:
gatling {
simulation {
class = loadtest.TestSimulation
}
directory {
data = …/src/loadtest/resources/data
requestBodies = …/src/loadtest/resources/request-bodies
simulations = …/src/loadtest/scala
results = …/target/loadtest/results
binaries = …/target/loadtest
}
}
Regards Danny