Published - 6 years ago ( Updated - 6 years ago )
Siege is an http load testing and benchmarking tool. Used to stress test the code.
Siege supports basic authentication, cookies, HTTP, HTTPS and FTP protocols.
It allows users to access web servers by simulating concurrent connections etc.
If automake is not installed in the OSX system, please download and install it from Gnu FTP first. The version I use in this article is version 1.16.
First of all, of course, you must download the Source Code from github.
The command is as follows:
Siege supports basic authentication, cookies, HTTP, HTTPS and FTP protocols.
It allows users to access web servers by simulating concurrent connections etc.
If automake is not installed in the OSX system, please download and install it from Gnu FTP first. The version I use in this article is version 1.16.
http://ftp.gnu.org/gnu/automake/
In the automake directory, the compilation method is very simple
./configure
make
make install
First of all, of course, you must download the Source Code from github.
git clone https://github.com/JoeDog/siege
Enter the directory, execute the following instructions, compile and install
utils/bootstrap
./configure
make
make install
siege -d10 -c10 -i -f urls.txt
The file of urls.txt can be as follows:
http://example.test/
http://example.test/path1
http://example.test/path2
-d10 is delay-c10 is the number of simultaneous connections
-i Simulate the user randomly clicking on the URL
-f selects the specified URL
No Comment
Post your comment