Menu
Choose a product
Viewing: v1.7.x (latest)
Find another version
Scroll for more
Open source
Extensions
With k6 extensions, you can extend the core k6 functionality with new features to support your specific reliability-testing needs.
k6 supports four types of extensions:
- JavaScript extensions extend the JavaScript APIs available to your test scripts. They can add support for new network protocols, improve performance compared to equivalent JS libraries, or add features.
- Output extensions send metrics to a custom file format or service. They can add custom processing and dispatching methods.
- Secret Source extensions provide secrets to your tests.
- Subcommand extensions add custom CLI commands under the
k6 xnamespace for setup, validation, and integration tools.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Performance testing and observability in Grafana Cloud
Optimize user experiences with Grafana Cloud. Learn real-time insights, performance testing with k6, and continuous validation with Synthetic Monitoring.
Events

User-centered observability: load testing, real user monitoring, and synthetics
Learn how to use load testing, synthetic monitoring, and real user monitoring (RUM) to understand end users' experience of your apps. Watch on demand.