---
id: "k6"
type: "component"
kind: "client"
provider: "default"
category: "client"
docs: "https://grafana.com/docs/k6/latest/"
url: "https://localhost:3000/catalogue/components/k6"
---

# Grafana k6

Scripted load generator running JavaScript tests on a Go engine.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Client](https://localhost:3000/catalogue/kinds/client) |
| Category | Client |
| Official docs | [https://grafana.com/docs/k6/latest/](https://grafana.com/docs/k6/latest/) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `executionMode` | enum | `local`, `distributed`, `cloud` | no | "local" | inherited |
| `instances` | integer | — | no | — | inherited |
| `localCache` | boolean | — | no | false | **false** |
| `managed` | boolean | — | no | false | **false** |
| `offlineCapable` | boolean | — | no | false | inherited |
| `persistentConnection` | boolean | — | no | false | inherited |
| `platform` | enum | `web`, `mobile`, `desktop`, `sdk`, `tv`, `embedded`, `multi` | yes | — | **"desktop"** |
| `protocol` | enum | `http`, `grpc`, `websocket`, `browser` | no | "http" | inherited |
| `resendPolicy` | enum | `none`, `retry`, `store-and-forward` | no | "none" | inherited |
| `virtualUsers` | integer | — | no | 1 | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 33

- [Performance Testing Service](https://localhost:3000/catalogue/components/alibaba-pts.md) `alibaba-pts` — alibabacloud
- [Amazon CodeWhisperer](https://localhost:3000/catalogue/components/aws-codewhisperer.md) `aws-codewhisperer` — aws
- [AWS Device Farm](https://localhost:3000/catalogue/components/aws-device-farm.md) `aws-device-farm` — aws
- [Amazon Q Developer](https://localhost:3000/catalogue/components/aws-q-developer.md) `aws-q-developer` — aws
- [Amazon WorkSpaces Thin Client](https://localhost:3000/catalogue/components/aws-workspaces-thin-client.md) `aws-workspaces-thin-client` — aws
- [Azure Load Testing](https://localhost:3000/catalogue/components/azure-load-testing.md) `azure-load-testing` — azure
- [Playwright Workspaces](https://localhost:3000/catalogue/components/azure-playwright-testing.md) `azure-playwright-testing` — azure
- [Azure Sphere](https://localhost:3000/catalogue/components/azure-sphere.md) `azure-sphere` — azure
- [Cloudflare One Client (WARP)](https://localhost:3000/catalogue/components/cloudflare-warp.md) `cloudflare-warp` — cloudflare
- [Bolt.new](https://localhost:3000/catalogue/components/bolt-new.md) `bolt-new` — default
- [Claude Code](https://localhost:3000/catalogue/components/claude-code.md) `claude-code` — default
- [Generic client](https://localhost:3000/catalogue/components/client.md) `client` — default
- [Cursor](https://localhost:3000/catalogue/components/cursor.md) `cursor` — default
- [Desktop app](https://localhost:3000/catalogue/components/desktop-app.md) `desktop-app` — default
- [Gatling](https://localhost:3000/catalogue/components/gatling.md) `gatling` — default
- [GitHub Copilot](https://localhost:3000/catalogue/components/github-copilot.md) `github-copilot` — default
- [IoT device](https://localhost:3000/catalogue/components/iot-device.md) `iot-device` — default
- [JetBrains AI](https://localhost:3000/catalogue/components/jetbrains-ai.md) `jetbrains-ai` — default
- [Apache JMeter](https://localhost:3000/catalogue/components/jmeter.md) `jmeter` — default
- [Locust](https://localhost:3000/catalogue/components/locust.md) `locust` — default
- [Lovable](https://localhost:3000/catalogue/components/lovable.md) `lovable` — default
- [Mobile app](https://localhost:3000/catalogue/components/mobile-app.md) `mobile-app` — default
- [Replit Agent](https://localhost:3000/catalogue/components/replit-agent.md) `replit-agent` — default
- [SDK client](https://localhost:3000/catalogue/components/sdk-client.md) `sdk-client` — default
- [Selenium Grid](https://localhost:3000/catalogue/components/selenium-grid.md) `selenium-grid` — default
- [Smart TV app](https://localhost:3000/catalogue/components/smart-tv-app.md) `smart-tv-app` — default
- [Sourcegraph Cody](https://localhost:3000/catalogue/components/sourcegraph-cody.md) `sourcegraph-cody` — default
- [Tabnine](https://localhost:3000/catalogue/components/tabnine.md) `tabnine` — default
- [User device](https://localhost:3000/catalogue/components/user-device.md) `user-device` — default
- [v0](https://localhost:3000/catalogue/components/v0.md) `v0` — default
- [Web browser](https://localhost:3000/catalogue/components/web-browser.md) `web-browser` — default
- [Windsurf](https://localhost:3000/catalogue/components/windsurf.md) `windsurf` — default
- [Gemini Code Assist](https://localhost:3000/catalogue/components/google-gemini-code-assist.md) `google-gemini-code-assist` — gcp

## Use it in a design

```yaml
nodes:
  - { id: "k6", component: "k6" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Grafana k6: load generator that runs JavaScript test scripts on a Go engine from the CLI. Local
# execution is the default; distributed and Grafana Cloud k6 runs are opt-in. A k6 run with no options
# uses 1 virtual user and 1 iteration ("Grafana k6 documentation").
schemaVersion: "1"
type: "component"
id: "k6"
kind: "client"
provider: "default"
docs: "https://grafana.com/docs/k6/latest/"
defaults:
  platform: "desktop"
  localCache: false
  managed: false
properties:
  executionMode:
    type: "enum"
    values: ["local", "distributed", "cloud"]
    default: "local"
  virtualUsers:
    type: "integer"
    default: 1
  protocol:
    type: "enum"
    values: ["http", "grpc", "websocket", "browser"]
    default: "http"
```

Human page: https://localhost:3000/catalogue/components/k6
