Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 519 Bytes

JsonContext.md

File metadata and controls

14 lines (12 loc) · 519 Bytes

JsonContext

HTTP Operations with json payload in request/response.

When

When I make a :method request with json data to :url

Perform a request with json payload

Then

Then the response json matches

Check if the JSON response is equivalent to the given json (ignores formatting).

Then the response json contains

Check if the given JSON is contained in the response (ignoring extra keys).

Then the response json does not contain

Check that the response does not contain the given object.