Wrapper for Vegeta Load Testing tool
Project description
Bulma
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 bodybody_file
: Relative location to a file, content's are extractedbody_graphql
: Relative location to a file containing a GraphQL query. contents are extracted and pushed intoquery
property for a GraphQL request
Note that relativity here is relative to where you run the script
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 hashes)
Built Distribution
Close
Hashes for bulma_load-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf79df24a5e6dad021b9a187382fe1b402f755a58bf4c211aebf45fb3c017c6e |
|
MD5 | ac385da4db2d8fe1fc6464a9db78715f |
|
BLAKE2b-256 | a32697e6db107d5fc2a1d64481c3c290891eb5cf75c895dab052a5aa8f7f2de7 |