Performance Testing with k6 + JavaScript
Learn to design and run k6 load tests with realistic data, correlation, and reports that non-specialists can use.
Performance Testing with k6 + JavaScript
Overview
Participants design and run performance tests in k6, using JavaScript to model realistic traffic and dynamic data. They also learn how to read the resulting metrics and explain what they mean for a release.
What you will learn
- Design effective load and stress scenarios in k6
- Create reusable JavaScript-based performance scripts
- Handle realistic data, token correlation, and runtime configuration
- Interpret metrics and turn the results into specific recommendations
Workshop agenda
Day 1: Foundations and implementation
- Core performance concepts and objective definition
- k6 setup, project structure, and script lifecycle
- Modeling user journeys and traffic distribution
- Assertions, thresholds, and baseline run strategy
Day 2: Advanced execution and analysis
- Correlation and dynamic data handling
- Environment parameterization and repeatable execution
- Analysis of latency, errors, and throughput patterns
- Reporting the findings and setting optimization priorities
Prerequisites
Basic JavaScript knowledge and familiarity with web/API fundamentals are recommended.
