browseDownload binary →
k6/Grafana k6
Grafana LabsModern load testing tool for developers, using JavaScript to define test scenarios.
Observability & MonitoringJSON
01Install
brew install k602Global Flags
| Flag | Type | Description |
|---|---|---|
--out/-o | string | Output metrics destination (json, csv, cloud, influxdb, etc.) |
--vus | integer | Number of virtual users |
--duration | string | Test duration (e.g. 30s, 5m, 1h) |
--quiet | boolean | Suppress progress bar |
--summary-trend-stats | string | Trend statistics to include in summary |
03Authentication
Methods
environment-variables
Env vars
K6_CLOUD_TOKENSetup
k6 cloud login04Capabilities
Reference
binary
k6check
k6 versionauth
environment-variablesformats
text, csvjson flag
--out json=results.json