tressi
Version:
A lightweight, declarative stress testing CLI for modern developers.
68 lines (67 loc) • 1.66 kB
JSON
{
"$ref": "#/definitions/TressiConfigSchema",
"definitions": {
"TressiConfigSchema": {
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"requests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"payload": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "array",
"items": {}
}
]
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS"
],
"default": "GET"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": ["url"],
"additionalProperties": false
}
}
},
"required": ["requests"],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}