Build and run performancetest from gradle

Hi,

I have a project where we build using gradle, and we have had a setup where this also ran a Gatling performancetest from gradle.

So Gatling jar-files are downloaded as dependencies during build (gatling-app and gatling-charts-highcharts), and there is no installation of gatling-charts-highcharts-bundle-2.1.x on the build server.

So I don’t have the gatling.sh script to call.

Therefore I use gradle scala plugin to compile scala files and invoke the io.gatling.app.Gatling class in a custom task. But Gatling won’t find my Simulation classes.
Contrary to the documentation, Gatling does NOT accept the argument --binaries-folder which might have solved my problem.

Is there a standard solution to this??

Best regards
Ulrik Skyt

Hi, this solution works for me:
http://blog.jdriven.com/2015/08/load-testing-our-robots-api-with-gatling/#comment-277985