From 43c9164d69dc22158f9a100d6f762d18ab8359ea Mon Sep 17 00:00:00 2001 From: Thamaraiselvam Date: Sun, 10 Oct 2021 14:39:20 +0530 Subject: [PATCH] loadtest: add page (#6923) --- pages/common/loadtest.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/loadtest.md diff --git a/pages/common/loadtest.md b/pages/common/loadtest.md new file mode 100644 index 0000000000..46b9d5cc3d --- /dev/null +++ b/pages/common/loadtest.md @@ -0,0 +1,16 @@ +# loadtest + +> Run a load test on the selected HTTP or WebSockets URL. +> More information: . + +- Run with concurrent users and a specified amount of requests per second: + +`loadtest --concurrency {{10}} --rps {{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 --method {{GET}} {{https://example.com}}`