I tried to configure parts of my scenario with setting a system property.
- calling “gatling.bat -Dloadtest.conf=foo.conf” results in
Error: Unknown argument ‘-Dloadtest.conf’
Error: Unknown argument ‘foo’
- calling “mvn gatling:execute -Dloadtest.config=foo.conf” does not set the system property “loadtest.config” too (see System.getProperties())
One of the most useful thing is to set a “username” or “password” from command line (instead of storing them in a config file).