-
Notifications
You must be signed in to change notification settings - Fork 66
Files
Igor Gursky edited this page Sep 23, 2016
·
4 revisions
Given request body from file gadgets/requests/newGadget.json
When the client performs POST request on /gadgets
When the client performs GET request on /gadgets/12345
Then response contains properties from file gadgets/responses/createdGadget.json
In the mentioned example, Gadget with ID 12345 is returned in the response and all properties from createdGadget.json are searched in response body, values are asserted to be equal.