Skip to main content

hstt - HTTP stress testing tool

PyPI version shields.io PyPI pyversions PyPI download month

screenshot

Params

usage: hstt [-h] [-n <num>] [-c <num>] [--rps <num>] [-d <sec>] [-t <sec>]
            [-H [<header> [<header> ...]]] [-b <body>] [-m <method>] [--debug]
            [--insecure] [--chrome] [--no-reuse] [--no-tui] [--version]
            url

HTTP stress testing tool (hstt)

positional arguments:
  url                target URL

optional arguments:
  -h, --help         show this help message and exit
  -n <num>           Total number of requests to perform (default: 10)
  -c <num>           Number of concurrent requests (default: 1)
  --rps <num>        Target request per second (still limited by -c)
  -d <sec>           Total duration limit (default: 30)
  -t <sec>           The timeout for each request (default: 30)
  -H [<header> ...]  A request header to be sent
  -b <body>          A request body to be sent
  -m <method>        An HTTP request method for each request (default: GET)
  --debug            Run in debug mode
  --insecure         Skip TLS verification
  --chrome           Use Chrome User-Agent header
  --no-reuse         New connection for each request
  --no-tui           Not show curses UI
  --version          Show version number

Output

$ hstt https://example.com -n 3000 -c 10 -t 0.3

## HSTT results
Concurrency:           10 (reusing connection per worker)
Time taken for tests:  17.22 seconds
Complete requests:     2997
Failed requests:       3
Requests per second:   174.21 [#/sec] (mean)
Time per request:      51.818 [ms] (mean)
Time per request:      5.746 [ms] (mean, across all concurrent requests)

## Statuses
200       :   2997 ( 99.90%)
timeout   :      3 (  0.10%)

## Timings (ms)
             Mean    Min    50%    80%    95%    99%    Max
Connect:      171    145    167    180    208    211    240
TTFB:          49     20     50     50     60     63     76
Total:         52     35     50     53     60    200    290

Metadata

Release files for hstt 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hstt 0.0.5
File Size Uploaded Provenance Actions
hstt-0.0.5.tar.gz 10.2 kB Without provenance Details for hstt-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hstt 0.0.5
File Interpreter ABI Platform Actions
hstt-0.0.5-py3-none-any.whl Python 3 none any Details for hstt-0.0.5-py3-none-any.whl

Total release size: 20.6 kB

Release files / hstt-0.0.5.tar.gz

Download URL hstt-0.0.5.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1d4db674249fce761c2ce3243f5a522a95b52f1af5fc2c9134b7d9f1f700ef82
BLAKE2b-256 checksum
How to use checksums
1afb7f2a0abc28e9a70f9a70e584c6da7f1c32c8b5e64b248d193bf43684ab5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release files / hstt-0.0.5-py3-none-any.whl

Download URL hstt-0.0.5-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dd3f4b579ac5d8785d31163f3438f3e16fb93354b089e1fe16f5a1aabfdd5a7
BLAKE2b-256 checksum
How to use checksums
e5d31b2288273825d7b5ab04ea01c06a61b747be44c102b7e3a5983463e7f508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Security for hstt 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page