forked from gatling/gatling
-
Notifications
You must be signed in to change notification settings - Fork 0
Passing parameters
slandelle edited this page Apr 4, 2012
·
3 revisions
One might want to pass parameters from the command line to the Simulation, for example the number of users, the duration of the ramp...
This can be done very easily with additional JAVA_OPTIONS in the launch script:
JAVA_OPTS="-Dusers=500 -Dramp=3600"
val nbUsers = Integer.getInteger("users", 1)
val myRamp = Integer.getInteger("ramp", 0)
List(scn.configure.users(nbUsers).ramp(myRamp))
- Introduction
- Underlying Technologies
- Concepts
- Benchmarks
- Sponsors
- Changelog
- Migrating
- License
- FAQ
- Contributing
- Links
- Tutorial
- Reference
- Cookbooks
- Retry
- Scaling out
- Passing parameters
- Webservices
- Extensions
- General information
- APIs
- Checks API
- Request API
- Charting API
- Feeder API