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 :
- This class is what it was replaced by another class ?
- 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()
.resourcesDirectory(IDEPathHelper.mavenResourcesDirectory.toString())
.resultsDirectory(IDEPathHelper.resultsDirectory.toString())
.binariesDirectory(IDEPathHelper.mavenBinariesDirectory.toString());
Gatling.fromMap(props.build());
}
thanks in advance