Summary report in csv format?

Hi,
I wonder if k6 supports output of its summary report in csv format and not only json?
Something like this in handleSummary function
‘path/to/my/result/report/file/TestResult.csv’: csv(data)

I know it’s possible to output every request result in csv-format, but I want only the “aggregated summary report”.

Some feedback is greatly appreciated.

Have a nice day
Best regards
Fredrik

Hi @Lightlore,
we don’t support it natively in k6, you could do it with some work-arounds:

  • Implementing the handleSummary for writing a custom End of test.
  • Use a tool (e.g. jq) for mapping the JSON summary to the equivalent CSV version.

Hi,
Ah ok. Thank you very much for your answer.

Best regards
Fredrik