Rest - gorskip/testing-framework GitHub Wiki

It's a part of TestCase configuration

Consists of:

"rest": {
        "request" : {
          "method": "GET",
          "url": "localhost:8080/application/something/1",
          "headers": {
            "Accept": "application/json"
          }
      },
      "expected": {
        "status": 200,
        "body": {
          "id":1,"message":"Something","author":"gorskip","tags":[{"id":3,"name":"Animals"}]
        },
        "headers": {
          "Accept": "application/json",
          "Content-type": "application/json"
        }
      }
    }