The following is the GNU All-permissive License as recommended in https://www.gnu.org/licenses/license-recommendations.en.html
Copyright (C) 2024 Free Software Foundation sysadmin@fsf.org
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
Contributions are welcome. See https://savannah.gnu.org/maintenance/fsf/.
Siege
Load test for websites
Source GPL-3.0-or-later
Tutorial/3)
Installation
apt install -y siege
Use
Make sure you have permission before load testing a website. By default,
siege
acts as 25 users. Replace https://www.fsf.org/
with the URL of your
choice.
siege https://www.fsf.org/
Change the number of users with -c
. Change 60
to the number of users you
want to test with.
siege -c 60 https://www.fsf.org/
Test load on a number of URLs by placing them into a plaintext file and test all of them at once.
siege -f ~/sites.txt
Set the time to test with the -t
switch.
siege -t 30s https://www.fsf.org/