All apps/k6

k6

k6

Modern load testing for developers and testers in the DevOps era.

Runs as k6|macOS, Linux, Windows|k6.io

Command form

ai-draft · 3 tasks · 11 fields

Run or inspect a load test script locally. Output backends are limited to a plain out value; cloud runs, login, and the REST API controls are left out. Boolean-style k6 flags are not offered because the completion data models them as taking values.

Opens the form; the finished command lands at your prompt, unrun
otty gui k6

k6 run

Run a load test
Run a load testExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
file
Virtual users
integer
Duration
string
Environment variables
string
TasksEach one presets the form for one job
Quick smoke test
scriptvusdurationenv
Ramp with stages
scriptstageenvout
ParametersOnly these flags are editable in the form
Script
k6 script (JS file or archive) to run.
path · positional 0
Virtual users
Number of virtual users (default 1).
integer
--vus-u
Duration
Test duration limit, e.g. 30s or 5m.
string
--duration-d
Iterations
Total iteration limit across all VUs.
integer
--iterations-i
Stages
Add a stage as duration:target, e.g. 30s:20.
string · repeatable
--stage-s
Environment variables
Add or override an environment variable as VAR=value.
string · repeatable
--env-e
Tags
Tag applied to all samples, as name=value.
string · repeatable
--tag
Metrics output
URI for an external metrics database.
string · repeatable
--out-o
Export summary to JSON
Write the end-of-test summary report to a JSON file.
path
--summary-export
Requests per second limit
Limit requests per second.
integer
--rps

k6 inspect

Inspect a script
Inspect a scriptExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
file
TasksEach one presets the form for one job
Inspect
script
ParametersOnly these flags are editable in the form
Script
k6 script or archive to inspect.
path · positional 0
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed k6 against its version. A form that does not match your version is not offered.