758a6c0c42
* (сheck-random-request) Add Multiple Http request scenario which takes as input a list of Requests and compares response of random picked request from the list with the expected Response. * (сheck-request) Improve flexiblity of check-response scenario and rename check-response to check-request. Co-Authored-By: kumar rishabh <shailrishabh@gmail.com> Co-Authored-By: Roman Vasilets <rvasilets@mirantis.com> Change-Id: Id70935616c013271392219b1e642b5b87ddb4b9c
18 lines
477 B
JSON
18 lines
477 B
JSON
{
|
|
"HttpRequests.check_random_request": [
|
|
{
|
|
"args": {
|
|
"requests": [{"url": "http://www.example.com", "method": "GET",
|
|
"status_code": 200},
|
|
{"url": "http://www.openstack.org", "method": "GET"}],
|
|
"status_code": 200
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 20,
|
|
"concurrency": 5
|
|
}
|
|
}
|
|
]
|
|
}
|