bulma-load-0.0.8
توضیحات
Wrapper for Vegeta Load Testing tool
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bulma-load-0.0.8 |
| نام | bulma-load |
| نسخه کتابخانه | 0.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kiran Patel |
| ایمیل نویسنده | na@gmail.com |
| آدرس صفحه اصلی | https://github.com/kiran94/bulma |
| آدرس اینترنتی | https://pypi.org/project/bulma-load/ |
| مجوز | MIT |
# Bulma
 
A companion to [Vegeta](https://github.com/tsenart/vegeta) that tells him what to do. Define a configuration file like below and run:
```sh
python -m bulma -c samples/bulma.config.json
```
**bulma.config.json**
```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](https://github.com/tsenart/vegeta#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](https://github.com/kiran94/bulma/blob/master/samples/bulma.config.json)
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
| - | tabulate |
| - | rich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl bulma-load-0.0.8:
pip install bulma-load-0.0.8.whl
نصب پکیج tar.gz bulma-load-0.0.8:
pip install bulma-load-0.0.8.tar.gz