From 86e297d27fbcb072a569848c22902b683ceca96a Mon Sep 17 00:00:00 2001 From: Mavlushechka Date: Tue, 4 Oct 2022 01:12:37 +0500 Subject: Add getResponseCode methods to JSONPlaceholderAPIManager utility class --- src/main/resources/testData.json | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/testData.json b/src/main/resources/testData.json index 24ac764..f3fc4ca 100644 --- a/src/main/resources/testData.json +++ b/src/main/resources/testData.json @@ -3,12 +3,10 @@ { "steps": [ { - "spec": "/posts", "requestMethod": "GET", "responseCode": "200" }, { - "spec": "/posts/99", "requestMethod": "GET", "responseCode": "200", "post": { @@ -19,13 +17,14 @@ } }, { - "spec": "/posts/150", "requestMethod": "GET", "responseCode": "404", - "isResponseBodyEmpty": "true" + "isResponseBodyEmpty": "true", + "post": { + "id": "150" + } }, { - "spec": "/posts", "requestMethod": "POST", "responseCode": "201", "post": { @@ -33,7 +32,6 @@ } }, { - "spec": "/users", "requestMethod": "GET", "responseCode": "200", "user": { @@ -61,7 +59,6 @@ } }, { - "spec": "/users/5", "requestMethod": "GET", "responseCode": "200", "user": { -- cgit v1.2.3