Comment

This example test case demonstrates creating a new pet resource using the /pets endpoint, and asserting that the API responds with a 201 status code.



Try changing the request body and watch the test code automatically update.

JSON

{

"id": "testid",

"name": "doggie"

}

Variables

Set variableto

Send Request

Send
to

/pets

Assert

201