From 7feee798685959f4e234e9f86f53187542d39f1e Mon Sep 17 00:00:00 2001 From: Mavlushechka Date: Wed, 28 Sep 2022 21:30:51 +0500 Subject: Solve 1st test case --- src/main/resources/testData.json | 70 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) (limited to 'src/main/resources/testData.json') 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 -- cgit v1.2.3