k6-docs
k6-docs copied to clipboard
The k6 documentation website.
After https://github.com/grafana/k6/pull/2222 k6 now supports a way to enforce HTTP/1 using `GODEBUG=http2client=0 k6 run script.js` or the corresponding way for windows. This isn't documented anywhere and we do get [questions](https://github.com/grafana/k6/pull/2222#issuecomment-1121099291)...
k6 has a bit unusual approach to the logs it prints in CLI output by default. Logs of all levels are written to `stderr`, unless `--log-output` option is used. With...
The operator is a k8 add-on to run distributed tests. Prompted by https://k6io.slack.com/archives/C023PNQT05D/p1674729375373809, we can clarify that k6 features can be used and that it's not a replacement for k6...
See the new [InfluxDB k6 extension](https://github.com/grafana/xk6-output-influxdb), the new instructions should be similar as: [Elasticsearch](https://k6.io/docs/results-output/real-time/elasticsearch/), [TimescaleDB](https://k6.io/docs/results-output/real-time/timescaledb/), [Prometheus RW](https://k6.io/docs/results-output/real-time/prometheus-remote-write/), [Dynatrace](https://k6.io/docs/results-output/real-time/dynatrace/)... Also, include [`#179` Document all InfluxDB output options ](https://github.com/grafana/k6-docs/issues/179). The new instructions...
[HandleSummary docs](https://k6.io/docs/results-output/end-of-test/custom-summary/) Questions from users: - [Access files saved by handleSummary in a docker-compose](https://community.k6.io/t/access-files-saved-by-handlesummary-in-a-docker-compose/1528) - [Can't find the path of the test report](https://community.k6.io/t/cant-find-the-path-of-the-test-report/3112)
Prompted by this forum thread: https://community.k6.io/t/how-to-get-failure-statistics/1247 Whether these should be part of the docs or a tutorial on the blog is unclear, but we probably should have things like that:...
For developers who don't come from a testing background, the `sleep()` function can be confusing. Why waste CPU cycles doing nothing? We have sleep recommendations in the browser recorder, a...
Prompted by https://community.k6.io/t/linting-k6-scripts/1277
The `lint-prose` CI job uses the `errata-ai/vale-action` GitHub action, but I could not find how to run the same command locally to lint the content. The [lint:prose](https://github.com/grafana/k6-docs/blob/main/package.json#L26) command is not...
There currently is [examples](https://k6.io/docs/examples/data-parameterization/#retrieving-unique-data) to how *not* to loop over input data, but not one on how to loop. From a forum post https://community.k6.io/t/can-i-overwrite-scenario-iterationintest/6341