Lightweight HTTP load testing tool.
Project description
HTTP Benchw
HTTP Benchw is a lightweight HTTP load testing tool designed to help evaluate the performance of web applications or proxies under various load conditions. It supports comprehensive performance testing of both HTTP endpoints and HTTP proxy servers, with full support for HTTP proxy credential's authentication. The tool enables multiprocess testing for enhanced performance evaluation, allows custom host header configuration, and provides test duration as a limiting factor for controlled testing scenarios.
Installation
You can install HTTP Benchw using pip:
git clone https://github.com/rrguardo/httpbenchw.git
pip install -e .
Usage
Running a Benchmark
To run a benchmark, execute the httpbenchw_test command with the desired arguments.
httpbenchw_test --url http://your-api-url.com/api/status --proxy-ip 192.168.1.1 --proxy-port 8080 --use-proxy True --timeout 15 --host-header your-host-header --process-count 4 --test-duration 30
Output
HTTP Benchw will output the results of the benchmark, including:
- Number of requests completed
- Average response time
- Median response time
- Fastest response
- Slowest response
- Status codes breakdown
- Errors
- Requests per second
Contributing
Contributions to HTTP Benchw are welcome. Please follow these steps to contribute:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your forked repository.
- Submit a pull request.
License
HTTP Benchw is open-source software licensed under the GNU General Public License v3.0 (GPLv3). You can view the full license text at https://www.gnu.org/licenses/gpl-3.0.html.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file httpbenchw-0.1.2.tar.gz.
File metadata
- Download URL: httpbenchw-0.1.2.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08deb682944a2ba24f9fbfea66306c0d14789644bbfde08ac0f993e7fdcf7503
|
|
| MD5 |
7e6be312225196c2e838eca52f8a2200
|
|
| BLAKE2b-256 |
6dcb08770a9f81fed5fd75c7846506cdabd6e8b3c46c295b199a1fb8ec7ac65c
|
File details
Details for the file httpbenchw-0.1.2-py3-none-any.whl.
File metadata
- Download URL: httpbenchw-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a7ee505e765f94ec7d4483115d1e2439eb04f5d72f4a323221cdb505c5fdbd
|
|
| MD5 |
48ee7c373a0c8e4482d028ca30134db4
|
|
| BLAKE2b-256 |
3fb06e2c8f70babd55e5e013cb024bab84f5d1d7c12f9d8f6d96391de60dabcb
|