Skip to main content

Wrapper for Vegeta Load Testing tool

Project description

Bulma

GitHub Workflow Status PyPI

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

Note that relativity here is relative to where you run the script

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.8.tar.gz (4.1 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.8-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bulma-load-0.0.8.tar.gz
Algorithm Hash digest
SHA256 76452197764036fdc3b3393cc0afd15fcfb9b9cfd5ef74be7c09a2620779bf7f
MD5 97ce9ec7af90c177008e6618a7e8c85a
BLAKE2b-256 9aa923b549333d38cd6ceab36301f2793ce54b454291864fc3470a56fcc35464

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bulma_load-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bf79df24a5e6dad021b9a187382fe1b402f755a58bf4c211aebf45fb3c017c6e
MD5 ac385da4db2d8fe1fc6464a9db78715f
BLAKE2b-256 a32697e6db107d5fc2a1d64481c3c290891eb5cf75c895dab052a5aa8f7f2de7

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