k6
Verified for current stable LTS
K6 Commands
K6 command syntax with verified terminal examples.
Commands
8 commands for K6
k6 Operations
K6 Command: Login To Cloud Service With Token
k6 login cloud --token <secret> k6 Operations
K6 Command: Run Load Test Locally
k6 run <script.js> k6 Operations
K6 Command: Run Load Test Locally And Discard Response Bodies
k6 run --discard-response-bodies <script.js> k6 Operations
K6 Command: Run Load Test Locally With Base Js Compatibility Mode
k6 run --compatibility-mode=base <script.js> k6 Operations
K6 Command: Run Load Test Locally With Env Var
k6 run -e <HOSTNAME=example.com> <script.js> k6 HTTP
K6 Command: Run Load Test Locally With Influxdb Storage
k6 run -o influxdb={http://localhost:8086/k6db} <script.js> k6 Operations
K6 Command: Run Load Test Locally With Virtual Users And Duration
k6 run -u <10> -d <30s> <script.js> k6 Operations
K6 Command: Run Load Test On Cloud Infrastructure
k6 cloud <script.js> Suggest a K6 Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common K6 workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.