Skip to main content

Application for retrieving web load statistics

Project description

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) $

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thassault-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thassault-0.1.0-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file thassault-0.1.0.tar.gz.

File metadata

  • Download URL: thassault-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for thassault-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8aaef3c145bc1cd6b95b5de1bbe377747f6abf800ff5f209a6eb11a407fcc37a
MD5 8ec1adc1614cf5fcb8836bb02052f3b8
BLAKE2b-256 4ee1840d09aa45c0d9c0e87ada2e41f5344dcdfa9af8dd03ca0f2dffdd27c021

See more details on using hashes here.

File details

Details for the file thassault-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: thassault-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for thassault-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e533c1032d3722cce2056389bb92e563a280cb862df1bdcca5f00af7c6b27eaf
MD5 75ccfc368b2b8c2f0eebc241cf775df4
BLAKE2b-256 bb49636be6df8206e2ca7e996fec42e87faee7dbfc82b9f642ee38c8942ab8f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page