Generate a Gatling Simulation jar file from a "Gatling - Gradle (Groovy) - Java" project


I would like to generate a jar file from a Gatling Simulation project based on: Gradle (Groovy) - Java

I think the first step is to generate a java main method where any simulation can be passed as an argument (optional), then build the project to generate the *.jar file, so I can run the Gatling Simulation like:

java -jar main_java_class.jar

Thanks for the examples/guidance :slight_smile:

Hey there,

This is not supported in Gatling Open-Source, however the type of functionality you’re trying to achieve can likely be accomplished with one of our Enterprise versions.

If you’re interested in a trial please don’t hesitate to reach out to

All the best,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.