passing parameters from the command line to the Simulation( formParam) value and increment by 1 for 2000 users.

//for user 1
.formParam("""id""", """580""")// i want to use the parameter passed from the command line instead of "580"
I tried this 

``

val nbUsers = Integer.getInteger("users", 1)
.formParam("""id""", """${nbUsers users}""")

JAVA_OPTS="-Dusers=580"

//for user 2

nbUsers should increment by 1.

but this doesn't work even the syntax might be wrong, i just put it here to give u an idea.

I guess you just define the parameter as -Dusers=580 without the JAVA_OPTS?