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/T03_Predefined.feature 836 0 0 0 0 836 32 0 32 1:18.431 Passed
Tags: @SMOKE
Feature download/T03_Predefined.feature
DKK Api geeft predefined Fulls voor geheel Nederland (delta en gml)
0.568
* configure followRedirects = false 0.009
02:29:06.835 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.001
02:29:06.846 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.004
And param count = 1000 0.001
When method GET 0.542
02:29:06.855 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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.396 response time in milliseconds: 540.64
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-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 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.001
* print "alldelta:", alldelta 0.007
02:29:07.406 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.000
* print "ids", ids 0.000
02:29:07.407 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.196
Given url apiBaseUrl + 'kadastralekaart/api/v4_0//full/predefined/dkk-gml-nl-nohist.zip' 0.016
When method GET 0.545
02:29:07.428 request:
2 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0//full/predefined/dkk-gml-nl-nohist.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:07.969 response time in milliseconds: 539.28
2 < 307
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Method: GET,POST,OPTIONS
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Length: 0
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:07 GMT
2 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/71813b9f-e531-4495-88e0-53bfbb7387ba/dkk-gml-nl-nohist.zip
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
Then status 307 0.000
* def location = responseHeaders['Location'][0] 0.014
Given url apiBaseUrl + location 0.007
When method HEAD 0.541
02:29:07.998 request:
3 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/71813b9f-e531-4495-88e0-53bfbb7387ba/dkk-gml-nl-nohist.zip
3 > Accept-Encoding: gzip,deflate
3 > Connection: Keep-Alive
3 > Host: downloads.pdok.nl
3 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:08.532 response time in milliseconds: 533.23
3 < 200
3 < Accept-Ranges: bytes
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Content-Disposition: attachment; filename=dkk-gml-nl-nohist.zip
3 < Content-Length: 5201924960
3 < Content-Security-Policy: block-all-mixed-content
3 < Content-Type: application/zip
3 < Date: Tue, 15 Jun 2021 02:29:08 GMT
3 < Etag: "d1f469b35a9e411750b13537d5c209a6-993"
3 < Last-Modified: Tue, 15 Jun 2021 01:30:09 GMT
3 < Server: MinIO
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < Vary: Origin
3 < X-Amz-Request-Id: 1688A0829A09D402
3 < X-Cnection: close
3 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.008
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.001
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.013
02:29:08.548 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/71813b9f-e531-4495-88e0-53bfbb7387ba/dkk-gml-nl-nohist.zip
* print "size", zipsize 0.018
02:29:08.575 [print] size 5201924960
* assert zipsize > 3000000000 0.006
* def mydownloads = Java.type('download.DataStorage') 0.005
* def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
* def db = new mydownloads 0.000
* def downloadlink = apiBaseUrl + location 0.000
* eval db.mywriteln('- Test: T03_T03HeelNederlandDkk\n'+' Url: '+ downloadlink +'\n Size: '+zipsize+'\n Time: '+ LocalDateTime.now() +'\n' , 'target/surefire-reports/T03HeelNederlandDkk.yaml') 0.016
0.737
* configure followRedirects = false 0.006
02:29:08.559 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.001
02:29:08.568 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.020
And param count = 1000 0.006
When method GET 0.654
02:29:08.596 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:09.250 response time in milliseconds: 652.70
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:09 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.017
* print "alldelta:", alldelta 0.003
02:29:09.271 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.003
* print "ids", ids 0.023
02:29:09.298 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.038
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.002
When method GET 0.515
02:29:09.305 request:
2 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:09.817 response time in milliseconds: 512.08
2 < 307
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Method: GET,POST,OPTIONS
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Length: 0
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:09 GMT
2 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/eebd12b0-a3b0-44b4-9f4e-bd49d4fddfd3/dkk-gml-nl.zip
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
Then status 307 0.000
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.512
02:29:09.819 request:
3 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/eebd12b0-a3b0-44b4-9f4e-bd49d4fddfd3/dkk-gml-nl.zip
3 > Accept-Encoding: gzip,deflate
3 > Connection: Keep-Alive
3 > Host: downloads.pdok.nl
3 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:10.326 response time in milliseconds: 505.74
3 < 200
3 < Accept-Ranges: bytes
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
3 < Content-Length: 5858880800
3 < Content-Security-Policy: block-all-mixed-content
3 < Content-Type: application/zip
3 < Date: Tue, 15 Jun 2021 02:29:10 GMT
3 < Etag: "19bf950d067ecbbfba1420eabd534d03-1118"
3 < Last-Modified: Tue, 15 Jun 2021 00:37:45 GMT
3 < Server: MinIO
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < Vary: Origin
3 < X-Amz-Request-Id: 1688A083055F9EED
3 < X-Cnection: close
3 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:10.333 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/eebd12b0-a3b0-44b4-9f4e-bd49d4fddfd3/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:10.333 [print] size 5858880800
* assert zipsize > 3000000000 0.000
* def mydownloads = Java.type('download.DataStorage') 0.000
* def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
* def db = new mydownloads 0.000
* def downloadlink = apiBaseUrl + location 0.000
* eval db.mywriteln('- Test: T03_T03HeelNederlandInitieleDeltaDkk\n'+' Url: '+ downloadlink +'\n Size: '+zipsize+'\n Time: '+ LocalDateTime.now() +'\n' , 'target/surefire-reports/T03HeelNederlandInitieleDeltaDkk.yaml') 0.005
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.244
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.007
And param delta-id = '2b104759-f77d-496a-94e4-7064f199b446' 0.002
When method GET 0.660
02:29:08.618 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=2b104759-f77d-496a-94e4-7064f199b446
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:09.275 response time in milliseconds: 657.05
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:09 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/fa672106-11f8-4ab8-9a70-290efce90ac3/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:09.277 [print] size 0
* def location = responseHeaders['Location'][0] 0.001
Given url apiBaseUrl + location 0.000
When method HEAD 0.556
02:29:09.290 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/fa672106-11f8-4ab8-9a70-290efce90ac3/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:09.836 response time in milliseconds: 545.35
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1178
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:09 GMT
2 < Etag: "7fa5b8a3ba1dfa478caffe2a0bb73a3c-1"
2 < Last-Modified: Sun, 16 May 2021 23:25:19 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A082E67342FF
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.002
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.009
02:29:09.848 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/fa672106-11f8-4ab8-9a70-290efce90ac3/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:09.849 [print] size 1178
* assert zipsize > 1000 0.001
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.188
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.018
And param delta-id = 'c31553da-c1ff-4d9e-80d4-dd60544a1b2d' 0.001
When method GET 0.627
02:29:10.438 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=c31553da-c1ff-4d9e-80d4-dd60544a1b2d
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:11.061 response time in milliseconds: 623.27
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:11 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/6a0fca5e-fa0a-4be3-ac3d-416ddb3e87d1/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.002
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.001
02:29:11.066 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.533
02:29:11.068 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/6a0fca5e-fa0a-4be3-ac3d-416ddb3e87d1/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:11.600 response time in milliseconds: 531.66
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5990132
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:11 GMT
2 < Etag: "fedc367450099636adf87f63b3b82997-2"
2 < Last-Modified: Tue, 18 May 2021 00:41:22 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A083506AB2BF
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:11.601 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/6a0fca5e-fa0a-4be3-ac3d-416ddb3e87d1/dkk-gml-nl.zip
* print "size", zipsize 0.002
02:29:11.602 [print] size 5990132
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.172
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.003
And param delta-id = '801a3c3e-a010-4fff-9c4a-812d7c813674' 0.001
When method GET 0.620
02:29:17.986 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=801a3c3e-a010-4fff-9c4a-812d7c813674
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:18.605 response time in milliseconds: 619.01
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:18 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/93b66ac6-3c78-4579-a5d3-0b15dfa088b3/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.004
* print "size", zipsize 0.000
02:29:18.611 [print] size 0
* def location = responseHeaders['Location'][0] 0.003
Given url apiBaseUrl + location 0.001
When method HEAD 0.528
02:29:18.617 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/93b66ac6-3c78-4579-a5d3-0b15dfa088b3/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:19.145 response time in milliseconds: 527.47
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 7383398
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:19 GMT
2 < Etag: "e9690daeaabc4f734211d2bf0bb1b484-2"
2 < Last-Modified: Tue, 18 May 2021 23:54:57 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A0851309640D
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.003
02:29:19.149 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/93b66ac6-3c78-4579-a5d3-0b15dfa088b3/dkk-gml-nl.zip
* print "size", zipsize 0.002
02:29:19.152 [print] size 7383398
* assert zipsize > 1000 0.001
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.087
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '9d181f42-7ef5-4c43-b7d7-3cf4195e1473' 0.001
When method GET 0.555
02:29:18.429 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=9d181f42-7ef5-4c43-b7d7-3cf4195e1473
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:18.976 response time in milliseconds: 546.20
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:18 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/35cfec38-8639-4775-9f85-275f803c2bbf/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:18.977 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.525
02:29:18.979 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/35cfec38-8639-4775-9f85-275f803c2bbf/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:19.503 response time in milliseconds: 522.93
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 8099967
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:19 GMT
2 < Etag: "031ab71f6791871202ccd12291b051cc-2"
2 < Last-Modified: Wed, 19 May 2021 23:48:02 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08526F94C1F
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:19.504 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/35cfec38-8639-4775-9f85-275f803c2bbf/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:19.504 [print] size 8099967
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.072
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '9c93aa0c-86a4-49fa-826e-549c719cc0aa' 0.001
When method GET 0.532
02:29:19.164 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=9c93aa0c-86a4-49fa-826e-549c719cc0aa
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:19.688 response time in milliseconds: 523.94
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:19 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/4c702cea-e6a7-4a6a-bd04-453281ceb250/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:19.689 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.001
When method HEAD 0.534
02:29:19.692 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/4c702cea-e6a7-4a6a-bd04-453281ceb250/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:20.225 response time in milliseconds: 533.03
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 6843718
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:20 GMT
2 < Etag: "70d2d25623ccfc3d59dde9ee6e0f7b9e-2"
2 < Last-Modified: Thu, 20 May 2021 23:42:58 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A0855148210E
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:20.227 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/4c702cea-e6a7-4a6a-bd04-453281ceb250/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:20.227 [print] size 6843718
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.207
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '1577858c-8c9f-481a-8e45-084bd85e5f4e' 0.001
When method GET 0.673
02:29:19.320 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=1577858c-8c9f-481a-8e45-084bd85e5f4e
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:19.985 response time in milliseconds: 664.45
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:19 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/06729d94-626b-4606-8126-cf8be91de090/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:19.987 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.526
02:29:19.989 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/06729d94-626b-4606-8126-cf8be91de090/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:20.514 response time in milliseconds: 525.23
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5078927
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:20 GMT
2 < Etag: "b8e8bdde4627066cd8564a9f57143731-1"
2 < Last-Modified: Fri, 21 May 2021 23:49:58 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A0856444018D
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:20.516 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/06729d94-626b-4606-8126-cf8be91de090/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:20.516 [print] size 5078927
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.115
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = 'f784d3c1-2e95-4c30-9268-11d0d61ac131' 0.001
When method GET 0.604
02:29:20.521 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=f784d3c1-2e95-4c30-9268-11d0d61ac131
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:21.124 response time in milliseconds: 602.89
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:21 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/2c631cf4-54b4-493f-838f-c1bd3b98a81f/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:21.125 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.502
02:29:21.126 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/2c631cf4-54b4-493f-838f-c1bd3b98a81f/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:21.627 response time in milliseconds: 499.01
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1176
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:21 GMT
2 < Etag: "655338501416a2f082c393ff9ee63ced-1"
2 < Last-Modified: Sat, 22 May 2021 23:25:35 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A085A6D30273
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.001
02:29:21.630 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/2c631cf4-54b4-493f-838f-c1bd3b98a81f/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:21.631 [print] size 1176
* assert zipsize > 1000 0.001
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.199
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = 'e6640b5a-f20a-450e-9250-986540178c75' 0.001
When method GET 0.632
02:29:20.540 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=e6640b5a-f20a-450e-9250-986540178c75
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:21.164 response time in milliseconds: 623.14
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:21 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/2c53e889-d55e-4b0f-92a6-2e1efe03f891/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.023
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:21.188 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.538
02:29:21.189 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/2c53e889-d55e-4b0f-92a6-2e1efe03f891/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:21.726 response time in milliseconds: 536.63
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1176
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:21 GMT
2 < Etag: "3cb012693cca3b66131d2db3c92ade66-1"
2 < Last-Modified: Sun, 23 May 2021 23:25:42 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A085AC723380
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:21.728 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/2c53e889-d55e-4b0f-92a6-2e1efe03f891/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:21.728 [print] size 1176
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.180
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.008
And param delta-id = '1c15ea7f-bf22-43a8-b5e9-b66a1871f27d' 0.010
When method GET 0.605
02:29:21.661 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=1c15ea7f-bf22-43a8-b5e9-b66a1871f27d
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:22.258 response time in milliseconds: 587.17
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:22 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/802b710d-5628-4da9-bf78-b27491b3dd83/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:22.260 [print] size 0
* def location = responseHeaders['Location'][0] 0.005
Given url apiBaseUrl + location 0.002
When method HEAD 0.546
02:29:22.276 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/802b710d-5628-4da9-bf78-b27491b3dd83/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:22.813 response time in milliseconds: 537.15
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 524661
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:22 GMT
2 < Etag: "68570e13e0a8093a9b7e477764d8e500-1"
2 < Last-Modified: Mon, 24 May 2021 23:29:23 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A085ED7C8610
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:22.814 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/802b710d-5628-4da9-bf78-b27491b3dd83/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:22.814 [print] size 524661
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.070
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '25e98e4e-ef9b-42d1-a419-03fef9478802' 0.000
When method GET 0.522
02:29:31.839 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=25e98e4e-ef9b-42d1-a419-03fef9478802
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:32.361 response time in milliseconds: 521.96
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:32 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/2adad163-9f1f-4df2-b704-08444fb2391a/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:32.363 [print] size 0
* def location = responseHeaders['Location'][0] 0.004
Given url apiBaseUrl + location 0.001
When method HEAD 0.522
02:29:32.370 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/2adad163-9f1f-4df2-b704-08444fb2391a/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:32.892 response time in milliseconds: 521.73
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 7599867
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:32 GMT
2 < Etag: "b6a69a8d763211ff2ab62715c2faf1ea-2"
2 < Last-Modified: Tue, 25 May 2021 23:46:56 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A088463A7EE0
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.003
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.001
02:29:32.898 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/2adad163-9f1f-4df2-b704-08444fb2391a/dkk-gml-nl.zip
* print "size", zipsize 0.001
02:29:32.899 [print] size 7599867
* assert zipsize > 1000 0.006
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.120
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.002
And param delta-id = '9297d9e4-cc92-415f-b258-642b4ecdb967' 0.001
When method GET 0.561
02:29:32.910 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=9297d9e4-cc92-415f-b258-642b4ecdb967
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:33.471 response time in milliseconds: 560.33
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:33 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/c48d978f-eb3e-494a-8efa-ed2702a92065/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:33.473 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.552
02:29:33.474 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/c48d978f-eb3e-494a-8efa-ed2702a92065/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:34.026 response time in milliseconds: 551.02
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 9537180
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:33 GMT
2 < Etag: "b5876b5567af4e750263cc5493a5b531-2"
2 < Last-Modified: Wed, 26 May 2021 23:45:42 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08887D3FEF5
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:34.027 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/c48d978f-eb3e-494a-8efa-ed2702a92065/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:34.028 [print] size 9537180
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.093
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.000
And param delta-id = 'f2a1b49d-024b-4a01-83f9-66dd1d3385ce' 0.003
When method GET 0.548
02:29:33.742 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=f2a1b49d-024b-4a01-83f9-66dd1d3385ce
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:34.279 response time in milliseconds: 536.75
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:34 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/6ebbc3be-0d9a-4bb7-9b2b-59c1dea090af/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:34.280 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.537
02:29:34.281 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/6ebbc3be-0d9a-4bb7-9b2b-59c1dea090af/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:34.818 response time in milliseconds: 535.86
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 7591269
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:34 GMT
2 < Etag: "dedf90c0d9634997e21f2908a2073e3e-2"
2 < Last-Modified: Thu, 27 May 2021 23:41:39 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A088B9530045
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:34.821 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/6ebbc3be-0d9a-4bb7-9b2b-59c1dea090af/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:34.822 [print] size 7591269
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.049
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.002
And param delta-id = '69183ebc-d2bd-4c32-b7e0-82d7d64d95a6' 0.002
When method GET 0.532
02:29:34.829 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=69183ebc-d2bd-4c32-b7e0-82d7d64d95a6
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:35.360 response time in milliseconds: 530.47
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:35 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/1357add5-5a1f-49a1-92f9-d91bc950f935/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:35.361 [print] size 0
* def location = responseHeaders['Location'][0] 0.002
Given url apiBaseUrl + location 0.000
When method HEAD 0.503
02:29:35.367 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/1357add5-5a1f-49a1-92f9-d91bc950f935/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:35.867 response time in milliseconds: 499.10
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 6215042
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:35 GMT
2 < Etag: "52139a4df09d17ce303f2e415c43703c-2"
2 < Last-Modified: Fri, 28 May 2021 23:47:03 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A088F77174B2
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.001
02:29:35.872 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/1357add5-5a1f-49a1-92f9-d91bc950f935/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:35.872 [print] size 6215042
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.189
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.000
And param delta-id = 'ee7de3a0-af84-4382-88f6-015c69fbcf22' 0.001
When method GET 0.683
02:29:35.887 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=ee7de3a0-af84-4382-88f6-015c69fbcf22
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:36.559 response time in milliseconds: 671.35
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:36 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/0e469c20-2d29-4f3b-a69b-9937da68d6e0/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.005
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:36.565 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.494
02:29:36.567 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/0e469c20-2d29-4f3b-a69b-9937da68d6e0/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:37.060 response time in milliseconds: 493.37
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1178
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:37 GMT
2 < Etag: "69c3f1f6eabe7369598ff8107adea9a1-1"
2 < Last-Modified: Sat, 29 May 2021 23:24:47 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A0893F04FD2B
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:37.062 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/0e469c20-2d29-4f3b-a69b-9937da68d6e0/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:37.067 [print] size 1178
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.129
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.009
And param delta-id = '7d86880e-ec38-45a7-8d26-8b50b25cb564' 0.001
When method GET 0.611
02:29:39.149 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=7d86880e-ec38-45a7-8d26-8b50b25cb564
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:39.759 response time in milliseconds: 609.47
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:39 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/1724269c-7057-4c7d-81d6-9fd100b86dce/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:39.760 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.499
02:29:39.762 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/1724269c-7057-4c7d-81d6-9fd100b86dce/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:40.260 response time in milliseconds: 498.10
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1176
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:40 GMT
2 < Etag: "f7e5b83a7e6945ade645f9c30a4716c8-1"
2 < Last-Modified: Sun, 30 May 2021 23:23:53 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A089FD9CC669
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.005
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:40.267 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/1724269c-7057-4c7d-81d6-9fd100b86dce/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:40.267 [print] size 1176
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.267
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = 'f434912f-ac1a-4c31-a06d-1fb0b2e94b1e' 0.000
When method GET 0.561
02:29:44.250 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=f434912f-ac1a-4c31-a06d-1fb0b2e94b1e
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:44.810 response time in milliseconds: 560.28
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:44 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/cfd683c2-7d09-4721-a2bb-e1cd36b8bd91/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:44.811 [print] size 0
* def location = responseHeaders['Location'][0] 0.002
Given url apiBaseUrl + location 0.001
When method HEAD 0.685
02:29:44.816 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/cfd683c2-7d09-4721-a2bb-e1cd36b8bd91/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:45.500 response time in milliseconds: 684.23
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 6167313
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:45 GMT
2 < Etag: "16ec6fc1155e8c5e682673a0607b3783-2"
2 < Last-Modified: Mon, 31 May 2021 23:45:31 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08B32468D49
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.001
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.006
02:29:45.510 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/cfd683c2-7d09-4721-a2bb-e1cd36b8bd91/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:45.511 [print] size 6167313
* assert zipsize > 1000 0.004
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.045
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.004
And param delta-id = 'a7ced3a4-8dd3-44df-8774-f08d01839035' 0.005
When method GET 0.516
02:29:47.527 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=a7ced3a4-8dd3-44df-8774-f08d01839035
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:48.043 response time in milliseconds: 515.22
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:47 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/788593c8-845d-439d-9317-c23946a3f873/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:48.044 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.507
02:29:48.045 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/788593c8-845d-439d-9317-c23946a3f873/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:48.552 response time in milliseconds: 506.25
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5421195
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:48 GMT
2 < Etag: "89d0cf71d181b944897ba2ecfa4fc7b5-2"
2 < Last-Modified: Tue, 01 Jun 2021 23:48:38 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08BEBF3CB60
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.008
02:29:48.561 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/788593c8-845d-439d-9317-c23946a3f873/dkk-gml-nl.zip
* print "size", zipsize 0.001
02:29:48.563 [print] size 5421195
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.037
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.004
And param delta-id = '3021d17f-c396-4704-8770-d0231e9d5d9b' 0.001
When method GET 0.515
02:29:48.570 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=3021d17f-c396-4704-8770-d0231e9d5d9b
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:49.085 response time in milliseconds: 514.36
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:49 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/409fcbb5-cb05-4f1e-a29a-84929a596f90/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:49.086 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.508
02:29:49.087 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/409fcbb5-cb05-4f1e-a29a-84929a596f90/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:49.595 response time in milliseconds: 507.67
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 7244525
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:49 GMT
2 < Etag: "cdc4623ad06c4fd8be6731b5934080ff-2"
2 < Last-Modified: Wed, 02 Jun 2021 23:51:29 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08C29486652
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.005
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:49.601 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/409fcbb5-cb05-4f1e-a29a-84929a596f90/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:49.601 [print] size 7244525
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.080
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '199c4014-5688-4581-9513-9d8bc2f0c040' 0.001
When method GET 0.576
02:29:49.605 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=199c4014-5688-4581-9513-9d8bc2f0c040
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:50.181 response time in milliseconds: 575.71
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:50 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/b061a156-b4fd-4b54-a6cf-3b8d25b223e9/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:50.188 [print] size 0
* def location = responseHeaders['Location'][0] 0.001
Given url apiBaseUrl + location 0.000
When method HEAD 0.493
02:29:50.191 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/b061a156-b4fd-4b54-a6cf-3b8d25b223e9/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:50.684 response time in milliseconds: 492.79
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 9734468
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:50 GMT
2 < Etag: "cd231ab1a5ec4675a3e77759c0510aa4-2"
2 < Last-Modified: Thu, 03 Jun 2021 23:53:39 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08C6AFCEE99
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.004
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:50.689 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/b061a156-b4fd-4b54-a6cf-3b8d25b223e9/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:50.689 [print] size 9734468
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.131
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.012
And param delta-id = '74c6011e-9871-4f8a-b911-0142eea98ee7' 0.001
When method GET 0.600
02:29:53.865 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=74c6011e-9871-4f8a-b911-0142eea98ee7
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:54.463 response time in milliseconds: 597.81
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:54 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/e46f14c6-64d4-4092-8525-cac4a69c67d6/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:54.466 [print] size 0
* def location = responseHeaders['Location'][0] 0.001
Given url apiBaseUrl + location 0.001
When method HEAD 0.507
02:29:54.470 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/e46f14c6-64d4-4092-8525-cac4a69c67d6/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:54.976 response time in milliseconds: 506.03
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5582183
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:54 GMT
2 < Etag: "1c175ca1e55bfd7aff5cb252e7141dfd-2"
2 < Last-Modified: Sat, 05 Jun 2021 14:06:11 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08D6A5D4A43
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.002
02:29:54.980 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/e46f14c6-64d4-4092-8525-cac4a69c67d6/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:54.980 [print] size 5582183
* assert zipsize > 1000 0.002
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.054
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '95843b80-f891-4f0d-ac68-6f104d38a0c6' 0.004
When method GET 0.548
02:29:56.459 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=95843b80-f891-4f0d-ac68-6f104d38a0c6
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:57.007 response time in milliseconds: 547.28
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:56 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/4b131323-2afb-478d-bb28-1268dadc9f13/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:57.008 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.497
02:29:57.010 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/4b131323-2afb-478d-bb28-1268dadc9f13/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:57.506 response time in milliseconds: 495.85
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1178
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:57 GMT
2 < Etag: "1cba85ed947adb53fdc2c8fbd93db235-1"
2 < Last-Modified: Sat, 05 Jun 2021 23:29:13 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08E017D5C8A
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:57.507 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/4b131323-2afb-478d-bb28-1268dadc9f13/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:57.507 [print] size 1178
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.031
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '304c598c-211c-4d4e-86cf-c87c8be1fd60' 0.004
When method GET 0.511
02:29:57.336 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=304c598c-211c-4d4e-86cf-c87c8be1fd60
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:57.847 response time in milliseconds: 510.85
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:57 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/60f27b84-419c-4d48-b4b1-d24c16c7b6f8/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:57.847 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.510
02:29:57.849 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/60f27b84-419c-4d48-b4b1-d24c16c7b6f8/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:58.359 response time in milliseconds: 509.78
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1176
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:58 GMT
2 < Etag: "68d0caddfd99e9d6af34d62bcbdcad98-1"
2 < Last-Modified: Sun, 06 Jun 2021 23:24:44 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08E343A5F66
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:58.362 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/60f27b84-419c-4d48-b4b1-d24c16c7b6f8/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:58.362 [print] size 1176
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.100
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '74059578-fae6-4945-9c61-b14d8315506f' 0.001
When method GET 0.569
02:29:57.511 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=74059578-fae6-4945-9c61-b14d8315506f
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:58.080 response time in milliseconds: 568.43
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:58 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/153f3698-f312-4001-b289-d79a33a5f7bf/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:58.081 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.524
02:29:58.084 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/153f3698-f312-4001-b289-d79a33a5f7bf/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:58.606 response time in milliseconds: 522.33
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 6403303
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:58 GMT
2 < Etag: "b54bb00acafdfbb3cd92df59fa589dd1-2"
2 < Last-Modified: Mon, 07 Jun 2021 23:50:28 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08E419BC83C
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:58.608 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/153f3698-f312-4001-b289-d79a33a5f7bf/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:58.609 [print] size 6403303
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.368
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.003
And param delta-id = '7846306d-9db1-47be-bb67-960c8db4901b' 0.001
When method GET 0.845
02:29:58.615 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=7846306d-9db1-47be-bb67-960c8db4901b
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:59.459 response time in milliseconds: 844.06
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:29:59 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/ac12c044-6b76-4275-93a6-aaafffd62c75/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.002
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:29:59.462 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.514
02:29:59.463 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/ac12c044-6b76-4275-93a6-aaafffd62c75/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:59.977 response time in milliseconds: 513.19
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 6797093
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:29:59 GMT
2 < Etag: "069aedfe78f04775ff76f57c9e1a6f1e-2"
2 < Last-Modified: Tue, 08 Jun 2021 23:49:38 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08E938DA90F
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:29:59.978 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/ac12c044-6b76-4275-93a6-aaafffd62c75/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:29:59.978 [print] size 6797093
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.037
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = 'ecc65af0-5df2-4c51-997e-424a8ec168f9' 0.009
When method GET 0.527
02:29:59.991 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=ecc65af0-5df2-4c51-997e-424a8ec168f9
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:30:00.516 response time in milliseconds: 524.85
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:30:00 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/b8703d4c-81c6-4ed2-9cd3-50331213275a/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:30:00.517 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.496
02:30:00.518 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/b8703d4c-81c6-4ed2-9cd3-50331213275a/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:01.014 response time in milliseconds: 495.51
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 6611257
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:30:00 GMT
2 < Etag: "363d828881e7e9f38e19c633323a07fa-2"
2 < Last-Modified: Wed, 09 Jun 2021 23:45:23 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08ED2AE42FF
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:30:01.016 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/b8703d4c-81c6-4ed2-9cd3-50331213275a/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:30:01.016 [print] size 6611257
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.251
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = 'd3f8f0d9-4fe6-47a7-8589-4a735bdf4d17' 0.001
When method GET 0.741
02:30:00.416 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17
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:30:01.157 response time in milliseconds: 740.48
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:30:01 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/043b344a-a2bb-41bc-835d-bd42cdb80a99/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:30:01.158 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.504
02:30:01.160 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/043b344a-a2bb-41bc-835d-bd42cdb80a99/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:01.663 response time in milliseconds: 503.19
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5671108
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:30:01 GMT
2 < Etag: "3e8d599674bce6e7dd4f6b016364002e-2"
2 < Last-Modified: Thu, 10 Jun 2021 23:49:41 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08EF974B4ED
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:30:01.664 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/043b344a-a2bb-41bc-835d-bd42cdb80a99/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:30:01.665 [print] size 5671108
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.078
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '80d32f9f-5641-4d0a-89bb-616e9c0f890f' 0.001
When method GET 0.576
02:30:01.021 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=80d32f9f-5641-4d0a-89bb-616e9c0f890f
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:30:01.596 response time in milliseconds: 575.17
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:30:01 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/2f5a1209-3b3a-417e-b76f-7318a897c457/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:30:01.597 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.496
02:30:01.599 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/2f5a1209-3b3a-417e-b76f-7318a897c457/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:02.094 response time in milliseconds: 495.18
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5756284
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:30:02 GMT
2 < Etag: "4ffc0f1691fb7056d80079d8947e325b-2"
2 < Last-Modified: Fri, 11 Jun 2021 23:51:27 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08F133F94C3
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:30:02.095 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/2f5a1209-3b3a-417e-b76f-7318a897c457/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:30:02.095 [print] size 5756284
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.031
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = '00a2e048-2c11-4a10-a7b1-0f439bcf35e5' 0.001
When method GET 0.522
02:30:01.669 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=00a2e048-2c11-4a10-a7b1-0f439bcf35e5
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:30:02.190 response time in milliseconds: 520.83
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:30:02 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/46bacd16-ab19-4bc9-ace6-8598820f272b/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.004
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:30:02.195 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.500
02:30:02.196 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/46bacd16-ab19-4bc9-ace6-8598820f272b/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:02.695 response time in milliseconds: 499.16
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1174
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:30:02 GMT
2 < Etag: "dc48f6003c73ca1c98e10adb3799307c-1"
2 < Last-Modified: Sat, 12 Jun 2021 23:27:22 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08F36DE38BD
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:30:02.696 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/46bacd16-ab19-4bc9-ace6-8598820f272b/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:30:02.697 [print] size 1174
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.027
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.001
And param delta-id = 'ee381f94-96f3-41e5-bbd5-4b678eee1db0' 0.001
When method GET 0.519
02:30:02.100 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=ee381f94-96f3-41e5-bbd5-4b678eee1db0
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:30:02.618 response time in milliseconds: 518.66
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:30:02 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/70e08df0-8f0e-43bf-87e6-e397afcd574f/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:30:02.621 [print] size 0
* def location = responseHeaders['Location'][0] 0.001
Given url apiBaseUrl + location 0.000
When method HEAD 0.499
02:30:02.627 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/70e08df0-8f0e-43bf-87e6-e397afcd574f/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:03.123 response time in milliseconds: 495.43
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 1170
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:30:03 GMT
2 < Etag: "0c6eb0500332d91df4689ed815a43326-1"
2 < Last-Modified: Sun, 13 Jun 2021 23:25:48 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08F506DA839
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:30:03.124 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/70e08df0-8f0e-43bf-87e6-e397afcd574f/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:30:03.124 [print] size 1170
* assert zipsize > 1000 0.000
1.366
* configure followRedirects = false 0.026
02:29:04.818 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
* print "bepaal een delta ids " 0.009
02:29:04.856 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.011
And param count = 1000 0.012
When method GET 1.270
02:29:04.883 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000
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:06.150 response time in milliseconds: 1266.10
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-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < Transfer-Encoding: chunked
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"}},{"id":"9297d9e4-cc92-415f-b258-642b4ecdb967","timeWindow":{"from":"2021-05-25T21:59:59Z","to":"2021-05-26T21:59:59Z"}},{"id":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","timeWindow":{"from":"2021-05-26T21:59:59Z","to":"2021-05-27T21:59:59Z"}},{"id":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","timeWindow":{"from":"2021-05-27T21:59:59Z","to":"2021-05-28T21:59:59Z"}},{"id":"ee7de3a0-af84-4382-88f6-015c69fbcf22","timeWindow":{"from":"2021-05-28T21:59:59Z","to":"2021-05-29T21:59:59Z"}},{"id":"7d86880e-ec38-45a7-8d26-8b50b25cb564","timeWindow":{"from":"2021-05-29T21:59:59Z","to":"2021-05-30T21:59:59Z"}},{"id":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","timeWindow":{"from":"2021-05-30T21:59:59Z","to":"2021-05-31T21:59:59Z"}},{"id":"a7ced3a4-8dd3-44df-8774-f08d01839035","timeWindow":{"from":"2021-05-31T21:59:59Z","to":"2021-06-01T21:59:59Z"}},{"id":"3021d17f-c396-4704-8770-d0231e9d5d9b","timeWindow":{"from":"2021-06-01T21:59:59Z","to":"2021-06-02T21:59:59Z"}},{"id":"199c4014-5688-4581-9513-9d8bc2f0c040","timeWindow":{"from":"2021-06-02T21:59:59Z","to":"2021-06-03T21:59:59Z"}},{"id":"74c6011e-9871-4f8a-b911-0142eea98ee7","timeWindow":{"from":"2021-06-03T21:59:59Z","to":"2021-06-04T21:59:59Z"}},{"id":"95843b80-f891-4f0d-ac68-6f104d38a0c6","timeWindow":{"from":"2021-06-04T21:59:59Z","to":"2021-06-05T21:59:59Z"}},{"id":"304c598c-211c-4d4e-86cf-c87c8be1fd60","timeWindow":{"from":"2021-06-05T21:59:59Z","to":"2021-06-06T21:59:59Z"}},{"id":"74059578-fae6-4945-9c61-b14d8315506f","timeWindow":{"from":"2021-06-06T21:59:59Z","to":"2021-06-07T21:59:59Z"}},{"id":"7846306d-9db1-47be-bb67-960c8db4901b","timeWindow":{"from":"2021-06-07T21:59:59Z","to":"2021-06-08T21:59:59Z"}},{"id":"ecc65af0-5df2-4c51-997e-424a8ec168f9","timeWindow":{"from":"2021-06-08T21:59:59Z","to":"2021-06-09T21:59:59Z"}},{"id":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","timeWindow":{"from":"2021-06-09T21:59:59Z","to":"2021-06-10T21:59:59Z"}},{"id":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","timeWindow":{"from":"2021-06-10T21:59:59Z","to":"2021-06-11T21:59:59Z"}},{"id":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","timeWindow":{"from":"2021-06-11T21:59:59Z","to":"2021-06-12T21:59:59Z"}},{"id":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","timeWindow":{"from":"2021-06-12T21:59:59Z","to":"2021-06-13T21:59:59Z"}},{"id":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","timeWindow":{"from":"2021-06-13T21:59:59Z","to":"2021-06-14T21:59:59Z"}}],"_links":[]}
Then status 200 0.000
And def alldelta = response.deltas 0.008
* print "alldelta:", alldelta 0.017
02:29:06.176 [print] alldelta: [
  {
    "timeWindow": {
      "from": "2021-05-15T21:59:59Z",
      "to": "2021-05-16T21:59:59Z"
    },
    "id": "2b104759-f77d-496a-94e4-7064f199b446"
  },
  {
    "timeWindow": {
      "from": "2021-05-16T21:59:59Z",
      "to": "2021-05-17T21:59:59Z"
    },
    "id": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d"
  },
  {
    "timeWindow": {
      "from": "2021-05-17T21:59:59Z",
      "to": "2021-05-18T21:59:59Z"
    },
    "id": "801a3c3e-a010-4fff-9c4a-812d7c813674"
  },
  {
    "timeWindow": {
      "from": "2021-05-18T21:59:59Z",
      "to": "2021-05-19T21:59:59Z"
    },
    "id": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473"
  },
  {
    "timeWindow": {
      "from": "2021-05-19T21:59:59Z",
      "to": "2021-05-20T21:59:59Z"
    },
    "id": "9c93aa0c-86a4-49fa-826e-549c719cc0aa"
  },
  {
    "timeWindow": {
      "from": "2021-05-20T21:59:59Z",
      "to": "2021-05-21T21:59:59Z"
    },
    "id": "1577858c-8c9f-481a-8e45-084bd85e5f4e"
  },
  {
    "timeWindow": {
      "from": "2021-05-21T21:59:59Z",
      "to": "2021-05-22T21:59:59Z"
    },
    "id": "f784d3c1-2e95-4c30-9268-11d0d61ac131"
  },
  {
    "timeWindow": {
      "from": "2021-05-22T21:59:59Z",
      "to": "2021-05-23T21:59:59Z"
    },
    "id": "e6640b5a-f20a-450e-9250-986540178c75"
  },
  {
    "timeWindow": {
      "from": "2021-05-23T21:59:59Z",
      "to": "2021-05-24T21:59:59Z"
    },
    "id": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d"
  },
  {
    "timeWindow": {
      "from": "2021-05-24T21:59:59Z",
      "to": "2021-05-25T21:59:59Z"
    },
    "id": "25e98e4e-ef9b-42d1-a419-03fef9478802"
  },
  {
    "timeWindow": {
      "from": "2021-05-25T21:59:59Z",
      "to": "2021-05-26T21:59:59Z"
    },
    "id": "9297d9e4-cc92-415f-b258-642b4ecdb967"
  },
  {
    "timeWindow": {
      "from": "2021-05-26T21:59:59Z",
      "to": "2021-05-27T21:59:59Z"
    },
    "id": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce"
  },
  {
    "timeWindow": {
      "from": "2021-05-27T21:59:59Z",
      "to": "2021-05-28T21:59:59Z"
    },
    "id": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6"
  },
  {
    "timeWindow": {
      "from": "2021-05-28T21:59:59Z",
      "to": "2021-05-29T21:59:59Z"
    },
    "id": "ee7de3a0-af84-4382-88f6-015c69fbcf22"
  },
  {
    "timeWindow": {
      "from": "2021-05-29T21:59:59Z",
      "to": "2021-05-30T21:59:59Z"
    },
    "id": "7d86880e-ec38-45a7-8d26-8b50b25cb564"
  },
  {
    "timeWindow": {
      "from": "2021-05-30T21:59:59Z",
      "to": "2021-05-31T21:59:59Z"
    },
    "id": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e"
  },
  {
    "timeWindow": {
      "from": "2021-05-31T21:59:59Z",
      "to": "2021-06-01T21:59:59Z"
    },
    "id": "a7ced3a4-8dd3-44df-8774-f08d01839035"
  },
  {
    "timeWindow": {
      "from": "2021-06-01T21:59:59Z",
      "to": "2021-06-02T21:59:59Z"
    },
    "id": "3021d17f-c396-4704-8770-d0231e9d5d9b"
  },
  {
    "timeWindow": {
      "from": "2021-06-02T21:59:59Z",
      "to": "2021-06-03T21:59:59Z"
    },
    "id": "199c4014-5688-4581-9513-9d8bc2f0c040"
  },
  {
    "timeWindow": {
      "from": "2021-06-03T21:59:59Z",
      "to": "2021-06-04T21:59:59Z"
    },
    "id": "74c6011e-9871-4f8a-b911-0142eea98ee7"
  },
  {
    "timeWindow": {
      "from": "2021-06-04T21:59:59Z",
      "to": "2021-06-05T21:59:59Z"
    },
    "id": "95843b80-f891-4f0d-ac68-6f104d38a0c6"
  },
  {
    "timeWindow": {
      "from": "2021-06-05T21:59:59Z",
      "to": "2021-06-06T21:59:59Z"
    },
    "id": "304c598c-211c-4d4e-86cf-c87c8be1fd60"
  },
  {
    "timeWindow": {
      "from": "2021-06-06T21:59:59Z",
      "to": "2021-06-07T21:59:59Z"
    },
    "id": "74059578-fae6-4945-9c61-b14d8315506f"
  },
  {
    "timeWindow": {
      "from": "2021-06-07T21:59:59Z",
      "to": "2021-06-08T21:59:59Z"
    },
    "id": "7846306d-9db1-47be-bb67-960c8db4901b"
  },
  {
    "timeWindow": {
      "from": "2021-06-08T21:59:59Z",
      "to": "2021-06-09T21:59:59Z"
    },
    "id": "ecc65af0-5df2-4c51-997e-424a8ec168f9"
  },
  {
    "timeWindow": {
      "from": "2021-06-09T21:59:59Z",
      "to": "2021-06-10T21:59:59Z"
    },
    "id": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17"
  },
  {
    "timeWindow": {
      "from": "2021-06-10T21:59:59Z",
      "to": "2021-06-11T21:59:59Z"
    },
    "id": "80d32f9f-5641-4d0a-89bb-616e9c0f890f"
  },
  {
    "timeWindow": {
      "from": "2021-06-11T21:59:59Z",
      "to": "2021-06-12T21:59:59Z"
    },
    "id": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5"
  },
  {
    "timeWindow": {
      "from": "2021-06-12T21:59:59Z",
      "to": "2021-06-13T21:59:59Z"
    },
    "id": "ee381f94-96f3-41e5-bbd5-4b678eee1db0"
  },
  {
    "timeWindow": {
      "from": "2021-06-13T21:59:59Z",
      "to": "2021-06-14T21:59:59Z"
    },
    "id": "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
  }
]
* def ids = karate.jsonPath (alldelta, '[*].id') 0.002
* print "ids", ids 0.008
02:29:06.192 [print] ids [
  "2b104759-f77d-496a-94e4-7064f199b446",
  "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "e6640b5a-f20a-450e-9250-986540178c75",
  "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "199c4014-5688-4581-9513-9d8bc2f0c040",
  "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "74059578-fae6-4945-9c61-b14d8315506f",
  "7846306d-9db1-47be-bb67-960c8db4901b",
  "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "359a0c94-3317-42ed-b8c7-508f5d13f2c1"
]
1.218
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip' 0.002
And param delta-id = '359a0c94-3317-42ed-b8c7-508f5d13f2c1' 0.001
When method GET 0.667
02:30:02.702 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/predefined/dkk-gml-nl.zip?delta-id=359a0c94-3317-42ed-b8c7-508f5d13f2c1
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:30:03.368 response time in milliseconds: 665.90
1 < 307
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: 0
1 < Content-Type: application/zip
1 < Date: Tue, 15 Jun 2021 02:30:03 GMT
1 < Location: /kadaster/kadastralekaart/download/v4_0/cache/5/e94b9916-f393-42bb-85c5-4b4e1deac629/dkk-gml-nl.zip
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "size", zipsize 0.000
02:30:03.369 [print] size 0
* def location = responseHeaders['Location'][0] 0.000
Given url apiBaseUrl + location 0.000
When method HEAD 0.545
02:30:03.371 request:
2 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/cache/5/e94b9916-f393-42bb-85c5-4b4e1deac629/dkk-gml-nl.zip
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: downloads.pdok.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:03.915 response time in milliseconds: 544.44
2 < 200
2 < Accept-Ranges: bytes
2 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
2 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
2 < Access-Control-Allow-Origin: *
2 < Access-Control-Max-Age: 1000
2 < Content-Disposition: attachment; filename=dkk-gml-nl.zip
2 < Content-Length: 5610673
2 < Content-Security-Policy: block-all-mixed-content
2 < Content-Type: application/zip
2 < Date: Tue, 15 Jun 2021 02:30:03 GMT
2 < Etag: "93eed133fd93ce41e21825db8549ced3-2"
2 < Last-Modified: Mon, 14 Jun 2021 23:43:21 GMT
2 < Server: MinIO
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < Vary: Origin
2 < X-Amz-Request-Id: 1688A08F7CC04E15
2 < X-Cnection: close
2 < X-Xss-Protection: 1; mode=block
Then status 200 0.000
And match responseHeaders['Content-Length'][0] == '#notnull' 0.000
And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
And def zipsize = responseHeaders['Content-Length'][0] 0.000
* print "location", location 0.000
02:30:03.916 [print] location /kadaster/kadastralekaart/download/v4_0/cache/5/e94b9916-f393-42bb-85c5-4b4e1deac629/dkk-gml-nl.zip
* print "size", zipsize 0.000
02:30:03.917 [print] size 5610673
* assert zipsize > 1000 0.000