by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 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.
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
The command is as follows:
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

Tags:

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel

Introduced by @dump, new features in Laravel 5.6.8

In the directive of Laravel 5.6, there is a new function called @dump Let's see how cool he is.

laravel

Laravel thought organization, from Model to DatabaseSeeder.

This article will introduce the relevant instruction use cases step by step: Model=>Factory=>Seeder=>DatabaseSeeder Step by step, let us examine all the processes from the Model to the DatabaseSeeder.

laravel

Laravel 5.7 new feature dump-server.

In Laravel 5.7.x, the artisan command starts to support and integrate Symfony's dump-server. Through the artisan command, start the dump-server, and we can display the dump data on the console.