Skip to content
ADHDecode
  1. Home
  2. Articles
  3. k6

k6 Articles

49 articles

k6 OAuth2 Authentication: Load Test Protected Endpoints

OAuth2 is surprisingly good at letting you load test protected endpoints without actually needing to manage user sessions.

2 min read

k6 Open Source vs Cloud: Which Should You Use?

k6 Open Source is a powerful load testing tool, but the cloud version offers a fundamentally different approach to scaling and managing your tests.

2 min read

k6 Percentiles: Analyze P95 and P99 Response Times

The P95 and P99 percentile metrics in k6 aren't just averages; they're critical for understanding the worst-case user experience during load testing, te.

2 min read

k6 for SRE: Define SLOs and Enforce Them in Tests

Defining and enforcing Service Level Objectives SLOs in your k6 performance tests is how you translate abstract goals into concrete, actionable checks t.

3 min read

k6 Production Strategy: Continuous Performance Testing

Continuous performance testing in production isn't about finding bugs; it's about understanding your system's actual behavior under real-world load, not.

2 min read

k6 Prometheus Remote Write: Send Metrics to Prometheus

Prometheus can't directly store metrics itself; instead, it scrapes them from configured targets, and if you want to send metrics to Prometheus for stor.

2 min read

k6 Results Analysis: Interpret Metrics and Fix Issues

Your k6 tests are failing, and you're staring at a bunch of metrics you don't quite understand. The core issue is that your load generator k6 is reporti.

3 min read

k6 Scenarios: Choose the Right Executor for Your Test

The k6 executor isn't just a mode; it's the engine that dictates how your load test actually runs, and choosing the wrong one can make your results comp.

2 min read

k6 Script Modules: Share Code Across Load Test Suites

k6 Script Modules: Share Code Across Load Test Suites — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 Serverless Load Testing: Stress Lambda and Functions

Serverless load testing is fundamentally about simulating real-world traffic to understand how your event-driven services behave under pressure, and k6 .

2 min read

k6 SharedArray: Load Test Data Without Memory Duplication

SharedArray in k6 allows you to load test data without duplicating it in memory across VUs, saving resources and enabling larger datasets.

3 min read

k6 Soak Test: Run Hours-Long Stability Tests

Soak tests aren't about how much load you can throw at a system, but how long it can handle a sustained load without degrading.

2 min read

k6 Spike Test: Simulate Sudden Traffic Surges

k6 Spike Test: Simulate Sudden Traffic Surges — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 Stress Test: Push Your System Past Breaking Point

k6 is a modern, open-source load testing tool that lets you test your system's performance and reliability by simulating user traffic.

5 min read

k6 Thresholds: Define and Enforce SLOs in Load Tests

k6 thresholds are the silent guardians of your application's performance, ensuring your load tests don't just run, but mean something.

2 min read

k6 TypeScript: Write Type-Safe Load Test Scripts

k6 TypeScript: Write Type-Safe Load Test Scripts — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 Virtual Users: Configure Ramp-Up and Steady State

k6 virtual users don't actually exist as persistent, independent processes; they're just slices of execution time within a single Go runtime.

2 min read

k6 vs Gatling: Choose Your Load Testing Framework

k6 and Gatling are both powerful open-source load testing tools, but they approach performance testing from fundamentally different philosophies, leadin.

4 min read

k6 vs JMeter: Modern vs Traditional Load Testing

k6 is faster than JMeter because it uses JavaScript for scripting and a Go backend, allowing it to achieve higher throughput with fewer resources.

2 min read

k6 vs Locust: JavaScript vs Python Load Testing

k6's JavaScript engine is surprisingly performant, often outperforming Python in raw request execution speed due to its V8 JavaScript runtime, which is .

2 min read

k6 API Performance Testing: Validate Under Real Load

The most surprising thing about k6 API performance testing is that its "real load" often isn't real enough without deliberate effort.

4 min read

k6 Baseline Tests: Measure Normal System Performance

A k6 baseline test isn't just about seeing what your system can do, it's about understanding what it normally does under light, non-disruptive load.

2 min read

k6 Bottleneck Detection: Find Slow Services Under Load

The most surprising thing about k6's bottleneck detection is that it doesn't actually detect bottlenecks itself; it exposes the symptoms of bottlenecks .

2 min read

k6 Browser Module: Load Test Real Browser Interactions

k6 Browser Module: Load Test Real Browser Interactions — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 + Chaos Engineering: Test Resilience Under Load

Chaos engineering in k6 is about deliberately breaking things to see if your system can handle it, especially when it's already under stress.

3 min read

k6 Checks: Assert Response Correctness in Load Tests

k6 Checks: Assert Response Correctness in Load Tests — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

4 min read

k6 in GitHub Actions: Automate Performance Testing in CI

k6, the open-source load testing tool, can be integrated into GitHub Actions to automate performance testing directly within your CI/CD pipeline.

3 min read

k6 in GitLab CI: Block Deploys on Performance Regression

GitLab CI's k6 integration can prevent performance regressions from reaching production by automatically failing pipelines when key metrics degrade.

2 min read

k6 Cloud Output: Stream Results to Grafana Cloud

Grafana Cloud's k6 integration doesn't just store your load test results; it actually interprets them, turning raw performance metrics into actionable i.

2 min read

k6 Cookies and Sessions: Maintain State Across Requests

k6 Cookies and Sessions: Maintain State Across Requests — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 Custom Metrics: Track Business KPIs Under Load

k6 Custom Metrics: Track Business KPIs Under Load — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

18 min read

k6 CSV Parameterization: Test with Thousands of Users

CSV parameterization in k6 allows you to drive tests with dynamic data, simulating real-world scenarios where user behavior and input vary.

2 min read

k6 Database Load Testing: Stress Test Queries Directly

k6 Database Load Testing: Stress Test Queries Directly — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

2 min read

k6 Distributed Testing: Scale Globally with k6 Cloud

k6 distributed testing lets you run load tests from multiple geographic locations simultaneously, making your results far more realistic than a single-p.

2 min read

k6 in Docker: Run Load Tests in Containers

k6 is a modern, open-source load testing tool that lets you script load tests in JavaScript. Running k6 within Docker containers is a common and powerfu.

3 min read

k6 Environment Variables: Configure Tests Without Edits

k6 Environment Variables: Configure Tests Without Edits — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

2 min read

k6 Extensions: Build Custom xk6 Modules

k6 Extensions: Build Custom xk6 Modules. You can build custom extensions for k6, called xk6 modules, using Go. Let's see it in action

3 min read

k6 File Upload Testing: Load Test Multipart Endpoints

k6 can test multipart file uploads, but it doesn't handle them out of the box like a browser. Let's see k6 upload a file to a simple Go HTTP server

4 min read

k6 First Load Test: Write and Run in 5 Minutes

You can run a load test in under 5 minutes with k6, but the real surprise is how little code it actually takes to generate meaningful load.

4 min read

k6 Getting Started: Install and Test Your First API

k6 Getting Started: Install and Test Your First API — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 Groups and Tags: Organize Complex Load Test Scenarios

k6 Groups and Tags: Organize Complex Load Test Scenarios — practical guide covering k6 setup, configuration, and troubleshooting with real-world examples.

3 min read

k6 gRPC Testing: Load Test Protobuf Services

gRPC is a high-performance, open-source framework that lets you call methods on remote servers as if they were local objects.

4 min read

k6 HTTP Requests: Master GET, POST, Auth Patterns

A k6 script can feel like a black box, but it's actually a sophisticated simulation engine that needs careful tuning to accurately mimic real-world user.

3 min read

k6 + InfluxDB + Grafana: Build Live Load Dashboards

k6, the open-source load testing tool, can stream its results directly to InfluxDB, a time-series database, which Grafana, a popular visualization platf.

2 min read

k6 Install: Set Up Performance Testing in 2 Minutes

k6 installation is surprisingly easy, but the real magic is how it lets you define complex load scenarios with simple JavaScript.

4 min read

k6 ES6 Modules: Write Maintainable Test Scripts

ES6 Modules in k6 don't just organize your code; they fundamentally change how you think about test script composition and reuse.

3 min read

k6 Kubernetes Operator: Run Load Tests as K8s Jobs

The k6 Kubernetes Operator lets you run k6 load tests directly within your Kubernetes cluster, treating them as native Kubernetes Jobs.

3 min read

k6 Setup and Teardown: Manage Test State Lifecycle

Setting up and tearing down test state for performance tests is often an afterthought, leading to flaky tests and inaccurate metrics, but it's the secre.

4 min read

k6 Microservices Load Testing: Test Every Service

You can actually test every service in a microservices architecture with k6, and the most surprising part is how much less brittle your tests become whe.

4 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close