LinuxCommandLibrary

loadtest

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

TLDR

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

$ loadtest --concurrency [10] --rps [200] [https://example.com]
copy


Run with a custom HTTP header
$ loadtest --headers "[accept:text/plain;text-html]" [https://example.com]
copy


Run with a specific HTTP method
$ loadtest --method [GET] [https://example.com]
copy

Copied to clipboard