From 76db7af9d414ed9076e215369a780868067342a7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 8 Jan 2021 13:40:46 +0000 Subject: [PATCH] siege: add page (#5028) * siege: add page * fix: Added token syntax & made more consistent with other pages * Apply suggestions from code review Co-authored-by: Axel Navarro * Fix "More nformation" link syntax Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: Axel Navarro --- pages/common/siege.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/siege.md diff --git a/pages/common/siege.md b/pages/common/siege.md new file mode 100644 index 0000000000..de884ee53e --- /dev/null +++ b/pages/common/siege.md @@ -0,0 +1,28 @@ +# siege + +> HTTP loadtesting and benchmarking tool. +> More information: . + +- Test a url with default settings: + +`siege {{https://example.com}}` + +- Test a list of urls: + +`siege --file {{path/to/url_list.txt}}` + +- Test list of urls in a random order (Simulates internet traffic): + +`siege --internet --file {{path/to/url_list.txt}}` + +- Benchmark a list of urls (Dont wait between requests): + +`siege --benchmark --file {{path/to/url_list.txt}}` + +- Set the amount of concurrent connections: + +`siege --concurrent={{50}} --file {{path/to/url_list.txt}}` + +- Set how long for the siege to run for: + +`siege --time={{30s}} --file {{path/to/url_list.txt}}`