Project Date
DKK API TEST 15 Jun 2021, 02:31

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
download/T04_Delta.feature 10 0 0 0 0 10 2 0 2 1.319 Passed
Tags: @SMOKE
Feature download/T04_Delta.feature
DKK API geeft info over beschikbare delta dataset leveringen Door middel van "since" kun je opvragen of er nog nieuwe delta's zijn. Zet hiervoor het deltaID in link van de delta. Dit geeft uiteindelijk een lijst met nog te downloaden delta's. Deltaleveringen worden tot en met 31 dagen terug bewaard.
0.011
* url apiBaseUrl +'kadastralekaart/api/v4_0/' 0.011
02:29:04.812 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
0.719
Given path 'delta' 0.014
When method GET 0.704
02:29:04.843 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:05.543 response time in milliseconds: 625.59
1 < 200
1 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
1 < Access-Control-Allow-Method: GET,POST,OPTIONS
1 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
1 < Access-Control-Allow-Origin: *
1 < Access-Control-Max-Age: 1000
1 < Content-Length: 1290
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:05 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"deltas":[{"id":"2b104759-f77d-496a-94e4-7064f199b446","timeWindow":{"from":"2021-05-15T21:59:59Z","to":"2021-05-16T21:59:59Z"}},{"id":"c31553da-c1ff-4d9e-80d4-dd60544a1b2d","timeWindow":{"from":"2021-05-16T21:59:59Z","to":"2021-05-17T21:59:59Z"}},{"id":"801a3c3e-a010-4fff-9c4a-812d7c813674","timeWindow":{"from":"2021-05-17T21:59:59Z","to":"2021-05-18T21:59:59Z"}},{"id":"9d181f42-7ef5-4c43-b7d7-3cf4195e1473","timeWindow":{"from":"2021-05-18T21:59:59Z","to":"2021-05-19T21:59:59Z"}},{"id":"9c93aa0c-86a4-49fa-826e-549c719cc0aa","timeWindow":{"from":"2021-05-19T21:59:59Z","to":"2021-05-20T21:59:59Z"}},{"id":"1577858c-8c9f-481a-8e45-084bd85e5f4e","timeWindow":{"from":"2021-05-20T21:59:59Z","to":"2021-05-21T21:59:59Z"}},{"id":"f784d3c1-2e95-4c30-9268-11d0d61ac131","timeWindow":{"from":"2021-05-21T21:59:59Z","to":"2021-05-22T21:59:59Z"}},{"id":"e6640b5a-f20a-450e-9250-986540178c75","timeWindow":{"from":"2021-05-22T21:59:59Z","to":"2021-05-23T21:59:59Z"}},{"id":"1c15ea7f-bf22-43a8-b5e9-b66a1871f27d","timeWindow":{"from":"2021-05-23T21:59:59Z","to":"2021-05-24T21:59:59Z"}},{"id":"25e98e4e-ef9b-42d1-a419-03fef9478802","timeWindow":{"from":"2021-05-24T21:59:59Z","to":"2021-05-25T21:59:59Z"}}],"_links":[{"type":"application/json","rel":"next","href":"delta?page=2\u0026count=10"}]}
Then status 200 0.000
And match response contains { deltas: '#present' } 0.000
0.025
* url apiBaseUrl +'kadastralekaart/api/v4_0/' 0.025
02:29:06.508 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
0.562
Given path 'delta' 0.001
When method GET 0.559
02:29:06.537 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:07.095 response time in milliseconds: 557.11
1 < 200
1 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
1 < Access-Control-Allow-Method: GET,POST,OPTIONS
1 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
1 < Access-Control-Allow-Origin: *
1 < Access-Control-Max-Age: 1000
1 < Content-Length: 1290
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:07 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"deltas":[{"id":"2b104759-f77d-496a-94e4-7064f199b446","timeWindow":{"from":"2021-05-15T21:59:59Z","to":"2021-05-16T21:59:59Z"}},{"id":"c31553da-c1ff-4d9e-80d4-dd60544a1b2d","timeWindow":{"from":"2021-05-16T21:59:59Z","to":"2021-05-17T21:59:59Z"}},{"id":"801a3c3e-a010-4fff-9c4a-812d7c813674","timeWindow":{"from":"2021-05-17T21:59:59Z","to":"2021-05-18T21:59:59Z"}},{"id":"9d181f42-7ef5-4c43-b7d7-3cf4195e1473","timeWindow":{"from":"2021-05-18T21:59:59Z","to":"2021-05-19T21:59:59Z"}},{"id":"9c93aa0c-86a4-49fa-826e-549c719cc0aa","timeWindow":{"from":"2021-05-19T21:59:59Z","to":"2021-05-20T21:59:59Z"}},{"id":"1577858c-8c9f-481a-8e45-084bd85e5f4e","timeWindow":{"from":"2021-05-20T21:59:59Z","to":"2021-05-21T21:59:59Z"}},{"id":"f784d3c1-2e95-4c30-9268-11d0d61ac131","timeWindow":{"from":"2021-05-21T21:59:59Z","to":"2021-05-22T21:59:59Z"}},{"id":"e6640b5a-f20a-450e-9250-986540178c75","timeWindow":{"from":"2021-05-22T21:59:59Z","to":"2021-05-23T21:59:59Z"}},{"id":"1c15ea7f-bf22-43a8-b5e9-b66a1871f27d","timeWindow":{"from":"2021-05-23T21:59:59Z","to":"2021-05-24T21:59:59Z"}},{"id":"25e98e4e-ef9b-42d1-a419-03fef9478802","timeWindow":{"from":"2021-05-24T21:59:59Z","to":"2021-05-25T21:59:59Z"}}],"_links":[{"type":"application/json","rel":"next","href":"delta?page=2\u0026count=10"}]}
Then status 200 0.000
And match response.deltas[0].id == "#uuid" 0.001