TestCase - gorskip/testing-framework GitHub Wiki
It's a part of TestSuite configuration
Consists of:
Example:
{
"name": "Get Something",
"tag": "mytag",
"mapper": "mapperName",
"rest": {
"request" : {
"method": "GET",
"url": "localhost:8080/application/something/1",
"headers": {
"Accept": "application/json"
}
},
"expected": {
"status": 200,
"body": {
"id":1,"message":"Some message","author":"gorskip","tags":[{"id":3,"name":"Animals"}]
},
"headers": {
"Accept": "application/json",
"Content-type": "application/json"
}
}
}
}