k6.wiki
Get Started with k6: The Ultimate Newbie Guide
Posted on May 24, 2026 in Workloads & Execution
A beginner-friendly introduction to Grafana k6. Learn what k6 is, why it crushed JMeter, and follow a complete step-by-step roadmap to run your first load test with dynamic HTML dashboards.
k6 Architecture: Sobek JavaScript Engine Under the Hood
Posted on May 24, 2026 in Architecture
Discover how the Sobek JavaScript virtual machine powers Grafana k6. Learn about Goja interpreter transitions, isolated VU execution contexts, modular ESM compilation overhead, and SharedArray read-only heap memory optimizations.
k6 vs JMeter: Why Goroutine Multiplexing Crushes OS Threads
Posted on May 24, 2026 in Architecture
Compare the virtual user models of Grafana k6 and Apache JMeter. Learn how Go's 2KB goroutines solve the scale bottlenecks of JVM OS threads by avoiding heavyweight kernel-level context switching.
The k6 Node.js Event Loop Paradox and Webpack Bundling
Posted on May 24, 2026 in Architecture
Why k6 does not have a native Node.js event loop and how this affects your asynchronous JavaScript code. Learn how to configure Babel and Webpack to transpile raw npm packages for isolated Sobek executions.
Coordinated Omission: Why Open-Loop Workloads Are Vital for Real Load
Posted on May 24, 2026 in Workloads & Execution
Learn how coordinated omission corrupts response time measurements in legacy load testing. Understand open vs closed workload models, the mathematical relationships defined by Little's Law, and how to configure arrival-rate executors to measure sustained throughput during backend stalls.
Enterprise k6 Scripting: Custom Telemetry, Thresholds, and SharedArray
Posted on May 24, 2026 in Workloads & Execution
How to engineer a production-ready k6 load test script. Implement custom Trends, Rates, Counters, and Gauges. Define multi-scenario executors and automate regression validation inside pipelines by establishing SLO threshold gates.
Hybrid Load Testing: Combining k6 Protocol VUs with k6/browser and Playwright
Posted on May 24, 2026 in Workloads & Execution
How to run hybrid performance tests using k6. Combine protocol-level backend load with browser-level frontend execution to capture real Web Vitals under stress. Learn the resource trade-offs between browser and protocol concurrency.
xk6 Architecture: Extending the k6 Runtime with Custom Go Bindings
Posted on May 24, 2026 in Extensions
Learn how xk6 dynamically extends Grafana k6. Explore how the internal Go-to-JavaScript bridge exposes Go structs and public methods to the Sobek engine using reflection, mapping PascalCase to camelCase and processing custom JavaScript struct tags.
Enterprise xk6 Extensions: Chaos Disruption, Distributed Tracing, and Direct SQL
Posted on May 24, 2026 in Extensions
Implement chaos engineering, distributed tracing headers, and direct database queries inside your k6 test lifecycle. Learn the internal mechanics of xk6-disruptor, xk6-distributed-tracing, and xk6-sql, and compile customized runner images using multi-stage Dockerfiles.
k6 Reporting: Real-time Web Dashboards and Headless NDJSON Streaming
Posted on May 24, 2026 in Observability
Learn how to capture, visualize, and stream Grafana k6 metrics. Set up real-time SSE-based browser dashboards, run headless exports, and map raw NDJSON metric streams containing custom tags and threshold statuses.
k6 Observability: InfluxDB vs Prometheus Remote Write and Grafana Cloud
Posted on May 24, 2026 in Observability
Compare time-series database backends for Grafana k6. Analyze the storage technology, query interfaces, tag cardinality limits, and retention scales of InfluxDB, Prometheus Remote Write, and Grafana Cloud ingestion.
k6 in CI/CD: Automated Pipeline Orchestration in Azure DevOps and GitHub Actions
Posted on May 24, 2026 in Observability
How to orchestrate automated k6 load tests in continuous integration environments. Set up persistent compilation caching, manage environment credentials, and publish HTML test summaries inside Azure DevOps and GitHub Actions workflows.
Installing k6 on Windows: WinGet, Chocolatey, and Manual Path Automation
Posted on May 24, 2026 in Windows Operations
A comprehensive guide to installing Grafana k6 on Windows. Learn how to deploy the runtime cleanly using WinGet, Chocolatey, or manually register user PATH variables via automated PowerShell scripts.
Windows Environment Variables: Handling State in PowerShell and CMD for k6
Posted on May 24, 2026 in Windows Operations
How to manage environment variables for Grafana k6 on Windows. Compare PowerShell `$env:` and Command Prompt `set` variable scopes, clear stale session states, and pass variables dynamically using platform-agnostic CLI switches.
Building custom k6.exe Binaries on Windows using xk6
Posted on May 24, 2026 in Windows Operations
A complete walkthrough for compiling customized k6.exe binaries locally on Windows. Install the Go MSI packages and Git for Windows, set up the xk6 compiler wrapper globally, and compile database-capable binaries using PowerShell line continuations.
Architecting an Enterprise k6 Framework on Windows
Posted on May 24, 2026 in Windows Operations
Build a modular, highly scalable performance testing framework in k6. Learn how to decouple JSON configurations, manage large user credential datasets using memory-optimized SharedArrays, and write secure custom HTTP client wrappers.
k6 Workload Execution and static Gzip HTML Report Generation on Windows
Posted on May 24, 2026 in Windows Operations
Learn how to execute k6 workloads and generate compressed HTML reports on Windows. Review performance engineering best practices: sizing VU ceilings, avoiding sleep inside open workloads, and formatting forward slash path imports in the k6 virtual machine.