Summary| Tags| Feature: features/player/retreive_all_player.feature| Player API
Scenario: [1:6] Retrieve players list
ms: 1341
>>
Background:
4
* url baseUrl
0
06:19:42.806 karate.env selected environment was: null
8
Given path '/api/v1/players'
0
9
When method GET
1332
06:19:43.065 request: 1 > GET https://spring-boot-asynchronous-api.fly.dev/api/v1/players 1 > Host: spring-boot-asynchronous-api.fly.dev 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.14 (Java/21.0.2) 1 > Accept-Encoding: gzip,deflate 06:19:44.176 response time in milliseconds: 1110 1 < 200 1 < content-type: application/json 1 < transfer-encoding: chunked 1 < date: Tue, 26 Mar 2024 06:19:44 GMT 1 < server: Fly/0052f39f (2024-03-18) 1 < via: 1.1 fly.io 1 < fly-request-id: 01HSWPM9BSQ28FN12MKHKQ618N-iad [{"id":1,"name":"Son Heung-Min","age":29,"club":"Tottenham Hotspur","nationality":"South-Korea"},{"id":2,"name":"Mohamed Salah","age":29,"club":"Liverpool","nationality":"Egypt"},{"id":3,"name":"Teemu Pukki","age":31,"club":"Norwich City","nationality":"Finland"},{"id":4,"name":"Ivan Toney","age":25,"club":"Brentford","nationality":"England"},{"id":5,"name":"Harry Kane","age":32,"club":"Tottenham Hotspur","nationality":"England"},{"id":6,"name":"Mason Mount","age":22,"club":"Chelsea","nationality":"England"}]
10
Then status 200
0
11
And match $ ==
9
[ { "id":1, "name":"Son Heung-Min", "age":29, "club":"Tottenham Hotspur", "nationality":"South-Korea" }, { "id":2, "name":"Mohamed Salah", "age":29, "club":"Liverpool", "nationality":"Egypt" }, { "id":3, "name":"Teemu Pukki", "age":31, "club":"Norwich City", "nationality":"Finland" }, { "id":4, "name":"Ivan Toney", "age":25, "club":"Brentford", "nationality":"England" }, { "id":5, "name":"Harry Kane", "age":32, "club":"Tottenham Hotspur", "nationality":"England" }, { "id":6, "name":"Mason Mount", "age":22, "club":"Chelsea", "nationality":"England" } ]