No results for

Powered byAlgolia

Result Export

suggest edits

Test result data can be exported after a test has finished and data processing complete in various formats:

  • PDF report: to share the performance results with managers and executives.
  • CSV format: to analyze the test result metrics deeper on your own.

If you want to know other methods to analyze your test results, check out the k6 Cloud integrations with APM tools and the Grafana Data Source Plugin.

Generate PDF Report

⭐️ The PDF report is available on annual Pro and Enterprise plans.

The PDF report is an executive summary of the test result's most relevant metrics and performance data. To get an idea of the report looks, you can download an example here.

Performance Test Result - PDF Summary Report

Opening the Editor

To generate a PDF summary, do the following:

  1. Navigate to the test result you want to generate a summary of.
  2. Open the test results menu in the top right.
  3. Select the Generate PDF summary option.

This will take you to an editor where you can customize and download the summary.

Adding or Removing Metrics

By using the Add/Remove Metrics-dropdown at the top of the page, it is possible to toggle which sections to include in the generated report. The editor comes with a variety of predefined metrics that can be included.

Adding or Removing Metrics - PDF Summary Report

Summarizing the Results

Editing

Text Editing - PDF Summary Report

Each section in the summary comes with a predefined text. You can edit this text by clicking on the edit icon or by clicking on the text itself.

When you are satisfied with your changes, simply click outside the text editor to save your changes. If you want to cancel and revert your changes, you can click the cancel icon next to the editor or use the ESC key on your keyboard.

Formatting

Text Editing - PDF Summary Report

You can apply formatting to your text by selecting the text you want to format and choosing the appropriate formatting from the popup. It's also possible to use the following keyboard shortcuts to apply formatting:

ShortcutFormat
Ctrl / + BBold
Ctrl / + IItalic
Ctrl / + UUnderline

Generating the PDF

Once you've finished editing the summary, you can click the Generate PDF button in the top right of the editor. This will open up a progress dialog and, after a few moments, the browser will prompt you to download the PDF summary report.

Note: It is important that you do not refresh or navigate away from the page while the PDF is being generated. The time it takes to generate the PDF is dependent on the amount of data that needs to be included, so it may take a minute if your test includes many load zones, for instance.

Export as CSV

To export the test result as CSV, visit the test result, click the options menu - the three dots in the top right - and select Export Data. The data will be exported as a .tar.gz file with a .csv contained inside.

The CSV data has the following columns of data:

"time","metric","group_id","response_time","url","method","status","count","load_zone","tags"

Here's example data, units (where necessary) and description of each field present in the CSV data.

ColumnExampleData/UnitDescription
time2019-03-25 11:12:48.927949+00:00datetime (UTC)The ISO-8601 timestamp when this data point was captured (when the HTTP request was made).
metrichttp_req_durationstringThe metric name that this data point represents.
group_ide1158ec16fa10dcfd16f4bd7309e2c55stringThe ID of the k6 group() from where this request was made.
response_time2.008016number (ms)The HTTP response time of the request that this data point represents (if count > 1 then this will be an aggregate value, the average).
urlhttp://test.k6.io/style.cssstringThe URL requested.
methodGETstringThe HTTP method of the request that this data point represents.
status200numberThe HTTP response status code of the request that this data point represents.
count1.0numberNumber of samples that this data point represents (if > 1 response_time is an aggregate value).
load_zoneamazon:us:ashburnstringThe load zone where the request(s) was made from.
tagsstaticAsset=truestringPipe separated list of name=value tags as specified for the request in the script.

Note: The exported CSV file currently only contains data from the primary HTTP response time metric (http_req_duration). In the future we'll expand the export feature with more HTTP data, WebSocket data, Checks data, Thresholds data as well as Custom metrics data.