Awesome K6 Overview
A curated list of awesome tools, content and projects using k6
🏠 Home · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 grafana/awesome-k6 · ⭐ 571 · 🏷️ Testing
Awesome k6
A collection of resources by the community, on (testing with) k6.
Contributions are welcome! Read the contribution guidelines first.
Contents
Articles
k6 Learn (⭐310) - Explanation of the principles of load testing and practical examples for how to do it with k6.
k6 OSS workshop (⭐14) - A 2-3 hour k6 workshop with practical k6 examples using the QuickPizza demo app.
Beginner's guide to load testing with k6 - Introductory guide in several parts, helping you get started with k6.
Best practices organizing performance testing projects with k6 - Guidelines to scale your performance testing across multiple teams and projects.
- Part 2 - JavaScript tools, shared libraries, and TypeScript - Stting up your k6 performance testing suite with JavaScript tools, shared libraries, and TypeScript.
Distributed load testing with k6 - Thijs Feryn presents in ConFoo Montreal 2023.
Load Testing with k6 - Brief overview of features and capabilities of k6.
Test and visualize with InfluxDB, Grafana and K6 - Setting up load tests and visualizing them using grafana dashboards.
Open source load testing tool review 2020 - Detailed comparison of the most popular open source load testing tools.
Load Testing Your API with Swagger/OpenAPI and k6 - Generate k6 load test scripts from OpenAPI specifications.
Load Testing Your API with Postman - How to use Postman collections to load test your API.
Load Testing & Black Friday capacity planning - How Back Market prepared for Black Friday with k6 based load testing.
Load Testing SQL Databases with k6 - How to use the xk6-sql extension to test SQL databases directly.
Introducing TestRail in your K6 tests - Reporting k6 output to TestRail.
Beautiful Load Testing With K6 and Docker Compose - How to run load tests using the awesome combination of Docker Compose, K6, InfluxDB and Grafana.
Load Testing with Azure DevOps and k6 - How to setup Azure DevOps to perform automated load tests using k6, handleCallback, and JUnit.
K6 — Custom Slack Integration: Metrics are the Magic of Tests - How to send k6 output results to Slack using the handleSummary callback.
Load testing with k6 - Using k6 for load, soak, stress, spike and smoke testing.
How to write three times fewer lines of code when doing load testing - Building a k6 extension in Go to test Tarantool.
Performance testing with k6 - On API performance testing, with Open API and TypeScript.
k6 introduces browser automation and Prometheus support in k6 OSS - From the Grafana blog: feature announcements at ObservabilityCON 2021.
Testing shift left observability with the Grafana Stack, OpenTelemetry, and k6 - From the Grafana blog: a summary of Executive Director of Platform Engineering at JPMorgan Chase, Vinodh Ravi's talk at ObservabilityCON 2021.
Umbraco 9 - What a Performance! - Test the performance of Umbraco v9 on Azure against Umbraco v8 and comparing Windows vs Linux.
On maintaining a k6 codebase, Part 1 - Personal tips to maintain a challenging k6 load testing codebase.
Distributed Load Testing With K6 - Setting up distributed execution with k6-operator and Argo workflows.
Load testing with k6 and k8s - The Toucan DevOps team explains why they chose k6 as their load testing tool and how they deploy it on k8s.
CloudPosse's Load Testing Stack (⭐54) - Load testing stack using k6, Grafana and InfluxDB.
Real-time stress: AnyCable, k6, WebSockets, and Yabeda - Evil Martians adding "real-time stress" with k6 and WebSockets.
Scaling Confidently with the Load and Fault Team - Robinhood on load testing a Kubernetes system with k6.
Streamlining Performance Testing with K6 and ChatGPT - Monish Correia writes k6 tests using GitHub co-pilot.
Videos
- k6 YouTube Channel
- How to use k6 Cloud for load testing - A series of quick videos for getting started with k6 Cloud.
- Intro to load testing with k6 and Grafana (k6 data source plugin and Prometheus Remote Write)
- From Grafana ObservabilityCON: Intro to using k6 load testing with the Grafana observability stack
- From Grafana ObservabilityCON: Building performance tests into your CI pipeline with k6 and Grafana, w/ Matthew Churcher, QA Engineer at Vonage
- EveryoneCanContribute cafe: Load Performance Testing with k6
- Playlist - What others says about k6
- What is K6 & How to get started with k6 - Tutorial using k6 Extensions for Observability by "Is it Observable?"
- Website Performance + Load Testing with K6 (k6.io) in 5 MINUTES! - Introductory overview of k6, showing how to create a test from a HAR file, by the DevOps Directive.
- Performance Testing your web app with k6 - A walkthrough of the open-source load and performance regression testing tool, k6, and how to load test your APIs and websites, by Chris James.
- Application Load Testing with k6 - Daniel Knittl-Frank @TechTalk Days 2021, Intro to k6.
- Performance Testing From Zero to Hero with K6 & Azure - Jose Luis Latorre Millas at NDC Oslo 2021.
- AI-Powered K6 Testing: No Code, No Hassle, Just ChatGPT! 🦾🚀 - In this video, Karthik K.K. demonstrates how ChatGPT can create k6 tests without writing a single line of code.
Examples/Templates
- k6 examples - A list of common examples on the k6 documentation.
- k6 QuickPizza examples (⭐55) - Web application used for demos and workshops with multiple k6 examples.
- k6-template-es6 (⭐84) - Starter template using Webpack and Babel to enable ES6 features in k6 tests.
- k6-typescript-template (⭐273) - Starter template using Webpack bundler to write k6 tests in TypeScript.
- k6-rollup-example (⭐4) - Example using Rollup to bundle k6 tests.
- Jahmilli/k6-example (⭐9) - Starter template using Vite (Rollup) bundler to write k6 tests in TypeScript.
- tom-miseur/k6-templates (⭐34) - Opinionated starter templates for k6 projects.
- SwissLife-OSS/k6-multiscenario-template (⭐52) - Use K6 to implement a Multi Scenario template.
- agilob/multiscenario-tests - Running multiple scenarios at once.
- Im5tu/template-k6 (⭐5) - A K6 Performance Test Suite Template.
- mohsenny/k6-test-template (⭐3) - Load testing framework.
- kwidera/k6_framework (⭐1) - Another k6 framework example.
- Sahanipe/pet_store (⭐1) - Modularized scripts for the Swagger PetStore APIs.
- lreimer/continuous-k6k8s (⭐18) - Continuously run k6 tests in Kubernetes using cronjobs.
- luketn/docker-k6-grafana-influxdb (⭐159) - Demonstrates how to run load tests with containerised instances of K6, Grafana and InfluxDB.
Tools
- k6-to-junit (⭐18) - Tool for converting k6 output to JUnit XML for easy use with CIs.
- k6-reporter (⭐375) - Tool for converting k6 output to HTML reports.
- k6-html-reporter (⭐24) - Tool for generating k6 HTML reports.
- har-to-k6 (⭐123) - Tool for converting HAR recordings to k6 test scripts.
- postman-to-k6 (⭐287) - Tool for converting Postman collections to k6 test scripts.
- k6 generator (⭐21k) - Tool for converting Swagger/OpenAPI specifications to k6 test scripts.
- jmeter-to-k6 (⭐68) - Tool for converting JMeter test cases to k6 test scripts.
- jslib.k6.io - Useful utility libs for k6 scripts.
- k6 for visual studio code - Marketplace Extension for running k6 directly from your IDE.
- k6 for IntelliJ - IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your IntelliJ IDE.
- k6 Testkube executor
- k6-junit (⭐11) - k6 JUnit summary exporter libray.
- k6-expect (⭐2) - k6 library that simplifies writing tests in a functional way by providing a jest-like syntax for expectations.
CI/CD
- k6 for AWS CodeBuild
- k6 for Azure Pipelines
- k6 for Bamboo
- k6 for Buddy
- k6 for CircleCI
- k6 for Flagger
- k6 for GitHub Actions
- k6 for GitLab
- k6 for Google Cloud Build
- k6 for Jenkins
- k6 for Keptn
- k6 for TeamCity
Extensions
- k6 Extensions
- GitHub Topic: xk6 - Explore k6 extensions tagged with the xk6 label.
- Extension Registry - Curated listing of k6 extensions.
Official
- xk6-client-tracing (⭐38) - Client for load testing distributed tracing backends.
- xk6-disruptor (⭐88) - Inject faults to test 💣.
- xk6-exec (⭐20) - Run external commands.
- xk6-kubernetes (⭐62) - Interact with Kubernetes clusters.
- xk6-loki (⭐36) - Client for load testing Loki.
- xk6-notification (⭐18) - Create notifications.
- xk6-output-influxdb (⭐61) - Export results to InfluxDB v2.
- xk6-output-kafka (⭐20) - Export k6 results in real-time to Kafka.
- xk6-output-timescaledb (⭐29) - Export k6 results to TimescaleDB.
- xk6-client-prometheus-remote (⭐24) - Test Prometheus Remote Write performance.
- xk6-sql (⭐105) - Load-test SQL Servers (PostgreSQL, MySQL and SQLite3 for now).
- xk6-ssh (⭐9) - SSH.
Community
- xk6-cable (⭐24) - Test Action Cable and AnyCable functionality.
- xk6-coap (⭐10) - Interact with Constrained Application Protocol endpoints.
- xk6-dotenv (⭐26) - Load env vars from a .env file.
- xk6-ethereum (⭐10) - K6 extension for ethereum protocols.
- xk6-faker (⭐49) - Generate random fake data.
- xk6-file (⭐23) - Write files.
- xk6-g0 (⭐23) - Write k6 tests in golang.
- xk6-kafka (⭐143) - Load-test Apache Kafka. Includes support for Avro messages.
- xk6-kv (⭐12) - Share key-value data between VUs.
- xk6-mock (⭐13) - Mock HTTP(S) servers.
- xk6-mqtt (⭐47) - MQTT extension.
- xk6-nats (⭐13) - Provides NATS support for k6 tests.
- xk6-opentelemetry (⭐24) - Generate OpenTelemetry signals from within your test scripts.
- xk6-output-elasticsearch (⭐17) - Export results to Elasticsearch 8.x.
- xk6-output-prometheus-pushgateway (⭐10) - Export results to Prometheus pushgateway.
- xk6-output-statsd (⭐21) - Enables real-time output of test metrics to a StatsD service.
- xk6-output-timestream (⭐17) - Export results to AWS Timestream.
- xk6-playwright (⭐42) - Browser automation and end-to-end web testing using Playwright.
- xk6-prometheus (⭐48) - Prometheus HTTP exporter for k6.
- xk6-prompt (⭐14) - Support for input arguments via UI.
- xk6-sse (⭐12) - A k6 extension for Server-Sent Events (SSE).
- xk6-tcp (⭐12) - Send data to TCP port.
- xk6-top (⭐26) - Updating the current k6 metrics summaries on the terminal during the test run.
Related
- How They Load Test (⭐94) - A collection of resources on how companies around the world perform load testing.
- Load Testing Toolkit (⭐158) - A collection of open-source tools for debugging, benchmarking, load and stress testing your code or services.
- awesome-http-benchmark (⭐3.3k) - A collection of HTTP benchmark tools, testing/debugging, & restAPI (RESTful).
Contributing
Want to help in making this list better? Yay, that's awesome! Before you get started though, please have a look at our code of conduct and contribution guidelines.