thassault
A CLI load testing tool for getting website data.
Installation
Install using pip:
$ pip install thassault
Usage
The simplest usage of thassault requires only a URL to test against and 500 requests synchronously (one at a time). This is what it would look like:
$ thassault https://example.com
.... Done!
--- Results ---
Successful requests 500
Slowest 0.010s
Fastest 0.001s
Average 0.003s
Total time 0.620s
Requests Per Minute 48360
Requests Per Second 806
If we want to add concurrency, we'll use the -c option, and we can use the -r option to specify how many requests that we'd like to make:
$ thassault -r 3000 -c 10 https://example.com
.... Done!
--- Results ---
Successful requests 3000
Slowest 0.010s
Fastest 0.001s
Average 0.003s
Total time 2.400s
Requests Per Minute 90000
Requests Per Second 1250
If you'd like to see these results in JSON format, you can use the -j option with a path to a JSON file:
$ thassault -r 3000 -c 10 -j output.json https://example.com
.... Done!
Development
For working on assult, you'll need to have Python >= 3.7 (because we use asyncio) and pipenv installed. With those installed, run the following command to create a virtualenv for the project and fetch the dependencies:
$ pipenv install --dev
...
Next, activate the virtualenv and get to work:
$ pipenv shell
...
(thassault) $
Metadata
Release files for thassault 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thassault-0.1.0.tar.gz | 5.3 kB | Without provenance | Details for thassault-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thassault-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for thassault-0.1.0-py2.py3-none-any.whl |
Total release size: 10.4 kB
Release files / thassault-0.1.0.tar.gz
| Download URL | thassault-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8aaef3c145bc1cd6b95b5de1bbe377747f6abf800ff5f209a6eb11a407fcc37a
|
|
BLAKE2b-256 checksum How to use checksums |
4ee1840d09aa45c0d9c0e87ada2e41f5344dcdfa9af8dd03ca0f2dffdd27c021
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|
Release files / thassault-0.1.0-py2.py3-none-any.whl
| Download URL | thassault-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e533c1032d3722cce2056389bb92e563a280cb862df1bdcca5f00af7c6b27eaf
|
|
BLAKE2b-256 checksum How to use checksums |
bb49636be6df8206e2ca7e996fec42e87faee7dbfc82b9f642ee38c8942ab8f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|
Security for thassault 0.1.0
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.