#Resticide
Resticide is a black box testing tool for REST API's. You define your tests and away it runs.
Let's say we have an endpoint that is supposed to return a 200 we would write the following test and save it as 200.json
{
"name": "200 test",
"request": {
"path": "/get",
"method": "GET",
"response": {
"statuscode": 200
}
}
}
We can now run the test with
resticide --path=. --host=https://httpbin.org/
And you'll see the following output
200 test passed 294.054033ms
----------------------------------------
1 tests, 1 passed, 0 failed