
Soak testing uses a moderate, continuous load for extended periods to reveal memory leaks and resource exhaustion, using K6 or JMeter to benchmark over 24 to 48 hours.
Explore how to measure expected responses and thresholds in k6 by filtering for 200 OK requests, computing HTTP request duration, and applying percentile and failure-rate thresholds.
Learn how to create and use custom metrics with the trend class in K6 to measure server processing time, waiting time, and 95th percentile thresholds for load testing.
Build end-to-end functional flows and apply load testing on core API calls like login and get all products with K6 to identify bottlenecks and optimize performance.
Build an end-to-end registration API flow in k6, asserting status 201, logging outcomes, and preparing for login, token usage, and CRUD operations in a later step.
Learn to connect local K6 tests to Grafana Cloud, authenticate with a token, configure project id and distribution, and run tests in the cloud to monitor results in Grafana dashboards.
Optimize k6 end-to-end scripts into framework standards by converting the test into reusable components and runtime-configurable options via test configs.json for smoke, load, spike, and other performance tests.
Explain how to read a per-test JSON configuration for k6, parse it into a JavaScript object, and select a test type via environment variable to drive load, smoke, and scenarios.
Understand the life cycle of a k6 script, from init code and setup to the default function and teardown, with health checks, base URL validation, and data passed from setup.
Performance testing today is not just about generating load — it is about measuring, analyzing, and validating system behavior across APIs and browsers with proper observability.
This K6 Performance Testing MasterClass teaches you how to design complete performance testing solutions using K6 and JavaScript — covering both backend API flows and frontend browser-level validation.
You will start by mastering core K6 concepts including stages, thresholds, checks, tags, and custom metrics. You will learn how to design realistic load models and validate non-functional requirements effectively.
The course then walks you through building real-world API test flows such as registration, login, and transactional chains. You will extract dynamic data from JSON responses, implement assertions, and structure modular K6 scripts using JavaScript best practices.
Beyond APIs, you will integrate the K6 Browser library with Playwright to perform browser-level load testing. You will capture Web Vitals metrics such as LCP and CLS, track page-wise performance, and validate real user experience under load.
A dedicated section covers Grafana Cloud integration, where you will stream K6 metrics to Grafana dashboards for real-time monitoring, visualization, and performance analysis. This bridges the gap between load generation and observability — a key skill in modern DevOps environments.
Finally, you will integrate K6 tests into CI/CD pipelines to automate performance validation.
By the end of this course, you will be capable of designing scalable, observable, production-ready performance testing frameworks using K6.
This is a complete API + Browser + Observability Performance Engineering MasterClass.