diff options
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/testData.json | 70 |
1 files changed, 69 insertions, 1 deletions
diff --git a/src/main/resources/testData.json b/src/main/resources/testData.json index 0e0dcd2..b495e75 100644 --- a/src/main/resources/testData.json +++ b/src/main/resources/testData.json @@ -1,3 +1,71 @@ { - + "testCases": [ + { + "steps": [ + { + "spec": "/posts", + "requestMethod": "GET", + "responseCode": "200" + }, + { + "spec": "/posts/99", + "requestMethod": "GET", + "responseCode": "200", + "post": { + "id": "99", + "userId": "10", + "isTitleEmpty": "false", + "isBodyEmpty": "false" + } + }, + { + "spec": "/posts/150", + "requestMethod": "GET", + "responseCode": "404", + "isResponseBodyEmpty": "true" + }, + { + "spec": "/posts", + "requestMethod": "POST", + "responseCode": "201", + "post": { + "userId": "1" + } + }, + { + "spec": "/users", + "requestMethod": "GET", + "responseCode": "200", + "user": { + "id": "5", + "name": "Chelsey Dietrich", + "username": "Kamren", + "email": "Lucio_Hettinger@annie.ca", + "address": { + "street": "Skiles Walks", + "suite": "Suite 351", + "city": "Roscoeview", + "zipcode": "33263", + "geo": { + "lat": "-31.8129", + "lng": "62.5342" + } + }, + "phone": "(254)954-1289", + "website": "demarco.info", + "company": { + "name": "Keebler LLC", + "catchPhrase": "User-centric fault-tolerant solution", + "bs": "revolutionize end-to-end systems" + } + } + }, + { + "spec": "/users/5", + "requestMethod": "GET", + "responseCode": "200" + } + ] + } + ] }
\ No newline at end of file |