Skip to main content

Wrapper for Vegeta Load Testing tool

Project description

Bulma

Upload Python Package

PyPI version

A companion to Vegeta that tells him what to do. Define a configuration file like below and run:

python -m bulma -c samples/bulma.config.json

bulma.config.json

{
    "Project": "My Super Project",
    "Duration": "5s",
    "Rate": "50/1s",
    "Header": {
        "Content-Type":[ "application/json" ],
        "Accept-Encoding":[ "*" ]
    },
    "Corpus": [
        {
            "id": "Getting Todo JSON data",
            "method": "GET",
            "url": "https://jsonplaceholder.typicode.com/todos/1",
            "header": { "Content-Type": ["application/json"] }
        },
        {
            "id": "Converting text to Md5",
            "method": "GET",
            "url": "http://md5.jsontest.com/?text=example_text",
            "header": { "Content-Type": ["application/json"] }
        }
    ]
}

Each of the cases within the Corpus are passed directly to Vegeta's JSON format allowing you to specify anything that would normally be supported by that tool.

Bulma supports the following body types which can be attached to any cases witin the Corpus:

  • body: Raw string body
  • body_file: Relative location to a file, content's are extracted
  • body_graphql: Relative location to a file containing a GraphQL query. contents are extracted and pushed into query property for a GraphQL request

Full Sample

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

bulma-load-0.0.5.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

bulma_load-0.0.5-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file bulma-load-0.0.5.tar.gz.

File metadata

  • Download URL: bulma-load-0.0.5.tar.gz
  • Upload date:
  • Size: 3.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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for bulma-load-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5d203f31debad5eefb1251096158af723ddf0ea4723387f1196c8b82042be23d
MD5 d6e2db2d0956a71085acb7f7844c3cd3
BLAKE2b-256 73bf52ae3b40252f5c5791f00f9c1bd31896eeca3069fc797a9cb9e378dde1a9

See more details on using hashes here.

File details

Details for the file bulma_load-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: bulma_load-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for bulma_load-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8168fda341ad8858543ae642c2ceffc101f59da434425049795708077e35082d
MD5 a5cbd79a2038f8044ace8147b73b1f94
BLAKE2b-256 e04a22e47e98b8f1e324c036db98e713c0e72a2771087ea497c77c61e8d77ed9

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