Configuration changes before {}

The following code seems to have no effect

`
before {
System.setProperty(“http.ahc:requestTimeout”, “10”)
}
setUp { …

`

I don’t know whether the property key is wrong, whether it is too late to change the configuration once the program is running, or if there is another way.

Cheers

/Martin

Actually, the syntax should be as follows, but it is still not detected

`
System.setProperty(“gatling.http.ahc.requestTimeout”, “10”)

`

That’s too late, the configuration is already loaded.
You have to pass them to the JVM on start up.

Thanks Stéphane for this confirmation.