1.5 KiB
1.5 KiB
Spot Scenarios
TCP
This scenario tests TCP bandwidth to the destination host. By default
it sends traffic to one of public iperf servers. This can be overridden
via parameter --matrix "{host:<host>}"
.
How To Run
- Run the scenario with defaults and generate interactive report into
file
report.html
:
shaker-spot --scenario spot/tcp --report report.html
- Run the scenario with overridden target host (10.0.0.2) and store raw result:
shaker-spot --scenario spot/tcp --matrix "{host:10.0.0.2}" --output report.json
- Run the scenario with overridden target host (10.0.0.2) and store SLA verification results in subunit stream file:
shaker-spot --scenario spot/tcp --matrix "{host:10.0.0.2}" --subunit report.subunit
- Run the scenario against the list of target hosts and store report:
shaker-spot --scenario spot/tcp --matrix "{host:[10.0.0.2, 10.0.0.3]}" --output report.html
Scenario
../../shaker/scenarios/spot/tcp.yaml
UDP
This scenario tests UDP packets per second to the destination host.
By default it sends traffic to one of public iperf servers. This can be
overridden via parameter
--matrix "{host:<host>}"
.
How To Run
shaker-spot --scenario spot/udp --report report.html
Scenario
../../shaker/scenarios/spot/udp.yaml