Beginner → Intermediate

Grafana k6 Tutorial

Modern code-first load testing in JavaScript: scenarios, executors, thresholds, CI integration, and xk6 extensions.

5 lessons · ~11 min total Start lesson 1 →
  1. 01 Getting Started with k6: Modern Load Testing in JavaScript An introduction to k6, Grafana's open-source load testing tool, and why its code-first JavaScript scripting model fits modern CI/CD workflows. 2m
  2. 02 k6 Scenarios and Executors: Modeling Realistic Load Shapes How k6's scenarios and executors let you model open-system arrival-rate traffic and closed-system concurrent-user traffic precisely. 3m
  3. 03 k6 Thresholds and Checks: Automating Pass/Fail Criteria How k6 thresholds turn performance budgets into automated pass/fail criteria for CI, and how they differ from checks. 2m
  4. 04 Running k6 in CI/CD and k6 Cloud How to integrate k6 into a CI/CD pipeline, and when k6 Cloud's distributed execution is worth it over self-hosted runs. 2m
  5. 05 Extending k6 with xk6: Custom Protocols and Functionality How xk6 lets you build custom k6 binaries with extended protocol support and functionality beyond what's built in. 2m