No results for

Powered byAlgolia

Result Export

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 .zip file containing number of .csv files.

Each metric is exporter into a separate file. The export also contains metrics.csv file which contains the list of exported metrics.

For a typical k6 HTTP test, these files will be present

File nameMetricColumns
metrics.csvIndex of exported metricsmetric,type,origin
metric_checks.csvcheckstime,metric,scenario,group,check,load_zone,tags,nz_count,count
metric_data_received.csvdata_receivedtime,metric,scenario,group,load_zone,tags,count
metric_data_sent.csvdata_senttime,metric,scenario,group,load_zone,tags,count
metric_group_duration.csvgroup_durationtime,metric,scenario,group,load_zone,tags,count,min,mean,median,p95,p99,max,stdev
metric_http_reqs.csvhttp_reqstime,metric,group,scenario,name,method,status,expected_response,load_zone,tags,count
metric_http_req_duration.csvhttp_req_durationtime,metric,group,scenario,name,method,status,expected_response,load_zone,tags,count,min,mean,median,p95,p99,max,stdev
metric_iteration_duration.csviteration_durationtime,metric,scenario,group,load_zone,tags,count,min,mean,median,p95,p99,max,stdev
metric_iterations.csviterationstime,metric,scenario,group,load_zone,tags,count
metric_load_generator_ cpu_percent.csvload_generator_cpu_percenttime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_load_generator_ file_handles.csvload_generator_file_handlestime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_load_generator_ memory_used_percent.csvload_generator_memory_used_percenttime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_vus.csvvustime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_vus_max.csvvus_maxtime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_myCustomCounter.csvUser-defined myCustomCounter Countertime,metric,scenario,group,load_zone,tags,count
metric_myCustomGauge.csvUser-defined myCustomGauge Gaugetime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_myCustomRate.csvUser-defined myCustomRate Ratetime,metric,scenario,group,load_zone,tags,nz_count,count
metric_myCustomTrend.csvUser-defined myCustomTrend Trendtime,metric,scenario,group,load_zone,tags,count,min,mean,median,p95,p99,max,stdev

Here's example data, units, and description of fields 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"my group"stringThe group name group() from where this request was made.
scenariodefaultstringThe name of the scenario this metric was collected in.
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.
tags{"staticAsset":"true"}stringJSON formatted list of {"name": "value"} tags as specified for the request in the script.
min1.008016number (ms)The minimum response time for samples collected within the time bucket.
mean3.008016number (ms)The mean response time for samples collected within the time bucket.
median5.468016number (ms)The median response time for samples collected within the time bucket.
p9510.10816number (ms)The 95th percentile response time for samples collected within the time bucket.
p9914.08016number (ms)The 99th percentile response time for samples collected within the time bucket.
max15.08016number (ms)The maximum response time for samples collected within the time bucket.
stdev0.075112number (ms)The standard deviation time for samples collected within the time bucket.