Skip to content

Simple Go command line application to convert K6 result JSON into a HTML report

License

Notifications You must be signed in to change notification settings

Nepomuceno/k6-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K6 HTML Report Converter

Simple Go command line application to convert the results of a K6 load test into a HTML report.
K6 is a modern, developer focued load testing tool

The report will show all request groups, checks, HTTP metrics and other statistics

Any HTTP metrics which have failed thresholds will be highlighted in red. Any group checks with more than 0 failures will also be shown in red.

Usage

The command takes two arguments:

  • The input JSON file, which is the output of k6 run with the --summary-export parameter
  • The output HTML file, which will be created or overwritten.

Example

./k6-reporter ./myresults.json ./report.html

Building & Running

Packr v2 is required to build a standalone binary

go get -u github.com/gobuffalo/packr/v2/packr2

Then run ./scripts/build.sh

Alternatively run in place with go run main.go

Screenshots

About

Simple Go command line application to convert K6 result JSON into a HTML report

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 87.4%
  • Shell 12.6%