cb8fbaba9b7e1df9d9781a661852d08097bc99ef
Updating function name + Adding request by request mode
Basic HTTP Stress test
This is a little script wrote in Python 3. It's just for simulating multiple connection in same time.
How to use it
- Install Python 3
Debian, Ubuntu
sudo apt install python3
Fedora
sudo dnf install python37
Redhat, CentOS
sudo yum install python3
Windows and macOS You can download the installer on here for Windows and here for macOS
Example and minimal arguments
python3 http_stress_test.py -h host [-p port] -pth path [-t number_of_thread] [-tm timeout_in_second]
Your command must have -h (host IP or domain) and -pth (path to the resource)
Example:
python3 http_stress_test.py -h www.google.fr -pth / -t 10
Description
Languages
Python
98.9%
Batchfile
1.1%