https://adapt.to/2018/en/schedule/toughday-performance-testing-framework.html
In order to be able to access parent poms and dependencies, you will have to configure repo.adobe.com in your settings.xml.
Please follow the instructions from here
Please download the latest ToughDay2 jar from here
For starting sling standlone please use the instructions from here
mvn clean install
If you look in the code you will see that there is a SlingHello
test. In order to find information about it you can execute
java -jar toughday2.jar --help SlingHello --add path/to/sling-test-sample-0.1.0-SNAPSHOT.jar
- Execute from CLI without parameter
java -jar toughday2.jar --add SlingHello --add path/to/sling-test-sample-0.1.0-SNAPSHOT.jar --host=localhost --port=8080 --installsamplecontent=false
- Execute from the CLI with parameter
java -jar toughday2.jar --help SlingHello path=/index.html --add path/to/sling-test-sample-0.1.0-SNAPSHOT.jar --host=localhost --port=8080 --installsamplecontent=false
- Execute using an YAML configuration
java -jar toughday2.jar --configfile=sling-td2-config.yaml