Running Your Test on the Command Line with Taurus
Taurus (https://gettaurus.org/) is a command-line tool for running load test scripts from various tools, including JMeter.
To perform a JMeter test, it's easy:
bzt myscript.jmx
The advantage over the classic JMeter command line is that this provides more information while running:
Figure 11.4: Taurus
If you want to use more advanced features of Taurus, you need to create a YAML file – let's call it demo.yml. Be careful: the YAML syntax is very sensitive to indentation.
In the following example, we will do three things:
- Define how the load will be injected (ramp-up, plateau, and so on) by this syntax:
execution:
- scenario: existing
competition: 10
hold-for: 10s
ramp-up: 30s
scenarios:
existing:
script: demo.jmx
We tell Taurus to run the demo.jmx script with 10 threads by setting a ramp from 0 to 10 virtual users in 30 seconds, then a virtual...