424c84fd6e
This add an result check if a invalid resource is given. Introducing a new dict that can be enhanced later for other cases. Change-Id: Ief3e51fafb9437a8e6b9a71aad79459716bac3d4 Partially-implements: bp negative-tests
24 lines
580 B
JSON
24 lines
580 B
JSON
{
|
|
"name": "get-console-output",
|
|
"http-method": "POST",
|
|
"url": "servers/%s/action",
|
|
"resources": [
|
|
{"name":"server", "expected_result": 404}
|
|
],
|
|
"json-schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"os-getConsoleOutput": {
|
|
"type": "object",
|
|
"properties": {
|
|
"length": {
|
|
"type": ["integer", "string"],
|
|
"minimum": 0
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|