How to use siege?
Start the server, open a second terminal and type in "siege http://example.com"
Stresstest: "siege -c 10 -t 1M http://example.com" --> -c 10 means that 10 users sending their request at the same time
-t 1M means that the tests should run for one Minute
What is siege?
Siege is a command line tool for load testing web servers and web applications. It sends a large number of parallel requests to the server to test its response to load situations. Siege allows you to test the responsiveness and performance of a server under stress by simulating a large number of requests.
What is homebrew?
Homebrew is a package manager for macOS operating systems. It enables the easy installation of open source software and tools by automating their installation, updating and uninstallation.
siege http://localhost:8000/animal.jpg --> no failed transactions
siege http://localhost:8000/index.html --> segmentation fault
siege http://localhost:8000/upload.html --> Aborted
For Mac "brew install siege"
For Linux "sudo apt-get install siege"
How to use siege? Start the server, open a second terminal and type in "siege http://example.com" Stresstest: "siege -c 10 -t 1M http://example.com" --> -c 10 means that 10 users sending their request at the same time -t 1M means that the tests should run for one Minute
What is siege? Siege is a command line tool for load testing web servers and web applications. It sends a large number of parallel requests to the server to test its response to load situations. Siege allows you to test the responsiveness and performance of a server under stress by simulating a large number of requests.
What is homebrew? Homebrew is a package manager for macOS operating systems. It enables the easy installation of open source software and tools by automating their installation, updating and uninstallation.