
k6
List of commands for k6:
-
k6:tldr:2491d k6: Run load test locally with a given environment variable.$ k6 run -e ${HOSTNAME=example-com} ${script-js}try on your machineexplain this command
-
k6:tldr:252e9 k6: Run load test on cloud infrastructure.$ k6 cloud ${script-js}try on your machineexplain this command
-
k6:tldr:2ddfb k6: Run load test locally using InfluxDB to store results.$ k6 run --out influxdb=${http:--localhost:8086-k6db} ${script-js}try on your machineexplain this command
-
k6:tldr:52275 k6: Log in to cloud service using secret token.$ k6 login cloud --token ${secret}try on your machineexplain this command
-
k6:tldr:7f3f3 k6: Run load test locally.$ k6 run ${script-js}try on your machineexplain this command
-
k6:tldr:89d4b k6: Run load test locally with a given number of virtual users and duration.$ k6 run --vus ${10} --duration ${30s} ${script-js}try on your machineexplain this command
-
k6:tldr:8e2bd k6: Run load test locally and discard response bodies (significantly faster).$ k6 run --discard-response-bodies ${script-js}try on your machineexplain this command
-
k6:tldr:f064c k6: Run load test locally using the base JavaScript compatibility mode (significantly faster).$ k6 run --compatibility-mode=base ${script-js}try on your machineexplain this command