by Devin Yang
(This article was automatically translated.)

Published - 5 years ago ( Updated - 5 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


dlaravel

Description of .env.example file on D-Laravel

This article explains about the .env settings on D-Laravel MYSQL_ROOT_PASSWORD=secret LARAVEL_INSTALLER='container' DOCKER_SERVICES='docker-compose.yml service/redis.yml'

certbot,docker,ftp

curlftpfs introduction and manual certificate application

Situation sharing, imagine that you have WebHosting, which only provides FTP connection, and then you want to apply for a certificate manually. In this article, I share how I use Docker to install curlftpfs, mount the FTP folder of the remote host, and then execute certbot in the container to apply for an SSL certificate. Leaving aside the certificate application, when I first discovered the curlftpfs command, I found it very interesting, especially if you are a MacOS user and do not have a satisfactory FTP software at hand. You love scrolling through the command line as much as I do, so maybe you should love this command too. 🤭

linux

Generate ssh key pair without password query

Sometimes it is necessary to generate an ssh key pair for automatic configuration. There is no password query in the command line, and an ssh key pair is generated.