report
- create an HTML report
Removed inv2.0.22
This command is no longer supported and has been removed from the Artillery CLI. Artillery Cloud provides a web-based dashboard for visualizing test results and creating custom reports.
artillery report [options] <file>
The report
command converts a JSON report generated by the run
command into a self-contained HTML report.
Options
Option | Description |
---|---|
--output , -o | File name of the HTML report (optional, defaults to adding .html extension to the name of the JSON file) |
Generating an HTML report
First, run a test and create a JSON report with the --output
flag.
artillery run --output test-run-report.json my-script.yaml
You can then use the generated JSON report to create an HTML report:
artillery report test-run-report.json
This will create a test-run-report.json.html
file in the current directory which you can open in a browser.