
This course contains the use of artificial intelligence.
A hands-on k6 course built on k6 v2.4. You write load tests, run them against applications on your own machine, and then follow the slow requests into the server: the metrics, the logs, the traces and the profiles. By the end you can tell a team not only that p95 went up, but why, and you can stop a pull request that makes it worse.
What is in the course. 29 sections and 272 video lectures, about 26 hours of video, a quiz at the end of every section, hands-on assignments with solutions, five AI role plays where you practise defending performance decisions in a conversation, the complete code for every lesson, a section where you build a production-grade k6 framework step by step, and an extra section with a prompt library for performance testing. Every command is typed and run on screen, and the output you see is the real output.
The applications you test. QuickPizza, the official k6 demo app, runs locally in Docker for the script basics, the test types, HTTP flows, browser tests and other protocols. SlowShop is a Spring Boot shop API with Postgres and Redis, written for this course, with nine planted faults you can switch on and off; you find each one from a load test and the observability stack. You never load test a site you do not own.
What you will learn
Performance testing concepts: latency, throughput, errors and saturation, why averages lie, percentiles, SLIs, SLOs and error budgets
k6 scripting from the first request: the lifecycle, options, checks, think time, debugging, --once and --scenario, and TypeScript with no build step
Every test type done properly: smoke, load, stress, spike, breakpoint and soak, and which one to run when
Workload modelling: open and closed models, coordinated omission, the executors, arrival rates, dropped iterations and Little's law
Metrics, thresholds, tags and groups, and how to turn an SLO into a pass or fail gate
Real API flows: correlation, tokens, cookies, batches, uploads, test data, secrets, and a small k6 framework you can reuse
A production-grade k6 framework built step by step: checked settings, one login per virtual user, test data that does not collide, workloads from a traffic mix, journey measurement with traces, gates with evidence, run records and reports, the same framework in GitHub Actions and Jenkins, and a second application added without changing the shared code
Other protocols: GraphQL, gRPC, WebSockets and k6 extensions
k6 browser: locators, web vitals, and mixing browser and protocol load in one test
Outputs and reports, including the built-in web dashboard and an HTML report a manager can read
Observability with Grafana, Prometheus, Loki, Tempo, Pyroscope and OpenTelemetry: metrics, logs, traces and profiles tied to one test run
A bottleneck hunting lab on SlowShop, then capacity and scaling
k6 in CI/CD with GitHub Actions and Jenkins: performance gates on pull requests and baseline comparison
Grafana Cloud k6, distributed tests on Kubernetes with the k6 operator, and fault injection
AI for writing and reviewing k6 tests and for analysing results, with Claude Code and the k6 MCP server, and how to check what the AI gives you
How the course is built. Each idea is explained first, then coded and run. The installs are shown on camera (k6, VS Code, Node.js, Docker, Git, Java, Python, Jenkins, kind, kubectl and Helm). Everything runs on your own computer; a free Grafana Cloud account is only needed for the cloud section, and an AI assistant only for the AI sections.
All the code is included. Every lesson's start and finished code, both practice apps, the framework, the pipelines, the Kubernetes setup and every assignment with its solution are in a public GitHub repository, linked in the first section.
A note on versions. k6 changed a lot in v1 and v2: some commands and outputs used in older tutorials no longer exist. This course uses k6 v2.4 and shows what changed, so you can also read older material with care.