# k6 ## Docs - [k6 archive](https://mintlify.wiki/grafana/k6/cli/archive.md): Create a self-contained test archive - [k6 cloud](https://mintlify.wiki/grafana/k6/cli/cloud.md): Run and manage tests in Grafana Cloud - [Configuration File](https://mintlify.wiki/grafana/k6/cli/configuration-file.md): k6 JSON configuration file format - [Environment Variables](https://mintlify.wiki/grafana/k6/cli/environment-variables.md): Environment variables supported by k6 - [k6 inspect](https://mintlify.wiki/grafana/k6/cli/inspect.md): Inspect a k6 script or archive - [k6 login](https://mintlify.wiki/grafana/k6/cli/login.md): Authenticate with cloud services - [k6 new](https://mintlify.wiki/grafana/k6/cli/new.md): Create a new k6 test script from a template - [CLI Options Reference](https://mintlify.wiki/grafana/k6/cli/options.md): Complete reference for k6 command-line options - [k6 pause/resume/scale](https://mintlify.wiki/grafana/k6/cli/pause-resume-scale.md): Control running k6 tests via the REST API - [k6 run](https://mintlify.wiki/grafana/k6/cli/run.md): Run a load test script with k6 - [k6 version](https://mintlify.wiki/grafana/k6/cli/version.md): Display k6 version information - [Checks](https://mintlify.wiki/grafana/k6/concepts/checks.md): Use checks to validate responses and track success rates in your k6 tests. - [Metrics](https://mintlify.wiki/grafana/k6/concepts/metrics.md): Learn about k6's built-in metrics and how to create custom metrics to track test performance. - [Test Lifecycle](https://mintlify.wiki/grafana/k6/concepts/test-lifecycle.md): Understand the four phases of k6 test execution - init, setup, default function, and teardown. - [Thresholds](https://mintlify.wiki/grafana/k6/concepts/thresholds.md): Define pass/fail criteria for your k6 tests using thresholds. - [Virtual Users (VUs)](https://mintlify.wiki/grafana/k6/concepts/virtual-users.md): Learn how k6 uses virtual users to simulate concurrent load on your system. - [Authentication](https://mintlify.wiki/grafana/k6/examples/authentication.md): Examples of different authentication methods in k6 - [Basic Load Test](https://mintlify.wiki/grafana/k6/examples/basic-load-test.md): Learn how to create a simple load test with k6 - [Cookies and Sessions](https://mintlify.wiki/grafana/k6/examples/cookies-sessions.md): Handle cookies and maintain sessions in k6 - [Data Correlation](https://mintlify.wiki/grafana/k6/examples/data-correlation.md): Extract and correlate data between requests in k6 - [gRPC Testing](https://mintlify.wiki/grafana/k6/examples/grpc-test.md): Test gRPC services with k6 - [WebSocket Testing](https://mintlify.wiki/grafana/k6/examples/websocket-test.md): Test WebSocket connections with k6 - [Constant Arrival Rate Executor](https://mintlify.wiki/grafana/k6/executors/constant-arrival-rate.md): Start iterations at a constant rate regardless of iteration duration - [Constant VUs Executor](https://mintlify.wiki/grafana/k6/executors/constant-vus.md): Run a fixed number of VUs for a specified duration - [Externally Controlled Executor](https://mintlify.wiki/grafana/k6/executors/externally-controlled.md): Control test execution dynamically via the k6 REST API - [Executors Overview](https://mintlify.wiki/grafana/k6/executors/overview.md): Learn about k6 executors and how to control VU and iteration scheduling - [Per VU Iterations Executor](https://mintlify.wiki/grafana/k6/executors/per-vu-iterations.md): Each VU executes a fixed number of iterations - [Ramping Arrival Rate Executor](https://mintlify.wiki/grafana/k6/executors/ramping-arrival-rate.md): Start iterations at a variable rate that changes over stages - [Ramping VUs Executor](https://mintlify.wiki/grafana/k6/executors/ramping-vus.md): Gradually increase or decrease VUs over multiple stages - [Shared Iterations Executor](https://mintlify.wiki/grafana/k6/executors/shared-iterations.md): Execute a fixed total number of iterations shared among VUs - [Creating Extensions](https://mintlify.wiki/grafana/k6/extensions/creating-extensions.md): Build custom k6 extensions in Go to add new functionality - [Extensions Overview](https://mintlify.wiki/grafana/k6/extensions/overview.md): Understanding k6's extension system and available extension types - [Using Extensions](https://mintlify.wiki/grafana/k6/extensions/using-extensions.md): How to build and use k6 with xk6 extensions - [Installation](https://mintlify.wiki/grafana/k6/installation.md): Install k6 on Linux, macOS, Windows, or Docker - [Introduction to k6](https://mintlify.wiki/grafana/k6/introduction.md): Modern load testing for developers and testers in the DevOps era - [Execution Context](https://mintlify.wiki/grafana/k6/javascript-api/execution-context.md): Access execution information and control test execution. - [k6](https://mintlify.wiki/grafana/k6/javascript-api/k6.md): The k6 module provides core test functionality including checks, groups, and test control. - [k6/crypto](https://mintlify.wiki/grafana/k6/javascript-api/k6-crypto.md): Cryptographic hashing and HMAC functions. - [k6/data](https://mintlify.wiki/grafana/k6/javascript-api/k6-data.md): Share data efficiently between VUs using SharedArray. - [k6/encoding](https://mintlify.wiki/grafana/k6/javascript-api/k6-encoding.md): Base64 encoding and decoding utilities. - [k6/html](https://mintlify.wiki/grafana/k6/javascript-api/k6-html.md): Parse and query HTML documents using jQuery-like selectors. - [k6/http](https://mintlify.wiki/grafana/k6/javascript-api/k6-http.md): HTTP client module for making HTTP requests and handling responses. - [k6/metrics](https://mintlify.wiki/grafana/k6/javascript-api/k6-metrics.md): Create and use custom metrics in your k6 tests. - [k6/net/grpc](https://mintlify.wiki/grafana/k6/javascript-api/k6-net-grpc.md): gRPC client for testing gRPC services. - [k6/secrets](https://mintlify.wiki/grafana/k6/javascript-api/k6-secrets.md): Securely access secrets and sensitive data in k6 tests - [k6/timers](https://mintlify.wiki/grafana/k6/javascript-api/k6-timers.md): Timer functions for scheduling asynchronous operations in k6 tests - [k6/websockets](https://mintlify.wiki/grafana/k6/javascript-api/k6-websockets.md): Modern WebSocket API for k6 load testing - [k6/ws](https://mintlify.wiki/grafana/k6/javascript-api/k6-ws.md): WebSocket client for real-time bidirectional communication. - [VU Instance and Test Objects](https://mintlify.wiki/grafana/k6/javascript-api/vu-instance-test.md): Global VU and test objects for runtime information. - [Browser Testing](https://mintlify.wiki/grafana/k6/protocols/browser.md): Test web applications with Chromium-based browser automation in k6 - [gRPC Testing](https://mintlify.wiki/grafana/k6/protocols/grpc.md): Test gRPC services with support for unary, streaming, and reflection - [HTTP Testing](https://mintlify.wiki/grafana/k6/protocols/http.md): Test HTTP/1.1 and HTTP/2 APIs with k6's comprehensive HTTP module - [WebSocket Testing](https://mintlify.wiki/grafana/k6/protocols/websockets.md): Test WebSocket connections and real-time communication with k6 - [Quick start guide](https://mintlify.wiki/grafana/k6/quickstart.md): Run your first k6 load test in under 5 minutes - [Grafana Cloud k6 Integration](https://mintlify.wiki/grafana/k6/results/cloud-integration.md): Stream k6 test results to Grafana Cloud k6 for real-time monitoring and analysis - [Creating Custom Outputs](https://mintlify.wiki/grafana/k6/results/custom-outputs.md): Build custom output extensions to send k6 results to any backend or format - [End of Test Summary](https://mintlify.wiki/grafana/k6/results/end-of-test-summary.md): Understanding k6's end-of-test summary output and metrics display - [Output Formats](https://mintlify.wiki/grafana/k6/results/output-formats.md): Available output formats for exporting k6 test results - [Load Testing](https://mintlify.wiki/grafana/k6/test-types/load-testing.md): Test your system's performance under expected normal and peak load conditions using k6 load testing patterns. - [Smoke Testing](https://mintlify.wiki/grafana/k6/test-types/smoke-testing.md): Learn how to validate your test script and system under minimal load using k6 smoke testing patterns. - [Soak Testing](https://mintlify.wiki/grafana/k6/test-types/soak-testing.md): Test your system's stability and reliability over extended periods using k6 soak testing patterns to identify memory leaks and performance degradation. - [Spike Testing](https://mintlify.wiki/grafana/k6/test-types/spike-testing.md): Test your system's resilience to sudden traffic surges using k6 spike testing patterns. - [Stress Testing](https://mintlify.wiki/grafana/k6/test-types/stress-testing.md): Push your system beyond normal operating capacity to identify breaking points and test recovery using k6 stress testing patterns. - [HTTP Requests](https://mintlify.wiki/grafana/k6/writing-tests/http-requests.md): Making HTTP requests with the k6 http module - [Scenarios](https://mintlify.wiki/grafana/k6/writing-tests/scenarios.md): Advanced test execution with k6 scenarios and executors - [Tags and Groups](https://mintlify.wiki/grafana/k6/writing-tests/tags-groups.md): Organizing and filtering metrics with tags and groups - [Test Options](https://mintlify.wiki/grafana/k6/writing-tests/test-options.md): Configuring k6 test execution with options - [Test Structure](https://mintlify.wiki/grafana/k6/writing-tests/test-structure.md): Understanding k6 test script structure and anatomy