Skip to main content

Integrations

k6 integrates with a wide ecosystem of tools for monitoring, visualization, CI/CD, and more.

Observability and monitoring

Grafana

Visualize k6 metrics in Grafana dashboards with InfluxDB, Prometheus, or k6 Cloud.

Prometheus

Export k6 metrics to Prometheus for long-term storage and alerting.

InfluxDB

Stream real-time metrics to InfluxDB for analysis and visualization.

Datadog

Send k6 metrics to Datadog for unified observability.

CI/CD platforms

GitHub Actions

Use the official k6 action:

GitLab CI

Jenkins

CircleCI

Test generation

k6 Studio

Desktop app for recording and generating k6 scripts from browser interactions.

Postman

Convert Postman collections to k6 scripts:

HAR files

Generate tests from HAR (HTTP Archive) files:

OpenAPI

Generate tests from OpenAPI specifications:

Cloud platforms

Grafana Cloud k6

Run tests in the cloud with built-in dashboards and insights:
Learn more about Grafana Cloud k6

AWS

  • Run k6 on EC2 instances for distributed testing
  • Use AWS Lambda with k6 for serverless testing
  • Store results in CloudWatch or S3

Azure

  • Deploy k6 using Azure Container Instances
  • Use Azure Load Testing (powered by k6)
  • Stream metrics to Azure Monitor

Google Cloud

  • Run k6 on GKE (Google Kubernetes Engine)
  • Use Cloud Run for serverless k6 tests
  • Export metrics to Cloud Monitoring

Kubernetes

k6-operator

Run distributed k6 tests on Kubernetes clusters.
Learn more about distributed testing

Test data and mocking

Generate realistic test data:
Mock REST APIs for testing:
Stub HTTP services:

Reporting

HTML reports

Generate HTML reports from k6 results:

JUnit reports

For CI/CD integration:

CSV/JSON export

Export metrics to files:

Notification and alerting

Slack

Send test results to Slack channels.

PagerDuty

Trigger incidents on test failures.

Email

Email test summaries and alerts.

Webhooks

POST results to custom endpoints.

Extensions ecosystem

k6 has a rich extension ecosystem for specialized testing needs.
Explore k6 extensions

Community tools

  • k6-jslib-utils - Utility functions for k6 scripts
  • k6-jslib-aws - AWS SDK for k6
  • k6-jslib-httpx - Enhanced HTTP client
  • k6-chaijs - Chai assertions for k6

Automated testing

CI/CD integration guide

Results output

Exporting and visualizing results

Extensions

Extending k6 functionality

Grafana Cloud k6

Cloud-based test execution