Load Testing · Junior · Question 58 of 75
How can you send k6 results to a file or a monitoring system?
- 1Only by copying the summary from the terminal by hand
- 2k6 always uploads every result to its own cloud
- 3With the
--outoption, e.g. JSON, CSV or Prometheus
Show the answer
Correct answer: With the --out option, e.g. JSON, CSV or Prometheus
Explanation
k6 run --out json=results.json streams every data point. Other outputs include CSV, InfluxDB and Prometheus remote write.