by Devin Yang
(This article was automatically translated.)

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.
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


vpn,cli,macos

How do I dial a VPN from the command line on MacOS

I myself will need to use MacOS to dial VPN in the command line. Here I provide my alias and setting method

bash,ffmpeg

webm to mp4

How to convert webm to mp4 with ffmpeg.

cocoapods

Update RubyGems and cocoapods

This page describes how to install cocoapod on a Mac computer. Youtube videos can choose Chinese subtitles.