Skip to main content

Stress-test your web app

Project description

logo stressor

Build Status Latest Version License Documentation Status Coverage Status Code style: black StackOverflow: stressor

Stress-test your web app.

Quickstart

  1. Install stressor (details)

  2. Create a new scenario folder. For example:

    $ stressor init ./scenario_1
    

    or alternatively import an existing HAR file as a starting point (details):

    $ stressor init ./scenario_1 --convert /path/to/output.har
    
  3. Edit the scripts as needed (users.yaml, main_sequence.yaml, scenario.yaml) (details)

  4. Run the script:

    $ stressor run ./scenario_1/scenario.yaml
    

    Use the --monitor option to view the progress in a separate window:

    $ stressor run ./scenario_1/scenario.yaml --monitor
    

    Use the --log argument to write output to a file or folder:

    $ stressor run ./scenario_1/scenario.yaml --no-color --log .
    

    (Hit Ctrl+C to stop.)

  5. Read The Docs for details.

Download files

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

Source Distribution

stressor-0.4.0.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

stressor-0.4.0-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file stressor-0.4.0.tar.gz.

File metadata

  • Download URL: stressor-0.4.0.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for stressor-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c0c34b552ee189ab8f4bc36da69af9355a734c3e13e0d1c5cc7d30c720a536e6
MD5 e0cd1eab29bf16f9bd0cf318159d35e0
BLAKE2b-256 3199fc0a4c3710235e0e27b56c020a8f6934eda5652c9e379380e6e15d205cc1

See more details on using hashes here.

File details

Details for the file stressor-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: stressor-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for stressor-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3e0d93d834cf1ddf06ca7d13382eac90bc2c317ec8b8e71ba6f1fa636f646f2
MD5 9f02d1b62ee804f8abe9aa432082348e
BLAKE2b-256 2b4650a896e76eb6e5339e761669d53d2a5fe9635305262e71b266145cd7e6b3

See more details on using hashes here.

Supported by

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