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/T02_DatasetInfo.feature 7 0 0 0 0 7 1 0 1 0.546 Passed
Tags: @SMOKE
Feature download/T02_DatasetInfo.feature
Dataset info
0.001
* url apiBaseUrl + 'kadastralekaart/api/v4_0/' 0.001
02:29:09.868 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* def datasetstruct = 0.000
{
"timeliness": [
{
  "featuretype": "perceel",
  "datetimeTo": "#string"
},
{
  "featuretype": "kadastralegrens",
  "datetimeTo": "#string"
},
{
  "featuretype": "pand",
  "datetimeTo": "#string"
},
{
  "featuretype": "openbareruimtelabel",
  "datetimeTo": "#string"
}
  ]
}
0.544
Given path 'dataset' 0.001
When method GET 0.543
02:29:09.871 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/dataset
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:10.413 response time in milliseconds: 541.87
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
1 < Content-Length: 282
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:10 GMT
1 < Expires: 0
1 < Pragma: no-cache
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"timeliness":[{"featuretype":"perceel","datetimeTo":"2021-06-14T21:59:59Z"},{"featuretype":"kadastralegrens","datetimeTo":"2021-06-14T21:59:59Z"},{"featuretype":"pand","datetimeTo":"2021-05-31T22:30:00Z"},{"featuretype":"openbareruimtelabel","datetimeTo":"2021-05-31T22:30:00Z"}]}
Then status 200 0.000
And match response contains { timeliness: '#present' } 0.000
And match response == datasetstruct 0.000