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.2.1.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

stressor-0.2.1-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stressor-0.2.1.tar.gz
  • Upload date:
  • Size: 46.1 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.47.0 CPython/3.7.7

File hashes

Hashes for stressor-0.2.1.tar.gz
Algorithm Hash digest
SHA256 009003d96e3ae6949b44280b7a56f4c1abb04cb6cd2d5dbffe0de4f6af19957f
MD5 a107c199ae7b93a4de386f1ec1965dc8
BLAKE2b-256 b4cc1be67cfe09cc1648fbd9bb814d52843b4c0898906738c1d6b6e5bdea03d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stressor-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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.47.0 CPython/3.7.7

File hashes

Hashes for stressor-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 195eeed15d98afaa7a0be1a1757ff55c6a612ca40e475df58256798dbca034fd
MD5 16d4aeefa0b172d59222a965612e73ea
BLAKE2b-256 56b40f9c8becddc6ff0ba1f3ea67908680915fd71ec3bb1e68eb7afbd5dd2cb4

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