To build a jar run sbt assembly
. The jar will be found in target/scala-2.12/gatling-dse-stress-assembly-1.2.2.jar
First build the jar using sbt
then run the jar with the path of the sim name java -jar gatling-dse-stress-1.2.2.jar run {SimPath}
and example is java -jar gatling-dse-sims-1.2.2.jar run examples.sims.cql.WriteOrderSimulation
Project configs can be found in the src/main/resources
the application.conf
is the file to set the Simulation and Cassandra settings.
During run you can override part or all of the application settings by using -Dconfig.file={filePath}
. If you want to override a single setting only just use the path of the config ie -Dcassandra.hosts=127.0.0.1
. This single setting can be used for any value in the application.conf
file as well.
Run java -jar gatling-dse-stress-1.2.2.jar listSims
Run java -jar gatling-dse-stress-1.2.2.jar showConf
Run java -jar gatling-dse-stress-1.2.2.jar stressVersion
See SimCatalog Project at gatling-dse-simcatalog)
The following log can have their levels be overriden using -D{logName}={LEVEL}
:
- DEBUG Defaults
- log.libs
- log.actions
- log.feeds
- log.sims
- log.utils
- WARN Defaults
- log.cassandra (includes all Cassandra Driver events)
- log.root (includes all of the above)
- Java 1.8+
- SBT 1.1.2
- gatling-dse-plugin - (Included
build.sbt
dependencies).
Running sbt assembly
will download all of the needed libraries including Scala to your local machine.
Please use the Issues section to add any questions on usage or requests
There is also a #gatling-dse
Slack channel where questions can be asked.
This project was developed by Brad Vernon (ibspoof) and improved by the following contributors:
- Sebastien Bastard (datazef)