Sorry, you need to enable JavaScript to visit this website.

How to easily load-test your website?

Submitted by abhaisasidharan on Wed, 10/13/2021 - 07:30

There is a tool called siege which you can install quite easily.

sudo apt install siege -y # debian based systems
sudo pacman -S siege # arch based systems
sudo dnf install siege -y # redhat based systems

Once you have installed siege, the following commands can be used to load test:

siege https://example.com # Your website will be loaded with requests from 25 concurrent users (default config)
siege -c50 https://example.com # 50 concurrent users
siege -c50 -t500s https://example.com # 50 concurrent users and 500 seconds
siege -C # See default configs
cat $HOME/.siege/siege.conf # Usually where the config file is.

More info here: https://www.joedog.org/siege-manual/