commands.sh

loadtest

all

Run a load test on the selected HTTP or WebSockets URL.

More info →

Options (3)

-c, --concurrencyboolean

Run with concurrent users and a specified amount of requests per second

Example: loadtest {{[-c|--concurrency]}} {{10}} {{[--rps|--requestsPerSecond]}} {{200}} {{https://example.com}}
--rpsboolean

Run with concurrent users and a specified amount of requests per second

Example: loadtest {{[-c|--concurrency]}} {{10}} {{[--rps|--requestsPerSecond]}} {{200}} {{https://example.com}}
-m, --methodboolean

Run with a specific HTTP method

Example: loadtest {{[-m|--method]}} {{GET}} {{https://example.com}}

Examples (3)

Run with concurrent users and a specified amount of requests per second

loadtest [-c|--concurrency] 10 [--rps|--requestsPerSecond] 200 https://example.com

Run with a custom HTTP header

loadtest --headers "accept:text/plain;text-html" https://example.com

Run with a specific HTTP method

loadtest [-m|--method] GET https://example.com
made by @shridhargupta | data from tldr-pages