k6
Verified for current stable LTS
K6 Command: Run Load Test Locally
Use for run load test locally with K6. Exact CLI syntax to run load test locally using K6.
When to use this: Use for run load test locally with K6.
Command Syntax
k6 run <script.js> k6 run <script.js> Command Breakdown
k6 is the base executable for this command.
FAQ
Purpose: Exact syntax to run load test locally 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
K6 Command: Login To Cloud Service With Token
k6 login cloud --token <secret> K6 Command: Run Load Test Locally And Discard Response Bodies k6 run --discard-response-bodies <script.js> K6 Command: Run Load Test Locally With Base Js Compatibility Mode k6 run --compatibility-mode=base <script.js> K6 Command: Run Load Test Locally With Env Var k6 run -e <HOSTNAME=example.com> <script.js> K6 Command: Run Load Test Locally With Influxdb Storage k6 run -o influxdb={http://localhost:8086/k6db} <script.js>