GatlingPropertiesBuilder deprecated in Gatling.core version 3.11.2

Gatling version: 3.11.2 (must be up to date)
Gatling flavor: java
Gatling build tool: maven

Hello, I work with gatling to write a java script test load.

I want to lunch the script in java code main function as is mentioned in this discussion :

But the class GatlingPropertiesBuilder does not exist anymore in the Gatling 3.11.2 version

So my questions :

  1. This class is what it was replaced by another class ?
  2. How I can run my simulation script in main java function in Engine Class like is described in the conversion :
  public static void main(String[] args) {
    GatlingPropertiesBuilder props = new GatlingPropertiesBuilder()


thanks in advance


These classes were removed.
You now have to launch Gatling from your build tool, which is something you can easily do from your IDE.
Please check Build tool plugins for Gatling

Hello slandelle,
Thanks for your reply :slight_smile:

So, I understand that running a script from source code is no longer possible in version 3.11.2 ?
AND I must use maven (or gradel) commands like : mvn gatling:test

Please do you confirm this to don’t waste time finding a solution :slight_smile:

Yes, that’s exactly what I’m saying.