FrontLine - passing parameter into load model

I have a loadmodel looking like this:

  setUp(
     scn.inject(
       incrementConcurrentUsers(20)         // How many users to increase each level
         .times(10)                         // How many levels that should be run
         .eachLevelLasting(600)
         .separatedByRampsLasting(120)
         .startingFrom(10)
     ).protocols(httpProtocol)
   )

The number 10 (times) is something I often change. Is it possible to parameterize this into my code so that I can pass a number for the n times? As in FrontLine Simulation System Properties - key/value?

Check this thread
https://community.gatling.io/t/cannot-grab-command-line-arguments/7025

and repo:
https://github.com/gemiusz/gatling-examples-maven-java/blob/master/src/test/java/pl/gemiusz/Case0006CommandLineParametersSimulation.java

2 Likes