Reference
report

report - create an HTML report

This command will be deprecated in the next major release of Artillery. We recommend using Artillery Cloud (opens in a new tab) for visualizing and analyzing Artillery reports.

artillery report [options] <file>

The report command converts a JSON report generated by the run command into a self-contained HTML report.

Options

OptionDescription
--output, -oFile 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.