k6 Verified for current stable LTS

K6 Command: Run Load Test Locally With Virtual Users And Duration

Use for run load test locally with virtual users and duration with K6. Exact CLI syntax to run load test locally with virtual users and duration using K6.

When to use this: Use for run load test locally with virtual users and duration with K6.

Command Syntax

k6 run -u <10> -d <30s> <script.js>

Command Breakdown

-u
Command Option
Tool-specific option used by this command invocation.
-d
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to run load test locally with virtual users and duration using K6.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to K6 directory