From 3a8891430f4cd360f73ea03c4ca66cd8f44fc7ee Mon Sep 17 00:00:00 2001 From: Valery Yatsynovich Date: Tue, 17 Dec 2024 10:21:51 +0200 Subject: [PATCH 1/2] Use Star Wars API mirror server swapi.dev is down --- src/main/resources/story/rest_api/Star Wars API.story | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/story/rest_api/Star Wars API.story b/src/main/resources/story/rest_api/Star Wars API.story index 3645d19..ac54843 100644 --- a/src/main/resources/story/rest_api/Star Wars API.story +++ b/src/main/resources/story/rest_api/Star Wars API.story @@ -1,6 +1,6 @@ Description: Test demoing VIVIDUS capabilities for REST API Scenario: Verify Luke's eyes are blue -When I execute HTTP GET request for resource with URL `https://swapi.dev/api/people/1/` +When I execute HTTP GET request for resource with URL `https://swapi.tech/api/people/1/` Then `${responseCode}` is equal to `200` Then JSON element value from `${response}` by JSON path `$.eye_color` is equal to `blue` From 855cc6c86767c14a338551e05ec91777f4bf9a3a Mon Sep 17 00:00:00 2001 From: Valery Yatsynovich Date: Tue, 17 Dec 2024 10:40:42 +0200 Subject: [PATCH 2/2] Another mirror --- src/main/resources/story/rest_api/Star Wars API.story | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/story/rest_api/Star Wars API.story b/src/main/resources/story/rest_api/Star Wars API.story index ac54843..e2b4a2f 100644 --- a/src/main/resources/story/rest_api/Star Wars API.story +++ b/src/main/resources/story/rest_api/Star Wars API.story @@ -1,6 +1,6 @@ Description: Test demoing VIVIDUS capabilities for REST API Scenario: Verify Luke's eyes are blue -When I execute HTTP GET request for resource with URL `https://swapi.tech/api/people/1/` +When I execute HTTP GET request for resource with URL `https://swapi.py4e.com/api/people/1/` Then `${responseCode}` is equal to `200` Then JSON element value from `${response}` by JSON path `$.eye_color` is equal to `blue`