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/T07_DeltaCustomUpdate.feature 3195 0 0 0 0 3195 3 0 3 8:1.452 Passed
Tags: @SMOKE
Feature download/T07_DeltaCustomUpdate.feature
DKK Api geeft Custom delta request voor alle leveringen na TODO b2219778-e94c-40b0-92bd-95e3491af2bb Dit feature test alle deltas voor alle leveringen voor een specifiek interessegebied
2:25.779
* print "bepaal een delta ids " 0.035
02:29:04.017 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
 
02:29:04.049 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.017
And param count = 1000 0.001
And param after-delta-id = "b2219778-e94c-40b0-92bd-95e3491af2bb" 0.016
When method GET 0.625
02:29:04.096 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000&after-delta-id=b2219778-e94c-40b0-92bd-95e3491af2bb
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:04.714 response time in milliseconds: 615.84
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:04 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, 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.006
* print "alldelta:", alldelta 0.020
02:29:04.741 [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 pararray = [] 0.000
* def featureslist = ["perceel"] 0.000
* def fun = 0.012
function(delta) {
req = { format: "gml", geofilter: 'POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))' };
req["deltaId"] = delta["id"];
req["featuretypes"] = featureslist;
pararray.add (req);
}
* eval karate.forEach(alldelta, fun) 0.099
* print "array:", pararray 0.030
02:29:04.885 [print] array: [
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
    "featuretypes": [
      "perceel"
    ]
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  }
]
* print "done" 0.001
02:29:04.886 [print] done
* def dodelta = call read('DeltaCustomargs.feature') pararray 1:12.604
[0] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.048
> * def requestparams = __arg 0.043
> * print requestparams 0.000
02:29:05.069 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.597
02:29:05.149 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"2b104759-f77d-496a-94e4-7064f199b446","featuretypes":["perceel"]}

02:29:05.667 response time in milliseconds: 516.99
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:05 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c6e3039e-9001-4276-6513-d25c67f9bed2/status"}},"downloadRequestId":"c6e3039e-9001-4276-6513-d25c67f9bed2"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.002
> And def links = response._links 0.002
> * print "delta status links:" links 0.043
02:29:05.717 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.016
> * print 'statusurl', statusurl 0.007
02:29:05.741 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c6e3039e-9001-4276-6513-d25c67f9bed2/status
> Given url statusurl 0.000
> When method GET 0.509
02:29:05.744 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c6e3039e-9001-4276-6513-d25c67f9bed2/status
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:06.250 response time in milliseconds: 505.01
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:06 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/1e7e5b35-96c2-4a9f-bf1d-b57fa68ef2cc/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.550
02:29:06.256 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c6e3039e-9001-4276-6513-d25c67f9bed2/status
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:06.761 response time in milliseconds: 504.41
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:06 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/1e7e5b35-96c2-4a9f-bf1d-b57fa68ef2cc/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.001
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.018
02:29:06.822 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/1e7e5b35-96c2-4a9f-bf1d-b57fa68ef2cc/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.008
> When method HEAD 0.529
02:29:06.834 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/1e7e5b35-96c2-4a9f-bf1d-b57fa68ef2cc/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:07.360 response time in milliseconds: 526.05
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:07 GMT
4 < Etag: "9bd59fe38fc0598bd58c721084f4cc8a-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:05 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08254984041
4 < X-Cnection: close
4 < 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.009
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.001
02:29:07.375 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.003
02:29:07.378 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/1e7e5b35-96c2-4a9f-bf1d-b57fa68ef2cc/extract.zip
> * print "size", zipsize 0.007
02:29:07.386 [print] size 647
> * assert zipsize > 600 0.016
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.010
[1] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.016
> * def requestparams = __arg 0.001
> * print requestparams 0.000
02:29:07.459 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.559
02:29:07.460 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"c31553da-c1ff-4d9e-80d4-dd60544a1b2d","featuretypes":["perceel"]}

02:29:08.016 response time in milliseconds: 555.55
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:07 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/295ca6c3-25c0-4156-4386-d17903aa718c/status"}},"downloadRequestId":"295ca6c3-25c0-4156-4386-d17903aa718c"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.005
> And def downloadRequestId = response.downloadRequestId 0.018
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:08.043 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.006
> * print 'statusurl', statusurl 0.004
02:29:08.054 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/295ca6c3-25c0-4156-4386-d17903aa718c/status
> Given url statusurl 0.000
> When method GET 0.509
02:29:08.063 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/295ca6c3-25c0-4156-4386-d17903aa718c/status
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:08.572 response time in milliseconds: 508.12
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:08 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2f9d2a85-9306-4428-9f7a-1cf50593501d/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.548
02:29:08.574 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/295ca6c3-25c0-4156-4386-d17903aa718c/status
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:09.118 response time in milliseconds: 543.71
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:09 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2f9d2a85-9306-4428-9f7a-1cf50593501d/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.004
02:29:09.125 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/2f9d2a85-9306-4428-9f7a-1cf50593501d/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.701
02:29:09.133 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2f9d2a85-9306-4428-9f7a-1cf50593501d/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:09.829 response time in milliseconds: 692.81
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 646
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:09 GMT
4 < Etag: "35bf684c465bd73a7de6ff200881a770-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:08 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A082E2053616
4 < X-Cnection: close
4 < 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 "###" 0.005
02:29:09.835 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.020
02:29:09.856 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2f9d2a85-9306-4428-9f7a-1cf50593501d/extract.zip
> * print "size", zipsize 0.000
02:29:09.857 [print] size 646
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.014
[2] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.010
> * def requestparams = __arg 0.001
> * print requestparams 0.000
02:29:09.887 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 2.126
02:29:09.888 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"801a3c3e-a010-4fff-9c4a-812d7c813674","featuretypes":["perceel"]}

02:29:12.014 response time in milliseconds: 2125.25
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:11 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/750697fd-06f2-45eb-6c18-235fad4461af/status"}},"downloadRequestId":"750697fd-06f2-45eb-6c18-235fad4461af"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.001
02:29:12.020 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.025
02:29:12.047 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/750697fd-06f2-45eb-6c18-235fad4461af/status
> Given url statusurl 0.000
> When method GET 0.516
02:29:12.065 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/750697fd-06f2-45eb-6c18-235fad4461af/status
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:12.562 response time in milliseconds: 496.70
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:12 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d181a0bf-886a-4340-a7b8-31e1c8f3239a/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.499
02:29:12.567 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/750697fd-06f2-45eb-6c18-235fad4461af/status
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:13.056 response time in milliseconds: 487.70
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:12 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d181a0bf-886a-4340-a7b8-31e1c8f3239a/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.018
02:29:13.084 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/d181a0bf-886a-4340-a7b8-31e1c8f3239a/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.007
> When method HEAD 0.552
02:29:13.093 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d181a0bf-886a-4340-a7b8-31e1c8f3239a/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:13.644 response time in milliseconds: 551.24
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:13 GMT
4 < Etag: "92be2c83e50ed7e7d55805c2ff47a531-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:12 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A083CA1990DC
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:13.646 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:13.646 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d181a0bf-886a-4340-a7b8-31e1c8f3239a/extract.zip
> * print "size", zipsize 0.000
02:29:13.647 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.002
[3] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.005
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:13.662 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.525
02:29:13.676 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9d181f42-7ef5-4c43-b7d7-3cf4195e1473","featuretypes":["perceel"]}

02:29:14.187 response time in milliseconds: 510.25
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:14 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/2a6fc076-9af3-4090-69a3-d2b80d96a505/status"}},"downloadRequestId":"2a6fc076-9af3-4090-69a3-d2b80d96a505"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.001
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:14.190 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:14.190 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2a6fc076-9af3-4090-69a3-d2b80d96a505/status
> Given url statusurl 0.000
> When method GET 0.503
02:29:14.191 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2a6fc076-9af3-4090-69a3-d2b80d96a505/status
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:14.694 response time in milliseconds: 502.31
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:14 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/64037bcb-8b3f-42e7-9791-895c7d2678df/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.511
02:29:14.695 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2a6fc076-9af3-4090-69a3-d2b80d96a505/status
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:15.204 response time in milliseconds: 507.70
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:15 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/64037bcb-8b3f-42e7-9791-895c7d2678df/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:29:15.207 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/64037bcb-8b3f-42e7-9791-895c7d2678df/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.507
02:29:15.216 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/64037bcb-8b3f-42e7-9791-895c7d2678df/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:15.721 response time in milliseconds: 499.50
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 648
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:15 GMT
4 < Etag: "a3af6f222dd0398d318456bfd9ef0e84-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:14 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0844640A9FB
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:15.723 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:15.723 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/64037bcb-8b3f-42e7-9791-895c7d2678df/extract.zip
> * print "size", zipsize 0.000
02:29:15.724 [print] size 648
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[4] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:15.736 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.511
02:29:15.739 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9c93aa0c-86a4-49fa-826e-549c719cc0aa","featuretypes":["perceel"]}

02:29:16.248 response time in milliseconds: 508.54
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:16 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/1098e73a-b6e5-4994-7de0-95f250075427/status"}},"downloadRequestId":"1098e73a-b6e5-4994-7de0-95f250075427"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:16.250 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:16.250 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1098e73a-b6e5-4994-7de0-95f250075427/status
> Given url statusurl 0.000
> When method GET 0.492
02:29:16.251 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1098e73a-b6e5-4994-7de0-95f250075427/status
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:16.740 response time in milliseconds: 488.81
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:16 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8955f067-2a39-40a6-98b3-2bca0134d921/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.505
02:29:16.744 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1098e73a-b6e5-4994-7de0-95f250075427/status
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:17.248 response time in milliseconds: 503.66
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:17 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8955f067-2a39-40a6-98b3-2bca0134d921/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:17.250 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/8955f067-2a39-40a6-98b3-2bca0134d921/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.530
02:29:17.252 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8955f067-2a39-40a6-98b3-2bca0134d921/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:17.781 response time in milliseconds: 528.70
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 646
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:17 GMT
4 < Etag: "adccec1203fc01c85380595b5fd92660-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:16 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A084BFA160D7
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:17.782 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:17.783 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8955f067-2a39-40a6-98b3-2bca0134d921/extract.zip
> * print "size", zipsize 0.000
02:29:17.783 [print] size 646
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[5] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.010
> * def requestparams = __arg 0.000
> * print requestparams 0.005
02:29:17.802 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 1.880
02:29:17.803 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"1577858c-8c9f-481a-8e45-084bd85e5f4e","featuretypes":["perceel"]}

02:29:19.682 response time in milliseconds: 1878.50
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:19 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/6e498fd5-2dd6-4806-7b62-78995ab74be3/status"}},"downloadRequestId":"6e498fd5-2dd6-4806-7b62-78995ab74be3"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:19.684 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:19.685 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/6e498fd5-2dd6-4806-7b62-78995ab74be3/status
> Given url statusurl 0.000
> When method GET 0.493
02:29:19.686 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/6e498fd5-2dd6-4806-7b62-78995ab74be3/status
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.178 response time in milliseconds: 491.77
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:20 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e80f0dec-5fe0-4d14-b24e-1723821ae3e3/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.511
02:29:20.179 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/6e498fd5-2dd6-4806-7b62-78995ab74be3/status
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:20.689 response time in milliseconds: 509.63
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:20 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e80f0dec-5fe0-4d14-b24e-1723821ae3e3/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:20.690 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e80f0dec-5fe0-4d14-b24e-1723821ae3e3/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.507
02:29:20.692 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e80f0dec-5fe0-4d14-b24e-1723821ae3e3/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:21.199 response time in milliseconds: 506.78
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:21 GMT
4 < Etag: "dc67a4a81b65cbea52533484f8ed1073-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:19 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0858D682BD9
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.010
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:29:21.210 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:21.210 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e80f0dec-5fe0-4d14-b24e-1723821ae3e3/extract.zip
> * print "size", zipsize 0.000
02:29:21.211 [print] size 647
> * assert zipsize > 600 0.000
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.003
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[6] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:21.222 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.496
02:29:21.234 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f784d3c1-2e95-4c30-9268-11d0d61ac131","featuretypes":["perceel"]}

02:29:21.719 response time in milliseconds: 484.22
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:21 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/1e1688fb-fb99-4bed-7fe3-215d327afcec/status"}},"downloadRequestId":"1e1688fb-fb99-4bed-7fe3-215d327afcec"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.004
> * print "delta status links:" links 0.000
02:29:21.725 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.006
> * print 'statusurl', statusurl 0.005
02:29:21.737 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1e1688fb-fb99-4bed-7fe3-215d327afcec/status
> Given url statusurl 0.000
> When method GET 0.498
02:29:21.748 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1e1688fb-fb99-4bed-7fe3-215d327afcec/status
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.236 response time in milliseconds: 487.31
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:22 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/4af853bb-59e0-4dca-a906-af1ec1b2eb04/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.506
02:29:22.237 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1e1688fb-fb99-4bed-7fe3-215d327afcec/status
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:22.736 response time in milliseconds: 498.53
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:22 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/4af853bb-59e0-4dca-a906-af1ec1b2eb04/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:22.743 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/4af853bb-59e0-4dca-a906-af1ec1b2eb04/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.002
> When method HEAD 0.575
02:29:22.746 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/4af853bb-59e0-4dca-a906-af1ec1b2eb04/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:23.321 response time in milliseconds: 574.51
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 648
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:23 GMT
4 < Etag: "bbda8b0a7d4d74afb54e7730469aec6f-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:22 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A086089861F9
4 < X-Cnection: close
4 < 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 "###" 0.001
02:29:23.327 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.011
02:29:23.339 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/4af853bb-59e0-4dca-a906-af1ec1b2eb04/extract.zip
> * print "size", zipsize 0.000
02:29:23.339 [print] size 648
> * assert zipsize > 600 0.000
> * def mydownloads = Java.type('download.DataStorage') 0.006
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[7] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.005
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:23.354 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.501
02:29:23.357 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"e6640b5a-f20a-450e-9250-986540178c75","featuretypes":["perceel"]}

02:29:23.857 response time in milliseconds: 500.07
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:23 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ec52537d-7df0-4a20-7a78-b8b6a961fe92/status"}},"downloadRequestId":"ec52537d-7df0-4a20-7a78-b8b6a961fe92"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.001
> And def links = response._links 0.001
> * print "delta status links:" links 0.000
02:29:23.861 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.005
02:29:23.868 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ec52537d-7df0-4a20-7a78-b8b6a961fe92/status
> Given url statusurl 0.000
> When method GET 0.494
02:29:23.869 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ec52537d-7df0-4a20-7a78-b8b6a961fe92/status
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:24.363 response time in milliseconds: 493.06
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:24 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bd60ac74-563e-4632-a8aa-faeb82f683bd/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.494
02:29:24.364 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ec52537d-7df0-4a20-7a78-b8b6a961fe92/status
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:24.855 response time in milliseconds: 489.99
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:24 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bd60ac74-563e-4632-a8aa-faeb82f683bd/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.007
02:29:24.865 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/bd60ac74-563e-4632-a8aa-faeb82f683bd/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.003
> When method HEAD 0.605
02:29:24.875 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bd60ac74-563e-4632-a8aa-faeb82f683bd/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:25.474 response time in milliseconds: 598.85
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:25 GMT
4 < Etag: "9ec220cfb43dd890bb2e210a7eca439e-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:23 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0868BB30760
4 < X-Cnection: close
4 < 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.004
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.002
02:29:25.486 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.003
02:29:25.489 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bd60ac74-563e-4632-a8aa-faeb82f683bd/extract.zip
> * print "size", zipsize 0.002
02:29:25.491 [print] size 647
> * assert zipsize > 600 0.002
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.002
[8] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.003
> * def requestparams = __arg 0.000
> * print requestparams 0.001
02:29:25.505 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.494
02:29:25.510 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"1c15ea7f-bf22-43a8-b5e9-b66a1871f27d","featuretypes":["perceel"]}

02:29:26.000 response time in milliseconds: 490.30
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:25 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/f998b70e-8e05-44b7-7998-ead8574592bb/status"}},"downloadRequestId":"f998b70e-8e05-44b7-7998-ead8574592bb"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:26.002 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:26.003 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f998b70e-8e05-44b7-7998-ead8574592bb/status
> Given url statusurl 0.000
> When method GET 0.487
02:29:26.004 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f998b70e-8e05-44b7-7998-ead8574592bb/status
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:26.491 response time in milliseconds: 486.28
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:26 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3495b6c5-cefc-4cdb-bd06-0a42e8656f1c/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.525
02:29:26.499 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f998b70e-8e05-44b7-7998-ead8574592bb/status
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:27.017 response time in milliseconds: 517.68
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:26 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3495b6c5-cefc-4cdb-bd06-0a42e8656f1c/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:29:27.019 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/3495b6c5-cefc-4cdb-bd06-0a42e8656f1c/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.537
02:29:27.021 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3495b6c5-cefc-4cdb-bd06-0a42e8656f1c/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:27.556 response time in milliseconds: 534.79
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 649
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:27 GMT
4 < Etag: "148536b4e63d01a35e6bc88e541de8f4-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:26 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08707F16938
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:27.558 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:27.559 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3495b6c5-cefc-4cdb-bd06-0a42e8656f1c/extract.zip
> * print "size", zipsize 0.000
02:29:27.559 [print] size 649
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[9] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:27.564 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.518
02:29:27.565 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"25e98e4e-ef9b-42d1-a419-03fef9478802","featuretypes":["perceel"]}

02:29:28.083 response time in milliseconds: 516.62
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:28 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/8b8bc3a2-2af3-4e7b-62fa-3c3a3ad4a5db/status"}},"downloadRequestId":"8b8bc3a2-2af3-4e7b-62fa-3c3a3ad4a5db"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.003
02:29:28.087 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.002
02:29:28.092 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/8b8bc3a2-2af3-4e7b-62fa-3c3a3ad4a5db/status
> Given url statusurl 0.000
> When method GET 0.545
02:29:28.100 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/8b8bc3a2-2af3-4e7b-62fa-3c3a3ad4a5db/status
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:28.638 response time in milliseconds: 537.79
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:28 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3a4dd7ff-3f43-4d3a-bca5-43ca354b9d9f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.483
02:29:28.639 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/8b8bc3a2-2af3-4e7b-62fa-3c3a3ad4a5db/status
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:29.122 response time in milliseconds: 482.46
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:29 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3a4dd7ff-3f43-4d3a-bca5-43ca354b9d9f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:29.123 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/3a4dd7ff-3f43-4d3a-bca5-43ca354b9d9f/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.541
02:29:29.124 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3a4dd7ff-3f43-4d3a-bca5-43ca354b9d9f/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:29.665 response time in milliseconds: 540.17
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 645
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:29 GMT
4 < Etag: "18e51b9bdb78075877a878a25b377209-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:28 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08784137CA7
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:29.665 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:29.666 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3a4dd7ff-3f43-4d3a-bca5-43ca354b9d9f/extract.zip
> * print "size", zipsize 0.000
02:29:29.666 [print] size 645
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.010
[10] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.004
> * print requestparams 0.000
02:29:29.685 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.490
02:29:29.688 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9297d9e4-cc92-415f-b258-642b4ecdb967","featuretypes":["perceel"]}

02:29:30.175 response time in milliseconds: 486.28
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:30 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ed07d173-2134-4ef5-5c18-58763ec09dae/status"}},"downloadRequestId":"ed07d173-2134-4ef5-5c18-58763ec09dae"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:30.176 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:30.177 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ed07d173-2134-4ef5-5c18-58763ec09dae/status
> Given url statusurl 0.000
> When method GET 0.631
02:29:30.178 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ed07d173-2134-4ef5-5c18-58763ec09dae/status
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:30.808 response time in milliseconds: 630.08
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:30 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8e9030a9-a3fe-4063-a005-dd85ae31c2e0/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.546
02:29:30.809 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ed07d173-2134-4ef5-5c18-58763ec09dae/status
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:31.355 response time in milliseconds: 545.23
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:31 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8e9030a9-a3fe-4063-a005-dd85ae31c2e0/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:31.356 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/8e9030a9-a3fe-4063-a005-dd85ae31c2e0/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.513
02:29:31.357 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8e9030a9-a3fe-4063-a005-dd85ae31c2e0/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:31.869 response time in milliseconds: 512.26
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 648
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:31 GMT
4 < Etag: "5aac022dd4b540bb985b9d456ac242f9-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:30 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0880888D529
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:31.870 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.016
02:29:31.887 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8e9030a9-a3fe-4063-a005-dd85ae31c2e0/extract.zip
> * print "size", zipsize 0.000
02:29:31.887 [print] size 648
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[11] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:31.897 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.505
02:29:31.900 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","featuretypes":["perceel"]}

02:29:32.403 response time in milliseconds: 502.52
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:32 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/3215fdce-0ecc-44fb-5c2c-514f338946b9/status"}},"downloadRequestId":"3215fdce-0ecc-44fb-5c2c-514f338946b9"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:32.404 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:32.405 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3215fdce-0ecc-44fb-5c2c-514f338946b9/status
> Given url statusurl 0.000
> When method GET 0.494
02:29:32.406 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3215fdce-0ecc-44fb-5c2c-514f338946b9/status
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.899 response time in milliseconds: 493.42
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:32 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e674f245-5755-4260-99b4-32d2e7d133d6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.495
02:29:32.900 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3215fdce-0ecc-44fb-5c2c-514f338946b9/status
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:33.395 response time in milliseconds: 494.20
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:33 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e674f245-5755-4260-99b4-32d2e7d133d6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:33.396 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e674f245-5755-4260-99b4-32d2e7d133d6/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.507
02:29:33.397 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e674f245-5755-4260-99b4-32d2e7d133d6/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:33.905 response time in milliseconds: 506.99
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 12062
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:33 GMT
4 < Etag: "6e8415e0e940d65a3873fa1a7f9643b6-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:32 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0888218B275
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:33.905 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.007
02:29:33.912 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e674f245-5755-4260-99b4-32d2e7d133d6/extract.zip
> * print "size", zipsize 0.000
02:29:33.913 [print] size 12062
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[12] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.003
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:33.919 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 1.584
02:29:33.923 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","featuretypes":["perceel"]}

02:29:35.503 response time in milliseconds: 1579.89
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:35 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/2b72365b-f226-489d-74c6-fa97bc1eb245/status"}},"downloadRequestId":"2b72365b-f226-489d-74c6-fa97bc1eb245"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.001
> * print "delta status links:" links 0.000
02:29:35.505 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:35.506 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2b72365b-f226-489d-74c6-fa97bc1eb245/status
> Given url statusurl 0.000
> When method GET 0.484
02:29:35.507 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2b72365b-f226-489d-74c6-fa97bc1eb245/status
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.990 response time in milliseconds: 483.39
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:35 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/57854703-b5fd-45fd-b400-4d78cf263291/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.493
02:29:35.991 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2b72365b-f226-489d-74c6-fa97bc1eb245/status
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:36.480 response time in milliseconds: 488.33
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:36 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/57854703-b5fd-45fd-b400-4d78cf263291/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:36.484 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/57854703-b5fd-45fd-b400-4d78cf263291/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.513
02:29:36.485 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/57854703-b5fd-45fd-b400-4d78cf263291/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:36.998 response time in milliseconds: 512.66
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:36 GMT
4 < Etag: "78b04ed2ab8b9dffa9e1df5e881ce6b2-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:35 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08939F89C73
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:37.000 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:37.000 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/57854703-b5fd-45fd-b400-4d78cf263291/extract.zip
> * print "size", zipsize 0.001
02:29:37.002 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[13] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:37.012 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.511
02:29:37.014 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ee7de3a0-af84-4382-88f6-015c69fbcf22","featuretypes":["perceel"]}

02:29:37.523 response time in milliseconds: 508.16
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:37 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/7248926a-2fc4-472f-47ce-281b5cf3daa7/status"}},"downloadRequestId":"7248926a-2fc4-472f-47ce-281b5cf3daa7"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.003
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:37.530 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:37.530 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7248926a-2fc4-472f-47ce-281b5cf3daa7/status
> Given url statusurl 0.000
> When method GET 0.487
02:29:37.531 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7248926a-2fc4-472f-47ce-281b5cf3daa7/status
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:38.017 response time in milliseconds: 485.69
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:37 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/47ab3b40-517c-4174-8fab-d7e82e034c91/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.512
02:29:38.021 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7248926a-2fc4-472f-47ce-281b5cf3daa7/status
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:38.529 response time in milliseconds: 508.14
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:38 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/47ab3b40-517c-4174-8fab-d7e82e034c91/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:38.530 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/47ab3b40-517c-4174-8fab-d7e82e034c91/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.505
02:29:38.531 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/47ab3b40-517c-4174-8fab-d7e82e034c91/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:39.035 response time in milliseconds: 503.99
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:38 GMT
4 < Etag: "a25a0dbd96d79fd305a5d83a8c9e8991-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:37 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A089B4101D7A
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:39.036 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.006
02:29:39.037 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/47ab3b40-517c-4174-8fab-d7e82e034c91/extract.zip
> * print "size", zipsize 0.000
02:29:39.043 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[14] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.002
02:29:39.050 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.488
02:29:39.054 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"7d86880e-ec38-45a7-8d26-8b50b25cb564","featuretypes":["perceel"]}

02:29:39.539 response time in milliseconds: 484.32
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:39 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/e9ae0160-6d1b-4ea2-53c7-b66ebdc24030/status"}},"downloadRequestId":"e9ae0160-6d1b-4ea2-53c7-b66ebdc24030"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:39.540 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:39.540 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e9ae0160-6d1b-4ea2-53c7-b66ebdc24030/status
> Given url statusurl 0.000
> When method GET 0.506
02:29:39.541 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e9ae0160-6d1b-4ea2-53c7-b66ebdc24030/status
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.046 response time in milliseconds: 505.06
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:39 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/91c3f7c6-cc2d-4407-9c50-e535ee8e7392/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.505
02:29:40.047 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e9ae0160-6d1b-4ea2-53c7-b66ebdc24030/status
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:40.551 response time in milliseconds: 503.86
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:40 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/91c3f7c6-cc2d-4407-9c50-e535ee8e7392/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.003
02:29:40.556 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/91c3f7c6-cc2d-4407-9c50-e535ee8e7392/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.492
02:29:40.557 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/91c3f7c6-cc2d-4407-9c50-e535ee8e7392/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:41.048 response time in milliseconds: 491.05
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 646
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:40 GMT
4 < Etag: "8b990ce3263c1e70d0728bec9587e057-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:39 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08A2CC6C67E
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:41.055 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.001
02:29:41.056 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/91c3f7c6-cc2d-4407-9c50-e535ee8e7392/extract.zip
> * print "size", zipsize 0.000
02:29:41.057 [print] size 646
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[15] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:41.061 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.001
> When method post 0.491
02:29:41.064 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","featuretypes":["perceel"]}

02:29:41.555 response time in milliseconds: 490.55
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:41 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/3969a179-fc1d-4e9d-740e-e29a23b606ea/status"}},"downloadRequestId":"3969a179-fc1d-4e9d-740e-e29a23b606ea"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:41.561 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:41.562 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3969a179-fc1d-4e9d-740e-e29a23b606ea/status
> Given url statusurl 0.000
> When method GET 0.495
02:29:41.563 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3969a179-fc1d-4e9d-740e-e29a23b606ea/status
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:42.057 response time in milliseconds: 488.01
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:41 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/7904a36b-92ae-4c62-934b-ad6d6d05ea32/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.507
02:29:42.061 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3969a179-fc1d-4e9d-740e-e29a23b606ea/status
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:42.564 response time in milliseconds: 503.05
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:42 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/7904a36b-92ae-4c62-934b-ad6d6d05ea32/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.001
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:42.568 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/7904a36b-92ae-4c62-934b-ad6d6d05ea32/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.528
02:29:42.571 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/7904a36b-92ae-4c62-934b-ad6d6d05ea32/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:43.097 response time in milliseconds: 525.62
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:43 GMT
4 < Etag: "417007145eab17996b2c8150bddb2829-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:41 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08AA6696E0B
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.009
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.002
02:29:43.110 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:43.111 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/7904a36b-92ae-4c62-934b-ad6d6d05ea32/extract.zip
> * print "size", zipsize 0.000
02:29:43.112 [print] size 647
> * assert zipsize > 600 0.000
> * def mydownloads = Java.type('download.DataStorage') 0.002
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[16] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:43.119 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 1.594
02:29:43.124 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"a7ced3a4-8dd3-44df-8774-f08d01839035","featuretypes":["perceel"]}

02:29:44.715 response time in milliseconds: 1590.77
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:44 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/d58f4161-d662-4290-7f42-71bb24c40146/status"}},"downloadRequestId":"d58f4161-d662-4290-7f42-71bb24c40146"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.005
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:44.722 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:44.722 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d58f4161-d662-4290-7f42-71bb24c40146/status
> Given url statusurl 0.000
> When method GET 0.564
02:29:44.723 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d58f4161-d662-4290-7f42-71bb24c40146/status
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.287 response time in milliseconds: 563.37
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:45 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8976d67b-8b75-47ec-947b-5387760471bf/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.514
02:29:45.288 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d58f4161-d662-4290-7f42-71bb24c40146/status
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:45.798 response time in milliseconds: 509.67
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:45 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8976d67b-8b75-47ec-947b-5387760471bf/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:45.802 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/8976d67b-8b75-47ec-947b-5387760471bf/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.522
02:29:45.803 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8976d67b-8b75-47ec-947b-5387760471bf/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:46.325 response time in milliseconds: 521.31
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:46 GMT
4 < Etag: "b6d54bba3957ba4f26283dd007c58bdf-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:45 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08B65E6B09F
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.006
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:29:46.331 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:46.332 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8976d67b-8b75-47ec-947b-5387760471bf/extract.zip
> * print "size", zipsize 0.000
02:29:46.332 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[17] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:46.336 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.493
02:29:46.337 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"3021d17f-c396-4704-8770-d0231e9d5d9b","featuretypes":["perceel"]}

02:29:46.830 response time in milliseconds: 492.69
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:46 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/9a2cc01b-05a4-4ec7-5cae-bec5c851e595/status"}},"downloadRequestId":"9a2cc01b-05a4-4ec7-5cae-bec5c851e595"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:46.831 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:46.831 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/9a2cc01b-05a4-4ec7-5cae-bec5c851e595/status
> Given url statusurl 0.000
> When method GET 0.566
02:29:46.832 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/9a2cc01b-05a4-4ec7-5cae-bec5c851e595/status
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:47.398 response time in milliseconds: 565.34
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:47 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/c1b29ad8-bbdc-4c8b-b9e7-b2f2f24f4aab/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.495
02:29:47.398 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/9a2cc01b-05a4-4ec7-5cae-bec5c851e595/status
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:47.889 response time in milliseconds: 490.59
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:47 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/c1b29ad8-bbdc-4c8b-b9e7-b2f2f24f4aab/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:47.893 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/c1b29ad8-bbdc-4c8b-b9e7-b2f2f24f4aab/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.532
02:29:47.895 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/c1b29ad8-bbdc-4c8b-b9e7-b2f2f24f4aab/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:48.426 response time in milliseconds: 530.31
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 648
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:48 GMT
4 < Etag: "6d57a6d0b095c73a38c1e5cb98bc89bf-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:46 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08BE27BFA03
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:48.429 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:48.429 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/c1b29ad8-bbdc-4c8b-b9e7-b2f2f24f4aab/extract.zip
> * print "size", zipsize 0.000
02:29:48.429 [print] size 648
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[18] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:48.436 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.486
02:29:48.437 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"199c4014-5688-4581-9513-9d8bc2f0c040","featuretypes":["perceel"]}

02:29:48.920 response time in milliseconds: 481.88
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:48 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/258a1bef-838d-425b-6cee-33aae50828f0/status"}},"downloadRequestId":"258a1bef-838d-425b-6cee-33aae50828f0"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:48.924 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.000
02:29:48.926 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/258a1bef-838d-425b-6cee-33aae50828f0/status
> Given url statusurl 0.000
> When method GET 0.483
02:29:48.929 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/258a1bef-838d-425b-6cee-33aae50828f0/status
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.410 response time in milliseconds: 480.98
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:49 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/837f44df-2ca7-49bb-95d6-f1421971aa99/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.499
02:29:49.412 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/258a1bef-838d-425b-6cee-33aae50828f0/status
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:49.910 response time in milliseconds: 497.93
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:49 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/837f44df-2ca7-49bb-95d6-f1421971aa99/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:49.910 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/837f44df-2ca7-49bb-95d6-f1421971aa99/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.499
02:29:49.911 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/837f44df-2ca7-49bb-95d6-f1421971aa99/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:50.410 response time in milliseconds: 498.88
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:50 GMT
4 < Etag: "f996ab173a9cc9b6e614d6241ebb36be-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:49 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08C5A4A0223
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.006
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:29:50.418 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:50.418 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/837f44df-2ca7-49bb-95d6-f1421971aa99/extract.zip
> * print "size", zipsize 0.000
02:29:50.419 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[19] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:50.426 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 1.770
02:29:50.426 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"74c6011e-9871-4f8a-b911-0142eea98ee7","featuretypes":["perceel"]}

02:29:52.196 response time in milliseconds: 1768.98
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:52 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/db407a7d-08a4-4b73-50bf-655d3a551c17/status"}},"downloadRequestId":"db407a7d-08a4-4b73-50bf-655d3a551c17"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.001
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:52.201 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.002
02:29:52.205 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/db407a7d-08a4-4b73-50bf-655d3a551c17/status
> Given url statusurl 0.000
> When method GET 0.485
02:29:52.207 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/db407a7d-08a4-4b73-50bf-655d3a551c17/status
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:52.692 response time in milliseconds: 484.49
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:52 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e915dc7c-d20d-4dd0-aac0-10b57895dd5b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.484
02:29:52.697 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/db407a7d-08a4-4b73-50bf-655d3a551c17/status
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:53.179 response time in milliseconds: 482.52
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:53 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e915dc7c-d20d-4dd0-aac0-10b57895dd5b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.004
02:29:53.185 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e915dc7c-d20d-4dd0-aac0-10b57895dd5b/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.008
> When method HEAD 0.503
02:29:53.194 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e915dc7c-d20d-4dd0-aac0-10b57895dd5b/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:53.696 response time in milliseconds: 501.47
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 3662
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:53 GMT
4 < Etag: "f5b6f691234ebd6eef6158db183ddde0-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:52 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08D1E669D43
4 < X-Cnection: close
4 < 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 "###" 0.003
02:29:53.701 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.006
02:29:53.707 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e915dc7c-d20d-4dd0-aac0-10b57895dd5b/extract.zip
> * print "size", zipsize 0.000
02:29:53.708 [print] size 3662
> * assert zipsize > 600 0.007
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.014
[20] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.008
> * def requestparams = __arg 0.001
> * print requestparams 0.000
02:29:53.747 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.001
> When method post 0.490
02:29:53.753 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"95843b80-f891-4f0d-ac68-6f104d38a0c6","featuretypes":["perceel"]}

02:29:54.239 response time in milliseconds: 484.98
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:54 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/b413d43b-48e0-42b3-6d4f-5e1204648950/status"}},"downloadRequestId":"b413d43b-48e0-42b3-6d4f-5e1204648950"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.001
> And def downloadRequestId = response.downloadRequestId 0.002
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:54.243 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:54.244 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/b413d43b-48e0-42b3-6d4f-5e1204648950/status
> Given url statusurl 0.000
> When method GET 0.482
02:29:54.245 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/b413d43b-48e0-42b3-6d4f-5e1204648950/status
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.726 response time in milliseconds: 480.86
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:54 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/6d8a1322-819b-42ba-8114-f1a720b276d1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:29:54.732 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/b413d43b-48e0-42b3-6d4f-5e1204648950/status
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:55.219 response time in milliseconds: 486.47
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:55 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/6d8a1322-819b-42ba-8114-f1a720b276d1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:55.220 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/6d8a1322-819b-42ba-8114-f1a720b276d1/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.518
02:29:55.222 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/6d8a1322-819b-42ba-8114-f1a720b276d1/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:55.739 response time in milliseconds: 516.99
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:55 GMT
4 < Etag: "b32cda4760eafa078cc86bc60e0a9c51-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:54 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08D96FD1FAE
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:55.740 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:55.740 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/6d8a1322-819b-42ba-8114-f1a720b276d1/extract.zip
> * print "size", zipsize 0.000
02:29:55.740 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.008
[21] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.004
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:55.758 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.481
02:29:55.759 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"304c598c-211c-4d4e-86cf-c87c8be1fd60","featuretypes":["perceel"]}

02:29:56.240 response time in milliseconds: 480.73
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:56 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/367ba3a6-75ea-4d8c-6139-aa6a51385e33/status"}},"downloadRequestId":"367ba3a6-75ea-4d8c-6139-aa6a51385e33"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:56.241 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:56.241 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/367ba3a6-75ea-4d8c-6139-aa6a51385e33/status
> Given url statusurl 0.000
> When method GET 0.480
02:29:56.242 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/367ba3a6-75ea-4d8c-6139-aa6a51385e33/status
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:56.722 response time in milliseconds: 479.93
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:56 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/6d5572b8-d4c5-4294-a299-01b8a5ae2090/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.492
02:29:56.729 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/367ba3a6-75ea-4d8c-6139-aa6a51385e33/status
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:57.209 response time in milliseconds: 479.40
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:57 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/6d5572b8-d4c5-4294-a299-01b8a5ae2090/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:57.216 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/6d5572b8-d4c5-4294-a299-01b8a5ae2090/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.495
02:29:57.218 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/6d5572b8-d4c5-4294-a299-01b8a5ae2090/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:57.711 response time in milliseconds: 493.25
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:57 GMT
4 < Etag: "219d99bea4564b3b6e1b3409cee9467a-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:56 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08E0DE42F02
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:57.713 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:57.713 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/6d5572b8-d4c5-4294-a299-01b8a5ae2090/extract.zip
> * print "size", zipsize 0.000
02:29:57.714 [print] size 647
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.001
[22] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:57.721 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 1.832
02:29:57.722 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"74059578-fae6-4945-9c61-b14d8315506f","featuretypes":["perceel"]}

02:29:59.553 response time in milliseconds: 1830.88
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:59 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/7d15b398-d542-440c-6e44-86a57e21b566/status"}},"downloadRequestId":"7d15b398-d542-440c-6e44-86a57e21b566"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:59.560 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:59.560 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7d15b398-d542-440c-6e44-86a57e21b566/status
> Given url statusurl 0.000
> When method GET 0.501
02:29:59.561 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7d15b398-d542-440c-6e44-86a57e21b566/status
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:00.061 response time in milliseconds: 500.42
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:59 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d500d085-66e1-4211-a03e-48c5b6b3cec1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.500
02:30:00.062 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7d15b398-d542-440c-6e44-86a57e21b566/status
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:30:00.562 response time in milliseconds: 499.44
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:00 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d500d085-66e1-4211-a03e-48c5b6b3cec1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:00.563 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/d500d085-66e1-4211-a03e-48c5b6b3cec1/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.508
02:30:00.564 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d500d085-66e1-4211-a03e-48c5b6b3cec1/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:01.072 response time in milliseconds: 508.06
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 5140
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:01 GMT
4 < Etag: "963068884df1168ec0f1d0c109c19883-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:59 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08ED5E25F61
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:01.073 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:01.073 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d500d085-66e1-4211-a03e-48c5b6b3cec1/extract.zip
> * print "size", zipsize 0.000
02:30:01.073 [print] size 5140
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[23] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:01.077 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.512
02:30:01.078 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"7846306d-9db1-47be-bb67-960c8db4901b","featuretypes":["perceel"]}

02:30:01.585 response time in milliseconds: 506.81
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:01 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/3f66f15d-de7e-4dba-73d8-fe27c039218b/status"}},"downloadRequestId":"3f66f15d-de7e-4dba-73d8-fe27c039218b"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:01.592 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.000
02:30:01.593 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3f66f15d-de7e-4dba-73d8-fe27c039218b/status
> Given url statusurl 0.000
> When method GET 0.504
02:30:01.597 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3f66f15d-de7e-4dba-73d8-fe27c039218b/status
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.098 response time in milliseconds: 500.94
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:02 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/6281997c-07ac-4f0c-a203-7329d4348a56/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.479
02:30:02.099 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3f66f15d-de7e-4dba-73d8-fe27c039218b/status
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:30:02.577 response time in milliseconds: 477.90
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:02 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/6281997c-07ac-4f0c-a203-7329d4348a56/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.007
02:30:02.585 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/6281997c-07ac-4f0c-a203-7329d4348a56/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.508
02:30:02.586 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/6281997c-07ac-4f0c-a203-7329d4348a56/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:03.094 response time in milliseconds: 507.29
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 3799
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:03 GMT
4 < Etag: "367772b872e3861ca9001268608723b3-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:01 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08F4EAD518F
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:03.095 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:03.096 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/6281997c-07ac-4f0c-a203-7329d4348a56/extract.zip
> * print "size", zipsize 0.000
02:30:03.096 [print] size 3799
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[24] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:03.100 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.493
02:30:03.101 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ecc65af0-5df2-4c51-997e-424a8ec168f9","featuretypes":["perceel"]}

02:30:03.593 response time in milliseconds: 491.87
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:03 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/e3611f65-419c-4ca1-5c55-8f8158e40a2b/status"}},"downloadRequestId":"e3611f65-419c-4ca1-5c55-8f8158e40a2b"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:03.594 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:03.595 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e3611f65-419c-4ca1-5c55-8f8158e40a2b/status
> Given url statusurl 0.000
> When method GET 0.491
02:30:03.595 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e3611f65-419c-4ca1-5c55-8f8158e40a2b/status
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:04.086 response time in milliseconds: 490.81
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 161
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:04 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/e3611f65-419c-4ca1-5c55-8f8158e40a2b/status"}},"progress":100,"status":"RUNNING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.519
02:30:04.093 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e3611f65-419c-4ca1-5c55-8f8158e40a2b/status
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:30:04.606 response time in milliseconds: 512.42
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:04 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/dd3bb7c1-1fc8-4adb-adbc-4eb56081e7bf/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:04.607 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/dd3bb7c1-1fc8-4adb-adbc-4eb56081e7bf/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.523
02:30:04.608 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/dd3bb7c1-1fc8-4adb-adbc-4eb56081e7bf/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:05.131 response time in milliseconds: 522.26
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:05 GMT
4 < Etag: "92a31e4c408834196cb17f0575b62e90-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:04 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08FC6B8BC1C
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:05.133 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:05.134 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/dd3bb7c1-1fc8-4adb-adbc-4eb56081e7bf/extract.zip
> * print "size", zipsize 0.000
02:30:05.134 [print] size 647
> * assert zipsize > 600 0.009
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[25] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.006
> * def requestparams = __arg 0.000
> * print requestparams 0.001
02:30:05.153 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.484
02:30:05.154 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","featuretypes":["perceel"]}

02:30:05.638 response time in milliseconds: 483.57
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:05 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/514f8c2c-2a67-4cec-51cb-a61efb014133/status"}},"downloadRequestId":"514f8c2c-2a67-4cec-51cb-a61efb014133"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.001
02:30:05.640 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:05.640 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/514f8c2c-2a67-4cec-51cb-a61efb014133/status
> Given url statusurl 0.000
> When method GET 0.489
02:30:05.641 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/514f8c2c-2a67-4cec-51cb-a61efb014133/status
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:06.130 response time in milliseconds: 488.49
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:06 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bb4a0d1d-9ad2-4ced-9925-e6874b5432b9/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.498
02:30:06.131 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/514f8c2c-2a67-4cec-51cb-a61efb014133/status
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:30:06.628 response time in milliseconds: 496.70
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:06 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bb4a0d1d-9ad2-4ced-9925-e6874b5432b9/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:06.629 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/bb4a0d1d-9ad2-4ced-9925-e6874b5432b9/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.501
02:30:06.630 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bb4a0d1d-9ad2-4ced-9925-e6874b5432b9/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:07.131 response time in milliseconds: 500.44
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:07 GMT
4 < Etag: "c8f2175def4cc3b38c3303512dfa1088-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:05 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0903F5A9585
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:07.132 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:07.132 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bb4a0d1d-9ad2-4ced-9925-e6874b5432b9/extract.zip
> * print "size", zipsize 0.000
02:30:07.132 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[26] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:07.138 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.513
02:30:07.139 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","featuretypes":["perceel"]}

02:30:07.652 response time in milliseconds: 511.91
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:07 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/0ed46d2e-e940-4147-7188-ee4a4e033ace/status"}},"downloadRequestId":"0ed46d2e-e940-4147-7188-ee4a4e033ace"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:07.653 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:07.653 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0ed46d2e-e940-4147-7188-ee4a4e033ace/status
> Given url statusurl 0.000
> When method GET 0.481
02:30:07.654 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0ed46d2e-e940-4147-7188-ee4a4e033ace/status
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:08.135 response time in milliseconds: 480.73
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:08 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/efb25065-f0ce-4ea0-a766-b11b1759e1c5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.485
02:30:08.141 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0ed46d2e-e940-4147-7188-ee4a4e033ace/status
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:30:08.621 response time in milliseconds: 478.97
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:08 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/efb25065-f0ce-4ea0-a766-b11b1759e1c5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:08.622 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/efb25065-f0ce-4ea0-a766-b11b1759e1c5/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.507
02:30:08.623 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/efb25065-f0ce-4ea0-a766-b11b1759e1c5/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:09.130 response time in milliseconds: 507.00
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 648
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:09 GMT
4 < Etag: "b0a16c2ffb0434982c113c496bffdecf-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:07 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A090B5BAECE0
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:09.133 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:09.133 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/efb25065-f0ce-4ea0-a766-b11b1759e1c5/extract.zip
> * print "size", zipsize 0.000
02:30:09.133 [print] size 648
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[27] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.006
> * def requestparams = __arg 0.000
> * print requestparams 0.003
02:30:09.145 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.612
02:30:09.146 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","featuretypes":["perceel"]}

02:30:09.757 response time in milliseconds: 611.04
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:09 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/e6d00f47-46e5-425c-6aff-d0083c42214a/status"}},"downloadRequestId":"e6d00f47-46e5-425c-6aff-d0083c42214a"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:09.758 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:09.759 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e6d00f47-46e5-425c-6aff-d0083c42214a/status
> Given url statusurl 0.000
> When method GET 0.528
02:30:09.760 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e6d00f47-46e5-425c-6aff-d0083c42214a/status
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:10.287 response time in milliseconds: 527.41
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:10 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e778c952-98f1-408d-a076-93e6932d77f1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.618
02:30:10.288 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e6d00f47-46e5-425c-6aff-d0083c42214a/status
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:30:10.906 response time in milliseconds: 617.25
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:10 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e778c952-98f1-408d-a076-93e6932d77f1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:10.907 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e778c952-98f1-408d-a076-93e6932d77f1/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.595
02:30:10.908 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e778c952-98f1-408d-a076-93e6932d77f1/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:11.503 response time in milliseconds: 594.53
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:11 GMT
4 < Etag: "9b9e564bd695361e13cefa81a2ef7182-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:09 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0913EF5EBFD
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:11.503 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:11.504 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e778c952-98f1-408d-a076-93e6932d77f1/extract.zip
> * print "size", zipsize 0.000
02:30:11.504 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[28] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:11.507 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 2.318
02:30:11.508 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","featuretypes":["perceel"]}

02:30:13.825 response time in milliseconds: 2316.94
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:13 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/cefe9611-b5a3-43ef-75c6-c8f388428115/status"}},"downloadRequestId":"cefe9611-b5a3-43ef-75c6-c8f388428115"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:13.826 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.007
> * print 'statusurl', statusurl 0.000
02:30:13.834 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cefe9611-b5a3-43ef-75c6-c8f388428115/status
> Given url statusurl 0.000
> When method GET 0.485
02:30:13.834 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cefe9611-b5a3-43ef-75c6-c8f388428115/status
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:14.319 response time in milliseconds: 484.60
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:14 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8a3b2a05-e100-449f-b96b-a2f5e9d57b56/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.604
02:30:14.326 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cefe9611-b5a3-43ef-75c6-c8f388428115/status
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:30:14.924 response time in milliseconds: 597.50
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:14 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/8a3b2a05-e100-449f-b96b-a2f5e9d57b56/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:14.924 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/8a3b2a05-e100-449f-b96b-a2f5e9d57b56/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.541
02:30:14.925 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8a3b2a05-e100-449f-b96b-a2f5e9d57b56/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:15.466 response time in milliseconds: 540.56
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 647
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:15 GMT
4 < Etag: "41ce5f6e48700b307ec6d237fb8dba48-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:13 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0922FAA6F7C
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:15.467 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:15.468 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/8a3b2a05-e100-449f-b96b-a2f5e9d57b56/extract.zip
> * print "size", zipsize 0.000
02:30:15.468 [print] size 647
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[29] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
  "featuretypes": [
    "perceel"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:15.476 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
  "featuretypes": [
    "perceel"
  ]
}
> Given request requestparams 0.000
> When method post 0.490
02:30:15.477 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 267
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","featuretypes":["perceel"]}

02:30:15.966 response time in milliseconds: 489.31
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:15 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ab1759dc-e933-44bd-48d3-dfc3750db105/status"}},"downloadRequestId":"ab1759dc-e933-44bd-48d3-dfc3750db105"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:15.967 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:15.967 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ab1759dc-e933-44bd-48d3-dfc3750db105/status
> Given url statusurl 0.000
> When method GET 0.486
02:30:15.968 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ab1759dc-e933-44bd-48d3-dfc3750db105/status
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:16.454 response time in milliseconds: 485.67
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:16 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3334de3a-f2c5-4f11-a6b0-52c2eba24609/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.498
02:30:16.455 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ab1759dc-e933-44bd-48d3-dfc3750db105/status
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:30:16.945 response time in milliseconds: 489.78
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:16 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3334de3a-f2c5-4f11-a6b0-52c2eba24609/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.002
02:30:16.955 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/3334de3a-f2c5-4f11-a6b0-52c2eba24609/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.528
02:30:16.959 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3334de3a-f2c5-4f11-a6b0-52c2eba24609/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:17.485 response time in milliseconds: 526.27
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 12999
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:17 GMT
4 < Etag: "34af494e490096f7fb71953942230cca-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:16 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A092A7806073
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:17.488 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:17.488 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3334de3a-f2c5-4f11-a6b0-52c2eba24609/extract.zip
> * print "size", zipsize 0.000
02:30:17.489 [print] size 12999
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
2:39.038
* print "bepaal een delta ids " 0.010
02:29:20.243 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
 
02:29:20.253 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.001
And param count = 1000 0.001
And param after-delta-id = "b2219778-e94c-40b0-92bd-95e3491af2bb" 0.000
When method GET 0.702
02:29:20.258 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000&after-delta-id=b2219778-e94c-40b0-92bd-95e3491af2bb
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:20.960 response time in milliseconds: 697.20
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:20 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.002
* print "alldelta:", alldelta 0.020
02:29:20.982 [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 pararray = [] 0.003
* def featureslist = ["kadastralegrens"] 0.000
* def fun = 0.001
function(delta) {
req = { format: "gml", geofilter: 'POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))' };
req["deltaId"] = delta["id"];
req["featuretypes"] = featureslist;
pararray.add (req);
}
* eval karate.forEach(alldelta, fun) 0.052
* print "array:", pararray 0.052
02:29:21.093 [print] array: [
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
    "featuretypes": [
      "kadastralegrens"
    ]
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  }
]
* print "done" 0.005
02:29:21.099 [print] done
* def dodelta = call read('DeltaCustomargs.feature') pararray 1:19.231
[0] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.023
> * print requestparams 0.000
02:29:21.215 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.505
02:29:21.219 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"2b104759-f77d-496a-94e4-7064f199b446","featuretypes":["kadastralegrens"]}

02:29:21.721 response time in milliseconds: 501.31
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:21 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c9d2083b-9730-41bb-48b1-7a0926e203cb/status"}},"downloadRequestId":"c9d2083b-9730-41bb-48b1-7a0926e203cb"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:21.722 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.010
> * print 'statusurl', statusurl 0.007
02:29:21.740 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c9d2083b-9730-41bb-48b1-7a0926e203cb/status
> Given url statusurl 0.000
> When method GET 0.499
02:29:21.741 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c9d2083b-9730-41bb-48b1-7a0926e203cb/status
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.240 response time in milliseconds: 498.76
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:22 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2f99cbb2-fe64-4e26-8d81-11a1c2c58076/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.545
02:29:22.241 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c9d2083b-9730-41bb-48b1-7a0926e203cb/status
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:22.785 response time in milliseconds: 543.54
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:22 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2f99cbb2-fe64-4e26-8d81-11a1c2c58076/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.010
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.002
02:29:22.800 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/2f99cbb2-fe64-4e26-8d81-11a1c2c58076/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.522
02:29:22.804 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2f99cbb2-fe64-4e26-8d81-11a1c2c58076/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:23.325 response time in milliseconds: 520.90
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:23 GMT
4 < Etag: "1a71855b9fdaa719ce5ae9665f93df8d-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:22 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0860AE86E46
4 < X-Cnection: close
4 < 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.004
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:29:23.331 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:29:23.333 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2f99cbb2-fe64-4e26-8d81-11a1c2c58076/extract.zip
> * print "size", zipsize 0.001
02:29:23.335 [print] size 664
> * assert zipsize > 600 0.004
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.003
[1] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.012
> * print requestparams 0.000
02:29:23.360 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.322
02:29:23.363 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"c31553da-c1ff-4d9e-80d4-dd60544a1b2d","featuretypes":["kadastralegrens"]}

02:29:25.683 response time in milliseconds: 2319.91
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:25 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/815fc875-b32b-465d-7e9b-b284e51d869d/status"}},"downloadRequestId":"815fc875-b32b-465d-7e9b-b284e51d869d"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:25.686 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:25.687 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/815fc875-b32b-465d-7e9b-b284e51d869d/status
> Given url statusurl 0.000
> When method GET 0.493
02:29:25.689 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/815fc875-b32b-465d-7e9b-b284e51d869d/status
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:26.180 response time in milliseconds: 491.09
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:26 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/a37b2113-e7e2-44b4-a935-d670a86a09f4/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.502
02:29:26.181 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/815fc875-b32b-465d-7e9b-b284e51d869d/status
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:26.683 response time in milliseconds: 500.91
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:26 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/a37b2113-e7e2-44b4-a935-d670a86a09f4/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.001
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:26.685 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/a37b2113-e7e2-44b4-a935-d670a86a09f4/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.498
02:29:26.687 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/a37b2113-e7e2-44b4-a935-d670a86a09f4/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:27.184 response time in milliseconds: 496.62
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:27 GMT
4 < Etag: "241f31c3a6d8c63d8aba753656576c99-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:25 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A086F2459500
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:27.186 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:27.187 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/a37b2113-e7e2-44b4-a935-d670a86a09f4/extract.zip
> * print "size", zipsize 0.000
02:29:27.187 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[2] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:27.192 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.527
02:29:27.203 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"801a3c3e-a010-4fff-9c4a-812d7c813674","featuretypes":["kadastralegrens"]}

02:29:27.719 response time in milliseconds: 515.96
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:27 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/9c4a2d3c-5565-415b-77b2-9c93453e0fc3/status"}},"downloadRequestId":"9c4a2d3c-5565-415b-77b2-9c93453e0fc3"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.003
> * print "delta status links:" links 0.001
02:29:27.726 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:27.726 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/9c4a2d3c-5565-415b-77b2-9c93453e0fc3/status
> Given url statusurl 0.000
> When method GET 0.500
02:29:27.728 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/9c4a2d3c-5565-415b-77b2-9c93453e0fc3/status
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:28.227 response time in milliseconds: 498.51
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:28 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3d9489ac-1438-433f-853f-1bba67060b1b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.504
02:29:28.228 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/9c4a2d3c-5565-415b-77b2-9c93453e0fc3/status
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:28.731 response time in milliseconds: 502.81
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:28 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3d9489ac-1438-433f-853f-1bba67060b1b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:28.733 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/3d9489ac-1438-433f-853f-1bba67060b1b/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.519
02:29:28.734 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3d9489ac-1438-433f-853f-1bba67060b1b/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:29.252 response time in milliseconds: 518.14
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:29 GMT
4 < Etag: "de8c2c1bce69babdf4779d4c9de6f436-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:27 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0876D10883C
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:29.253 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:29.253 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3d9489ac-1438-433f-853f-1bba67060b1b/extract.zip
> * print "size", zipsize 0.000
02:29:29.254 [print] size 664
> * assert zipsize > 600 0.002
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[3] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.009
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:29.270 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.523
02:29:29.277 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9d181f42-7ef5-4c43-b7d7-3cf4195e1473","featuretypes":["kadastralegrens"]}

02:29:29.797 response time in milliseconds: 519.05
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:29 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/a8166733-5b27-404e-4152-b91eff46bc45/status"}},"downloadRequestId":"a8166733-5b27-404e-4152-b91eff46bc45"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.001
> * print "delta status links:" links 0.000
02:29:29.800 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:29.801 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/a8166733-5b27-404e-4152-b91eff46bc45/status
> Given url statusurl 0.000
> When method GET 0.515
02:29:29.810 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/a8166733-5b27-404e-4152-b91eff46bc45/status
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:30.316 response time in milliseconds: 506.46
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:30 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/47e63b55-d285-46c6-80b6-f760fd409601/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:29:30.317 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/a8166733-5b27-404e-4152-b91eff46bc45/status
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:30.807 response time in milliseconds: 486.72
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:30 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/47e63b55-d285-46c6-80b6-f760fd409601/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:30.809 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/47e63b55-d285-46c6-80b6-f760fd409601/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.517
02:29:30.811 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/47e63b55-d285-46c6-80b6-f760fd409601/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:31.323 response time in milliseconds: 512.11
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:31 GMT
4 < Etag: "2045c248c323c466134a942377f7bc41-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:29 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A087E7D969EE
4 < X-Cnection: close
4 < 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.026
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.002
02:29:31.357 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:31.358 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/47e63b55-d285-46c6-80b6-f760fd409601/extract.zip
> * print "size", zipsize 0.000
02:29:31.358 [print] size 664
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[4] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:31.363 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.483
02:29:31.365 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9c93aa0c-86a4-49fa-826e-549c719cc0aa","featuretypes":["kadastralegrens"]}

02:29:31.847 response time in milliseconds: 482.14
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:31 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/162886b2-05a2-47dc-6da7-a6fb1280fac2/status"}},"downloadRequestId":"162886b2-05a2-47dc-6da7-a6fb1280fac2"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:31.849 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:31.849 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/162886b2-05a2-47dc-6da7-a6fb1280fac2/status
> Given url statusurl 0.000
> When method GET 0.510
02:29:31.857 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/162886b2-05a2-47dc-6da7-a6fb1280fac2/status
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.360 response time in milliseconds: 502.41
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:32 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/37839258-c27b-4617-ad96-12e39e1e6220/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.492
02:29:32.363 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/162886b2-05a2-47dc-6da7-a6fb1280fac2/status
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:32.852 response time in milliseconds: 488.78
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:32 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/37839258-c27b-4617-ad96-12e39e1e6220/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:32.854 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/37839258-c27b-4617-ad96-12e39e1e6220/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.543
02:29:32.855 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/37839258-c27b-4617-ad96-12e39e1e6220/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:33.397 response time in milliseconds: 541.82
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 662
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:33 GMT
4 < Etag: "5da444acddbe8a50fa50808bbbdee5ad-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:31 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A088632EFA0D
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:33.398 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:33.398 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/37839258-c27b-4617-ad96-12e39e1e6220/extract.zip
> * print "size", zipsize 0.000
02:29:33.398 [print] size 662
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[5] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:33.409 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.483
02:29:33.410 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"1577858c-8c9f-481a-8e45-084bd85e5f4e","featuretypes":["kadastralegrens"]}

02:29:33.892 response time in milliseconds: 482.21
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:33 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/80284429-335f-47ee-7869-d9f571394fdd/status"}},"downloadRequestId":"80284429-335f-47ee-7869-d9f571394fdd"}
> Then status 202 0.001
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:33.899 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:33.900 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/80284429-335f-47ee-7869-d9f571394fdd/status
> Given url statusurl 0.000
> When method GET 0.487
02:29:33.901 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/80284429-335f-47ee-7869-d9f571394fdd/status
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.387 response time in milliseconds: 485.41
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:34 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/dc6395e7-2ad1-4a2b-97ed-d16c2dfea5ce/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.501
02:29:34.389 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/80284429-335f-47ee-7869-d9f571394fdd/status
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:34.889 response time in milliseconds: 499.76
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:34 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/dc6395e7-2ad1-4a2b-97ed-d16c2dfea5ce/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:34.890 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/dc6395e7-2ad1-4a2b-97ed-d16c2dfea5ce/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.543
02:29:34.892 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/dc6395e7-2ad1-4a2b-97ed-d16c2dfea5ce/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:35.429 response time in milliseconds: 529.75
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:35 GMT
4 < Etag: "b79f694a1a917571afcfc5c853d1c718-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:33 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A088DB938F9A
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:35.435 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:29:35.438 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/dc6395e7-2ad1-4a2b-97ed-d16c2dfea5ce/extract.zip
> * print "size", zipsize 0.000
02:29:35.438 [print] size 663
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.001
[6] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.015
02:29:35.466 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.120
02:29:35.475 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f784d3c1-2e95-4c30-9268-11d0d61ac131","featuretypes":["kadastralegrens"]}

02:29:37.586 response time in milliseconds: 2111.01
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:37 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/223e86b6-d301-4b1e-5ae9-773db3f1a280/status"}},"downloadRequestId":"223e86b6-d301-4b1e-5ae9-773db3f1a280"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.013
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:37.601 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:37.602 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/223e86b6-d301-4b1e-5ae9-773db3f1a280/status
> Given url statusurl 0.000
> When method GET 0.482
02:29:37.603 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/223e86b6-d301-4b1e-5ae9-773db3f1a280/status
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:38.084 response time in milliseconds: 481.21
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:38 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/cea63cbe-bf06-49fd-a4d4-b251745f9759/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.001
> Given url statusurl 0.000
> When method GET 0.485
02:29:38.087 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/223e86b6-d301-4b1e-5ae9-773db3f1a280/status
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:38.567 response time in milliseconds: 479.83
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:38 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/cea63cbe-bf06-49fd-a4d4-b251745f9759/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:38.572 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/cea63cbe-bf06-49fd-a4d4-b251745f9759/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.498
02:29:38.573 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/cea63cbe-bf06-49fd-a4d4-b251745f9759/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:39.070 response time in milliseconds: 497.00
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:39 GMT
4 < Etag: "8d907ee83b504a5bf1de8031bfa4291e-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:37 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A089B6BD4976
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:39.075 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:39.076 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/cea63cbe-bf06-49fd-a4d4-b251745f9759/extract.zip
> * print "size", zipsize 0.000
02:29:39.076 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[7] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:39.080 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.479
02:29:39.082 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"e6640b5a-f20a-450e-9250-986540178c75","featuretypes":["kadastralegrens"]}

02:29:39.559 response time in milliseconds: 476.86
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:39 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/cbf696b7-2425-42b4-54ac-585790c12b74/status"}},"downloadRequestId":"cbf696b7-2425-42b4-54ac-585790c12b74"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:39.559 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:39.560 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cbf696b7-2425-42b4-54ac-585790c12b74/status
> Given url statusurl 0.000
> When method GET 0.498
02:29:39.560 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cbf696b7-2425-42b4-54ac-585790c12b74/status
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.058 response time in milliseconds: 497.76
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:40 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f939cb38-3094-405f-b408-e97564c108d6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.508
02:29:40.059 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cbf696b7-2425-42b4-54ac-585790c12b74/status
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:40.566 response time in milliseconds: 507.22
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:40 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f939cb38-3094-405f-b408-e97564c108d6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:40.567 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/f939cb38-3094-405f-b408-e97564c108d6/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.511
02:29:40.575 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f939cb38-3094-405f-b408-e97564c108d6/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:41.078 response time in milliseconds: 502.72
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:41 GMT
4 < Etag: "2e0d7b02c29849171c6040d2dc5f95b2-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:39 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08A2E2F23B1
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:41.084 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:41.085 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f939cb38-3094-405f-b408-e97564c108d6/extract.zip
> * print "size", zipsize 0.000
02:29:41.085 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[8] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:41.088 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.487
02:29:41.089 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"1c15ea7f-bf22-43a8-b5e9-b66a1871f27d","featuretypes":["kadastralegrens"]}

02:29:41.575 response time in milliseconds: 486.08
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:41 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/62d03720-6819-4e0f-62a3-4af22170770b/status"}},"downloadRequestId":"62d03720-6819-4e0f-62a3-4af22170770b"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.005
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:41.581 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:41.582 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/62d03720-6819-4e0f-62a3-4af22170770b/status
> Given url statusurl 0.000
> When method GET 0.504
02:29:41.583 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/62d03720-6819-4e0f-62a3-4af22170770b/status
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:42.086 response time in milliseconds: 502.82
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:42 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d88ab15f-1fc6-47d8-85ad-15bc566b280d/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.003
> When method GET 0.567
02:29:42.097 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/62d03720-6819-4e0f-62a3-4af22170770b/status
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:42.664 response time in milliseconds: 566.07
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:42 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d88ab15f-1fc6-47d8-85ad-15bc566b280d/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:42.665 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/d88ab15f-1fc6-47d8-85ad-15bc566b280d/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.512
02:29:42.665 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d88ab15f-1fc6-47d8-85ad-15bc566b280d/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:43.177 response time in milliseconds: 511.15
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 665
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:43 GMT
4 < Etag: "36e6a8ca974205e1797ee8fd9b7b7fac-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:41 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08AAA91EB63
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:43.178 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:43.179 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d88ab15f-1fc6-47d8-85ad-15bc566b280d/extract.zip
> * print "size", zipsize 0.000
02:29:43.179 [print] size 665
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[9] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:43.186 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.666
02:29:43.187 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"25e98e4e-ef9b-42d1-a419-03fef9478802","featuretypes":["kadastralegrens"]}

02:29:44.852 response time in milliseconds: 1665.45
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:44 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/fc1bdb39-fcb9-442a-5283-3f51ed684868/status"}},"downloadRequestId":"fc1bdb39-fcb9-442a-5283-3f51ed684868"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:44.853 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:44.854 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/fc1bdb39-fcb9-442a-5283-3f51ed684868/status
> Given url statusurl 0.000
> When method GET 0.696
02:29:44.854 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/fc1bdb39-fcb9-442a-5283-3f51ed684868/status
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.541 response time in milliseconds: 686.96
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:45 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/013ae09a-c5ed-4085-b02a-878f6d1cc3e2/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.488
02:29:45.551 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/fc1bdb39-fcb9-442a-5283-3f51ed684868/status
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:46.039 response time in milliseconds: 486.92
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:45 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/013ae09a-c5ed-4085-b02a-878f6d1cc3e2/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:46.040 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/013ae09a-c5ed-4085-b02a-878f6d1cc3e2/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.511
02:29:46.041 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/013ae09a-c5ed-4085-b02a-878f6d1cc3e2/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:46.551 response time in milliseconds: 510.45
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 662
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:46 GMT
4 < Etag: "570d9008f89fa2dabf0f9fb016f9fd2f-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:45 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08B73E0D900
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:46.552 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:46.552 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/013ae09a-c5ed-4085-b02a-878f6d1cc3e2/extract.zip
> * print "size", zipsize 0.000
02:29:46.553 [print] size 662
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[10] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:46.556 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.491
02:29:46.559 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9297d9e4-cc92-415f-b258-642b4ecdb967","featuretypes":["kadastralegrens"]}

02:29:47.048 response time in milliseconds: 488.92
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:46 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/1ac4573b-dde8-42d5-6ada-69f7eb0b8ccc/status"}},"downloadRequestId":"1ac4573b-dde8-42d5-6ada-69f7eb0b8ccc"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:47.049 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:47.050 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1ac4573b-dde8-42d5-6ada-69f7eb0b8ccc/status
> Given url statusurl 0.000
> When method GET 0.512
02:29:47.051 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1ac4573b-dde8-42d5-6ada-69f7eb0b8ccc/status
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:47.562 response time in milliseconds: 510.87
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:47 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/822a526b-e46c-46e0-ade7-2146e425c33e/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.005
> When method GET 0.487
02:29:47.568 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/1ac4573b-dde8-42d5-6ada-69f7eb0b8ccc/status
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:48.055 response time in milliseconds: 486.59
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:48 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/822a526b-e46c-46e0-ade7-2146e425c33e/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:48.055 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/822a526b-e46c-46e0-ade7-2146e425c33e/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.493
02:29:48.056 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/822a526b-e46c-46e0-ade7-2146e425c33e/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:48.549 response time in milliseconds: 492.47
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:48 GMT
4 < Etag: "5f35b81d095b74d568b4dc38af5f3bf0-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:47 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08BEBE6EEA0
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:48.552 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:48.552 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/822a526b-e46c-46e0-ade7-2146e425c33e/extract.zip
> * print "size", zipsize 0.008
02:29:48.561 [print] size 664
> * assert zipsize > 600 0.000
> * def mydownloads = Java.type('download.DataStorage') 0.001
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[11] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.004
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:48.573 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.485
02:29:48.575 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","featuretypes":["kadastralegrens"]}

02:29:49.058 response time in milliseconds: 483.09
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:49 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/87d212bf-628d-4302-72f8-9470300ccb4f/status"}},"downloadRequestId":"87d212bf-628d-4302-72f8-9470300ccb4f"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:49.065 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:49.066 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/87d212bf-628d-4302-72f8-9470300ccb4f/status
> Given url statusurl 0.000
> When method GET 0.519
02:29:49.066 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/87d212bf-628d-4302-72f8-9470300ccb4f/status
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.585 response time in milliseconds: 518.03
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 159
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:49 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/87d212bf-628d-4302-72f8-9470300ccb4f/status"}},"progress":0,"status":"PENDING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.499
02:29:49.591 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/87d212bf-628d-4302-72f8-9470300ccb4f/status
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:50.084 response time in milliseconds: 492.55
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:50 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/ff4ae77f-ce21-4057-ad29-000560cc7e98/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:50.085 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/ff4ae77f-ce21-4057-ad29-000560cc7e98/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.560
02:29:50.094 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ff4ae77f-ce21-4057-ad29-000560cc7e98/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:50.646 response time in milliseconds: 552.11
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 15643
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:50 GMT
4 < Etag: "92d2b0e275f02587ba642b2c389ea419-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:49 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08C65653ED0
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:50.652 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:50.652 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ff4ae77f-ce21-4057-ad29-000560cc7e98/extract.zip
> * print "size", zipsize 0.000
02:29:50.652 [print] size 15643
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[12] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:50.659 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.993
02:29:50.665 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","featuretypes":["kadastralegrens"]}

02:29:52.651 response time in milliseconds: 1986.21
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:52 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/0404a8ea-d02c-43bf-5e30-2fea33c69f40/status"}},"downloadRequestId":"0404a8ea-d02c-43bf-5e30-2fea33c69f40"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.002
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:52.656 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:52.657 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0404a8ea-d02c-43bf-5e30-2fea33c69f40/status
> Given url statusurl 0.000
> When method GET 0.491
02:29:52.657 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0404a8ea-d02c-43bf-5e30-2fea33c69f40/status
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:53.148 response time in milliseconds: 490.73
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:53 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3f42759d-5ac8-4d68-b348-7ad1e856be23/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.482
02:29:53.150 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0404a8ea-d02c-43bf-5e30-2fea33c69f40/status
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:53.630 response time in milliseconds: 480.67
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:53 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/3f42759d-5ac8-4d68-b348-7ad1e856be23/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:53.631 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/3f42759d-5ac8-4d68-b348-7ad1e856be23/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.500
02:29:53.632 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3f42759d-5ac8-4d68-b348-7ad1e856be23/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:54.127 response time in milliseconds: 494.49
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:54 GMT
4 < Etag: "c5f18facfb4a72c47cf037e97d9d09f5-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:52 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08D387470FA
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:54.133 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:54.133 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/3f42759d-5ac8-4d68-b348-7ad1e856be23/extract.zip
> * print "size", zipsize 0.000
02:29:54.134 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[13] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:54.137 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.488
02:29:54.138 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ee7de3a0-af84-4382-88f6-015c69fbcf22","featuretypes":["kadastralegrens"]}

02:29:54.626 response time in milliseconds: 487.59
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:54 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/50ce9e74-cbc1-41f5-4afe-f11e001e2e43/status"}},"downloadRequestId":"50ce9e74-cbc1-41f5-4afe-f11e001e2e43"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:54.629 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:54.630 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/50ce9e74-cbc1-41f5-4afe-f11e001e2e43/status
> Given url statusurl 0.000
> When method GET 0.495
02:29:54.642 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/50ce9e74-cbc1-41f5-4afe-f11e001e2e43/status
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:55.125 response time in milliseconds: 482.96
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:55 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/68e0860a-b503-457b-8bb4-7efada82f7b4/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.595
02:29:55.126 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/50ce9e74-cbc1-41f5-4afe-f11e001e2e43/status
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:55.720 response time in milliseconds: 593.19
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:55 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/68e0860a-b503-457b-8bb4-7efada82f7b4/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:55.721 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/68e0860a-b503-457b-8bb4-7efada82f7b4/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.492
02:29:55.723 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/68e0860a-b503-457b-8bb4-7efada82f7b4/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:56.214 response time in milliseconds: 490.69
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:56 GMT
4 < Etag: "8365a857acc7dfcc1a87b36358760104-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:54 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08DB4C2DEC6
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:56.215 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:56.215 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/68e0860a-b503-457b-8bb4-7efada82f7b4/extract.zip
> * print "size", zipsize 0.000
02:29:56.215 [print] size 664
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[14] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:56.228 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.394
02:29:56.229 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"7d86880e-ec38-45a7-8d26-8b50b25cb564","featuretypes":["kadastralegrens"]}

02:29:58.623 response time in milliseconds: 2393.34
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:58 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/565988ca-9ef3-47ac-48e5-1c605311d98d/status"}},"downloadRequestId":"565988ca-9ef3-47ac-48e5-1c605311d98d"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:58.624 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:58.624 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/565988ca-9ef3-47ac-48e5-1c605311d98d/status
> Given url statusurl 0.000
> When method GET 0.496
02:29:58.628 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/565988ca-9ef3-47ac-48e5-1c605311d98d/status
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.119 response time in milliseconds: 491.02
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:59 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bb558e10-9d05-43dd-b6f4-8029f47010ba/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:29:59.121 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/565988ca-9ef3-47ac-48e5-1c605311d98d/status
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:59.612 response time in milliseconds: 490.17
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:59 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bb558e10-9d05-43dd-b6f4-8029f47010ba/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:59.613 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/bb558e10-9d05-43dd-b6f4-8029f47010ba/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.494
02:29:59.615 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bb558e10-9d05-43dd-b6f4-8029f47010ba/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:00.109 response time in milliseconds: 493.29
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:00 GMT
4 < Etag: "3788ef3831d8abebc0b00899eb124fde-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:58 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08E9CD6CD04
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:00.109 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:00.110 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bb558e10-9d05-43dd-b6f4-8029f47010ba/extract.zip
> * print "size", zipsize 0.000
02:30:00.110 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[15] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:00.114 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.496
02:30:00.117 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","featuretypes":["kadastralegrens"]}

02:30:00.610 response time in milliseconds: 492.93
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:00 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c2679faa-5e46-4167-4ae3-984f443e75f0/status"}},"downloadRequestId":"c2679faa-5e46-4167-4ae3-984f443e75f0"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.001
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:00.614 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:00.616 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c2679faa-5e46-4167-4ae3-984f443e75f0/status
> Given url statusurl 0.000
> When method GET 0.494
02:30:00.617 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c2679faa-5e46-4167-4ae3-984f443e75f0/status
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.110 response time in milliseconds: 493.31
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:01 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/7a0a3fa9-ec38-4048-8156-14f398f96467/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.499
02:30:01.115 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c2679faa-5e46-4167-4ae3-984f443e75f0/status
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:30:01.610 response time in milliseconds: 494.90
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:01 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/7a0a3fa9-ec38-4048-8156-14f398f96467/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:01.610 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/7a0a3fa9-ec38-4048-8156-14f398f96467/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.518
02:30:01.611 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/7a0a3fa9-ec38-4048-8156-14f398f96467/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:02.129 response time in milliseconds: 518.04
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:02 GMT
4 < Etag: "3d247fffd310643a446c86933b15395a-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:00 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08F142A4023
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.008
> * print "###" 0.000
02:30:02.140 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:02.141 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/7a0a3fa9-ec38-4048-8156-14f398f96467/extract.zip
> * print "size", zipsize 0.000
02:30:02.141 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[16] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.004
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:02.152 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.488
02:30:02.153 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"a7ced3a4-8dd3-44df-8774-f08d01839035","featuretypes":["kadastralegrens"]}

02:30:02.641 response time in milliseconds: 487.93
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:02 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/7abc86cb-0628-40af-4a0a-d0c1fcc088b7/status"}},"downloadRequestId":"7abc86cb-0628-40af-4a0a-d0c1fcc088b7"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:02.642 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:02.642 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7abc86cb-0628-40af-4a0a-d0c1fcc088b7/status
> Given url statusurl 0.000
> When method GET 0.486
02:30:02.643 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7abc86cb-0628-40af-4a0a-d0c1fcc088b7/status
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.128 response time in milliseconds: 485.25
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:03 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d94cd356-f07e-459c-9bb7-113e7dc35bd6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.502
02:30:03.129 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7abc86cb-0628-40af-4a0a-d0c1fcc088b7/status
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:30:03.630 response time in milliseconds: 501.23
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:03 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d94cd356-f07e-459c-9bb7-113e7dc35bd6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.001
> * print "downloadlink:", downloadlink 0.000
02:30:03.633 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/d94cd356-f07e-459c-9bb7-113e7dc35bd6/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.500
02:30:03.636 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d94cd356-f07e-459c-9bb7-113e7dc35bd6/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:04.134 response time in milliseconds: 498.04
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:04 GMT
4 < Etag: "41664994d5ba87e83adc5346b1cf9bda-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:02 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08F8CAC0524
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:04.135 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:04.136 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d94cd356-f07e-459c-9bb7-113e7dc35bd6/extract.zip
> * print "size", zipsize 0.000
02:30:04.136 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[17] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:04.143 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.491
02:30:04.144 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"3021d17f-c396-4704-8770-d0231e9d5d9b","featuretypes":["kadastralegrens"]}

02:30:04.635 response time in milliseconds: 490.70
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:04 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/4f4a306f-9310-4ed0-4d87-0b7d7e61d849/status"}},"downloadRequestId":"4f4a306f-9310-4ed0-4d87-0b7d7e61d849"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:04.635 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:04.636 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/4f4a306f-9310-4ed0-4d87-0b7d7e61d849/status
> Given url statusurl 0.000
> When method GET 0.497
02:30:04.636 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/4f4a306f-9310-4ed0-4d87-0b7d7e61d849/status
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:05.133 response time in milliseconds: 495.98
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:05 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/c7c8ba26-b085-4b65-b15b-5990d399c824/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.490
02:30:05.134 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/4f4a306f-9310-4ed0-4d87-0b7d7e61d849/status
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:30:05.623 response time in milliseconds: 489.16
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:05 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/c7c8ba26-b085-4b65-b15b-5990d399c824/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:05.626 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/c7c8ba26-b085-4b65-b15b-5990d399c824/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.524
02:30:05.627 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/c7c8ba26-b085-4b65-b15b-5990d399c824/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:06.151 response time in milliseconds: 523.97
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:06 GMT
4 < Etag: "4c64e29359388d803ceaab72be013f71-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:04 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09003875F62
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:06.153 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:06.153 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/c7c8ba26-b085-4b65-b15b-5990d399c824/extract.zip
> * print "size", zipsize 0.000
02:30:06.153 [print] size 664
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[18] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:06.164 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.535
02:30:06.165 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"199c4014-5688-4581-9513-9d8bc2f0c040","featuretypes":["kadastralegrens"]}

02:30:06.699 response time in milliseconds: 534.48
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/d313b344-8f15-49af-746e-827b8b1102c0/status"}},"downloadRequestId":"d313b344-8f15-49af-746e-827b8b1102c0"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:06.700 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:06.700 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d313b344-8f15-49af-746e-827b8b1102c0/status
> Given url statusurl 0.000
> When method GET 0.500
02:30:06.703 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d313b344-8f15-49af-746e-827b8b1102c0/status
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:07.201 response time in milliseconds: 497.78
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:07 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/880dd6b3-37fe-44dc-ade2-644b12266da7/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.482
02:30:07.202 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d313b344-8f15-49af-746e-827b8b1102c0/status
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:30:07.684 response time in milliseconds: 481.65
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:07 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/880dd6b3-37fe-44dc-ade2-644b12266da7/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:07.685 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/880dd6b3-37fe-44dc-ade2-644b12266da7/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.518
02:30:07.685 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/880dd6b3-37fe-44dc-ade2-644b12266da7/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:08.203 response time in milliseconds: 517.25
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:08 GMT
4 < Etag: "698bf174c9ec7080d827986c49866b0c-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:06 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0907E4280B0
4 < X-Cnection: close
4 < 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.003
> And def zipsize = responseHeaders['Content-Length'][0] 0.004
> * print "###" 0.000
02:30:08.212 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:08.212 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/880dd6b3-37fe-44dc-ade2-644b12266da7/extract.zip
> * print "size", zipsize 0.004
02:30:08.216 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[19] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:08.220 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.528
02:30:08.221 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"74c6011e-9871-4f8a-b911-0142eea98ee7","featuretypes":["kadastralegrens"]}

02:30:08.749 response time in milliseconds: 527.19
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:08 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/50b11d59-5c5c-4604-59f8-57f2d5a033d9/status"}},"downloadRequestId":"50b11d59-5c5c-4604-59f8-57f2d5a033d9"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.002
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.002
02:30:08.754 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:08.755 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/50b11d59-5c5c-4604-59f8-57f2d5a033d9/status
> Given url statusurl 0.000
> When method GET 0.482
02:30:08.757 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/50b11d59-5c5c-4604-59f8-57f2d5a033d9/status
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:09.238 response time in milliseconds: 480.43
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:09 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/580346ae-0f19-4c0d-b312-60186f2b0acc/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.812
02:30:09.239 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/50b11d59-5c5c-4604-59f8-57f2d5a033d9/status
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:30:10.046 response time in milliseconds: 807.10
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:09 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/580346ae-0f19-4c0d-b312-60186f2b0acc/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:30:10.053 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/580346ae-0f19-4c0d-b312-60186f2b0acc/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.655
02:30:10.056 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/580346ae-0f19-4c0d-b312-60186f2b0acc/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:10.710 response time in milliseconds: 653.44
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 2671
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:10 GMT
4 < Etag: "7575f8df8fd238192e0e02928d8975c7-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:08 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0910F512989
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:10.711 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:10.711 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/580346ae-0f19-4c0d-b312-60186f2b0acc/extract.zip
> * print "size", zipsize 0.000
02:30:10.711 [print] size 2671
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[20] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:10.717 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.531
02:30:10.718 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"95843b80-f891-4f0d-ac68-6f104d38a0c6","featuretypes":["kadastralegrens"]}

02:30:11.248 response time in milliseconds: 529.70
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:11 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/3513649a-26be-4e13-5a11-8b5624af0dd2/status"}},"downloadRequestId":"3513649a-26be-4e13-5a11-8b5624af0dd2"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:11.249 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:11.250 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3513649a-26be-4e13-5a11-8b5624af0dd2/status
> Given url statusurl 0.000
> When method GET 0.488
02:30:11.250 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3513649a-26be-4e13-5a11-8b5624af0dd2/status
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:11.738 response time in milliseconds: 487.23
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:11 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/965fbd6c-0030-4b1c-851e-a51b58a8936f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.482
02:30:11.739 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3513649a-26be-4e13-5a11-8b5624af0dd2/status
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:30:12.220 response time in milliseconds: 481.08
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:12 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/965fbd6c-0030-4b1c-851e-a51b58a8936f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:12.221 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/965fbd6c-0030-4b1c-851e-a51b58a8936f/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.494
02:30:12.221 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/965fbd6c-0030-4b1c-851e-a51b58a8936f/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:12.716 response time in milliseconds: 494.06
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:12 GMT
4 < Etag: "5c391095119ce3ea4eece2175d1167fa-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:11 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0918C5DE151
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.006
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:12.723 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:12.723 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/965fbd6c-0030-4b1c-851e-a51b58a8936f/extract.zip
> * print "size", zipsize 0.000
02:30:12.723 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[21] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:12.730 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.503
02:30:12.731 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"304c598c-211c-4d4e-86cf-c87c8be1fd60","featuretypes":["kadastralegrens"]}

02:30:15.234 response time in milliseconds: 2502.78
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:15 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/f2a50cd0-205c-4445-7494-edd3c3b83ead/status"}},"downloadRequestId":"f2a50cd0-205c-4445-7494-edd3c3b83ead"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:15.235 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:15.235 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f2a50cd0-205c-4445-7494-edd3c3b83ead/status
> Given url statusurl 0.000
> When method GET 0.488
02:30:15.235 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f2a50cd0-205c-4445-7494-edd3c3b83ead/status
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:15.723 response time in milliseconds: 487.21
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:15 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/685f4950-e668-4ce4-b5bb-a8e6ef81207f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.521
02:30:15.729 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f2a50cd0-205c-4445-7494-edd3c3b83ead/status
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:30:16.250 response time in milliseconds: 520.28
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:16 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/685f4950-e668-4ce4-b5bb-a8e6ef81207f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.011
> * print "downloadlink:", downloadlink 0.003
02:30:16.265 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/685f4950-e668-4ce4-b5bb-a8e6ef81207f/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.529
02:30:16.271 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/685f4950-e668-4ce4-b5bb-a8e6ef81207f/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:16.797 response time in milliseconds: 526.19
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:16 GMT
4 < Etag: "24a09e85a9be3cc8ce154a7d5f1e6bdf-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:15 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0927E59ACCC
4 < X-Cnection: close
4 < 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.008
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:16.810 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.003
02:30:16.813 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/685f4950-e668-4ce4-b5bb-a8e6ef81207f/extract.zip
> * print "size", zipsize 0.002
02:30:16.815 [print] size 664
> * assert zipsize > 600 0.008
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.004
[22] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.001
> * print requestparams 0.000
02:30:16.841 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.571
02:30:16.847 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"74059578-fae6-4945-9c61-b14d8315506f","featuretypes":["kadastralegrens"]}

02:30:18.413 response time in milliseconds: 1565.50
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:18 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/341b6867-6841-4afc-4c8d-fd304f129301/status"}},"downloadRequestId":"341b6867-6841-4afc-4c8d-fd304f129301"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.003
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:18.418 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.003
02:30:18.424 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/341b6867-6841-4afc-4c8d-fd304f129301/status
> Given url statusurl 0.000
> When method GET 0.489
02:30:18.425 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/341b6867-6841-4afc-4c8d-fd304f129301/status
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:18.913 response time in milliseconds: 487.57
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:18 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2ba08adf-2c3e-412d-b608-b8405981c0ab/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.492
02:30:18.914 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/341b6867-6841-4afc-4c8d-fd304f129301/status
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:30:19.405 response time in milliseconds: 490.57
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:19 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2ba08adf-2c3e-412d-b608-b8405981c0ab/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:19.407 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/2ba08adf-2c3e-412d-b608-b8405981c0ab/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.493
02:30:19.408 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2ba08adf-2c3e-412d-b608-b8405981c0ab/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:19.900 response time in milliseconds: 491.86
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 4986
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:19 GMT
4 < Etag: "59a275b01b5185daddf82bdccc7ee515-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:18 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09338BABE02
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.001
> * print "###" 0.004
02:30:19.909 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.001
02:30:19.911 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2ba08adf-2c3e-412d-b608-b8405981c0ab/extract.zip
> * print "size", zipsize 0.011
02:30:19.922 [print] size 4986
> * assert zipsize > 600 0.000
> * def mydownloads = Java.type('download.DataStorage') 0.004
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.002
[23] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:19.936 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.491
02:30:19.938 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"7846306d-9db1-47be-bb67-960c8db4901b","featuretypes":["kadastralegrens"]}

02:30:20.423 response time in milliseconds: 484.64
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:20 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/2ceabdb0-954e-42fd-5051-f4ff1db5c217/status"}},"downloadRequestId":"2ceabdb0-954e-42fd-5051-f4ff1db5c217"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:20.428 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:20.428 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2ceabdb0-954e-42fd-5051-f4ff1db5c217/status
> Given url statusurl 0.000
> When method GET 0.492
02:30:20.433 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2ceabdb0-954e-42fd-5051-f4ff1db5c217/status
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:20.921 response time in milliseconds: 487.56
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:20 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/64de35b6-c38c-40a7-b10f-85537e2e4bc6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.512
02:30:20.926 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2ceabdb0-954e-42fd-5051-f4ff1db5c217/status
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:30:21.429 response time in milliseconds: 502.79
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:21 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/64de35b6-c38c-40a7-b10f-85537e2e4bc6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:21.435 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/64de35b6-c38c-40a7-b10f-85537e2e4bc6/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.501
02:30:21.435 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/64de35b6-c38c-40a7-b10f-85537e2e4bc6/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:21.936 response time in milliseconds: 500.39
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 2794
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:21 GMT
4 < Etag: "4ed902b651a034d4815f3a562fd4a7e6-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:20 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A093B1F47ABA
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:21.941 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:21.942 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/64de35b6-c38c-40a7-b10f-85537e2e4bc6/extract.zip
> * print "size", zipsize 0.000
02:30:21.942 [print] size 2794
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[24] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:21.947 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.495
02:30:21.947 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ecc65af0-5df2-4c51-997e-424a8ec168f9","featuretypes":["kadastralegrens"]}

02:30:22.439 response time in milliseconds: 491.16
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:22 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/6bec33ac-2af1-4dc0-43f7-a64ad0c14d21/status"}},"downloadRequestId":"6bec33ac-2af1-4dc0-43f7-a64ad0c14d21"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.001
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:22.444 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.007
02:30:22.454 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/6bec33ac-2af1-4dc0-43f7-a64ad0c14d21/status
> Given url statusurl 0.000
> When method GET 0.497
02:30:22.454 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/6bec33ac-2af1-4dc0-43f7-a64ad0c14d21/status
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:22.951 response time in milliseconds: 496.70
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:22 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/25d7f6f7-361d-4228-8972-65aecdfe0355/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.495
02:30:22.952 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/6bec33ac-2af1-4dc0-43f7-a64ad0c14d21/status
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:30:23.447 response time in milliseconds: 494.39
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:23 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/25d7f6f7-361d-4228-8972-65aecdfe0355/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:23.449 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/25d7f6f7-361d-4228-8972-65aecdfe0355/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.507
02:30:23.451 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/25d7f6f7-361d-4228-8972-65aecdfe0355/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:23.957 response time in milliseconds: 505.71
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:23 GMT
4 < Etag: "622e5e122854b684cab3907eb046cc56-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:22 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0942A7FB020
4 < X-Cnection: close
4 < 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.001
> And def zipsize = responseHeaders['Content-Length'][0] 0.002
> * print "###" 0.001
02:30:23.964 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:30:23.967 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/25d7f6f7-361d-4228-8972-65aecdfe0355/extract.zip
> * print "size", zipsize 0.002
02:30:23.969 [print] size 663
> * assert zipsize > 600 0.004
> * def mydownloads = Java.type('download.DataStorage') 0.001
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.001
> * def db = new mydownloads 0.001
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.003
[25] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:23.988 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.482
02:30:23.989 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","featuretypes":["kadastralegrens"]}

02:30:24.471 response time in milliseconds: 480.80
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:24 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/f41f658c-4be0-4068-7f49-5ca695596e8c/status"}},"downloadRequestId":"f41f658c-4be0-4068-7f49-5ca695596e8c"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:24.472 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:24.473 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f41f658c-4be0-4068-7f49-5ca695596e8c/status
> Given url statusurl 0.000
> When method GET 0.481
02:30:24.474 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f41f658c-4be0-4068-7f49-5ca695596e8c/status
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:24.954 response time in milliseconds: 480.68
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:24 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/b8e26c05-6900-4554-80ed-d32f81dbaf01/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.489
02:30:24.955 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f41f658c-4be0-4068-7f49-5ca695596e8c/status
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:30:25.443 response time in milliseconds: 488.11
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:25 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/b8e26c05-6900-4554-80ed-d32f81dbaf01/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:25.444 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/b8e26c05-6900-4554-80ed-d32f81dbaf01/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.496
02:30:25.445 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/b8e26c05-6900-4554-80ed-d32f81dbaf01/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:25.941 response time in milliseconds: 495.71
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:25 GMT
4 < Etag: "e73ed377b495b8147764af7b9608a51c-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:24 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A094A0CCA395
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:25.945 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:25.945 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/b8e26c05-6900-4554-80ed-d32f81dbaf01/extract.zip
> * print "size", zipsize 0.000
02:30:25.945 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[26] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:25.950 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.416
02:30:25.952 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","featuretypes":["kadastralegrens"]}

02:30:28.367 response time in milliseconds: 2414.88
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:28 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/7dca01e1-4838-4634-70bf-3ba2f9963381/status"}},"downloadRequestId":"7dca01e1-4838-4634-70bf-3ba2f9963381"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:28.368 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:28.369 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7dca01e1-4838-4634-70bf-3ba2f9963381/status
> Given url statusurl 0.000
> When method GET 0.488
02:30:28.370 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7dca01e1-4838-4634-70bf-3ba2f9963381/status
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:28.857 response time in milliseconds: 487.04
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:28 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/938105cb-b8d9-428e-917d-54b6aa5074b1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.513
02:30:28.863 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7dca01e1-4838-4634-70bf-3ba2f9963381/status
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:30:29.370 response time in milliseconds: 507.16
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:29 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/938105cb-b8d9-428e-917d-54b6aa5074b1/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:29.371 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/938105cb-b8d9-428e-917d-54b6aa5074b1/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.540
02:30:29.372 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/938105cb-b8d9-428e-917d-54b6aa5074b1/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:29.912 response time in milliseconds: 539.71
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 664
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:29 GMT
4 < Etag: "8574ae91d4ee25e3990a15e0e13935bf-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:28 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0958B887DA7
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:29.913 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:29.913 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/938105cb-b8d9-428e-917d-54b6aa5074b1/extract.zip
> * print "size", zipsize 0.000
02:30:29.914 [print] size 664
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[27] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:29.919 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.335
02:30:29.920 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","featuretypes":["kadastralegrens"]}

02:30:32.254 response time in milliseconds: 2333.99
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:32 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/a01964db-571d-4d01-4c40-3f171d07c344/status"}},"downloadRequestId":"a01964db-571d-4d01-4c40-3f171d07c344"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:32.255 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:32.255 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/a01964db-571d-4d01-4c40-3f171d07c344/status
> Given url statusurl 0.000
> When method GET 0.497
02:30:32.256 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/a01964db-571d-4d01-4c40-3f171d07c344/status
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:32.753 response time in milliseconds: 496.25
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:32 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/b3ac1a42-1eb6-455c-aec2-84f523398d40/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.499
02:30:32.755 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/a01964db-571d-4d01-4c40-3f171d07c344/status
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:30:33.249 response time in milliseconds: 494.34
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:33 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/b3ac1a42-1eb6-455c-aec2-84f523398d40/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:33.258 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/b3ac1a42-1eb6-455c-aec2-84f523398d40/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.504
02:30:33.259 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/b3ac1a42-1eb6-455c-aec2-84f523398d40/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:33.763 response time in milliseconds: 503.37
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:33 GMT
4 < Etag: "b8a56b8e2f5ee9069653120fb488d40c-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:32 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09672DA9A66
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:33.764 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:33.764 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/b3ac1a42-1eb6-455c-aec2-84f523398d40/extract.zip
> * print "size", zipsize 0.000
02:30:33.764 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[28] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.009
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:33.782 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.049
02:30:33.784 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","featuretypes":["kadastralegrens"]}

02:30:35.831 response time in milliseconds: 2046.73
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:35 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/dbfb0ad6-e990-4af1-4ee5-cfe1afaa42b2/status"}},"downloadRequestId":"dbfb0ad6-e990-4af1-4ee5-cfe1afaa42b2"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:35.833 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:35.833 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/dbfb0ad6-e990-4af1-4ee5-cfe1afaa42b2/status
> Given url statusurl 0.000
> When method GET 0.482
02:30:35.834 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/dbfb0ad6-e990-4af1-4ee5-cfe1afaa42b2/status
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:36.315 response time in milliseconds: 481.64
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:36 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/439dde55-48da-4cab-9a76-0e2d68488fd5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.490
02:30:36.317 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/dbfb0ad6-e990-4af1-4ee5-cfe1afaa42b2/status
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:30:36.806 response time in milliseconds: 487.25
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:36 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/439dde55-48da-4cab-9a76-0e2d68488fd5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.007
> * print "downloadlink:", downloadlink 0.000
02:30:36.815 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/439dde55-48da-4cab-9a76-0e2d68488fd5/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.506
02:30:36.816 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/439dde55-48da-4cab-9a76-0e2d68488fd5/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:37.321 response time in milliseconds: 505.12
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 663
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:37 GMT
4 < Etag: "204d6c90ea30a591e3473fb5df8974a2-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:35 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0974705DFBE
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:37.324 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:37.325 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/439dde55-48da-4cab-9a76-0e2d68488fd5/extract.zip
> * print "size", zipsize 0.000
02:30:37.325 [print] size 663
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[29] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:37.332 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
  "featuretypes": [
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.505
02:30:37.333 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 275
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","featuretypes":["kadastralegrens"]}

02:30:38.838 response time in milliseconds: 1503.88
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:38 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/5657ee66-0abc-4e3a-4cf1-b3b7c0fd7404/status"}},"downloadRequestId":"5657ee66-0abc-4e3a-4cf1-b3b7c0fd7404"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:38.839 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:38.839 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5657ee66-0abc-4e3a-4cf1-b3b7c0fd7404/status
> Given url statusurl 0.000
> When method GET 0.490
02:30:38.840 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5657ee66-0abc-4e3a-4cf1-b3b7c0fd7404/status
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:39.329 response time in milliseconds: 489.45
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:39 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/5f9784c0-3bea-48c0-ba7c-e6dd00345346/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.483
02:30:39.330 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5657ee66-0abc-4e3a-4cf1-b3b7c0fd7404/status
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:30:39.810 response time in milliseconds: 479.97
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:39 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/5f9784c0-3bea-48c0-ba7c-e6dd00345346/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.007
02:30:39.821 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/5f9784c0-3bea-48c0-ba7c-e6dd00345346/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.494
02:30:39.823 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/5f9784c0-3bea-48c0-ba7c-e6dd00345346/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:40.317 response time in milliseconds: 494.05
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 9292
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:40 GMT
4 < Etag: "45df00b4f04213ff38fa91f87fd99b5a-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:38 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A097F9B38FEA
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.001
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:40.321 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:30:40.323 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/5f9784c0-3bea-48c0-ba7c-e6dd00345346/extract.zip
> * print "size", zipsize 0.001
02:30:40.325 [print] size 9292
> * assert zipsize > 600 0.002
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.002
2:56.634
* print "bepaal een delta ids " 0.012
02:29:23.379 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
 
02:29:23.392 [print] bepaal een delta ids
Given url apiBaseUrl + 'kadastralekaart/api/v4_0/delta' 0.018
And param count = 1000 0.001
And param after-delta-id = "b2219778-e94c-40b0-92bd-95e3491af2bb" 0.000
When method GET 0.540
02:29:23.415 request:
1 > GET https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta?count=1000&after-delta-id=b2219778-e94c-40b0-92bd-95e3491af2bb
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:23.952 response time in milliseconds: 536.39
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:23 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.007
* print "alldelta:", alldelta 0.004
02:29:23.965 [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 pararray = [] 0.000
* def featureslist = ["perceel","kadastralegrens"] 0.000
* def fun = 0.001
function(delta) {
req = { format: "gml", geofilter: 'POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))' };
req["deltaId"] = delta["id"];
req["featuretypes"] = featureslist;
pararray.add (req);
}
* eval karate.forEach(alldelta, fun) 0.016
* print "array:", pararray 0.004
02:29:23.988 [print] array: [
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
    "featuretypes": [
      "perceel",
      "kadastralegrens"
    ]
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  },
  {
    "format": "gml",
    "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
    "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
    "featuretypes": "#ref:net.minidev.json.JSONArray"
  }
]
* print "done" 0.006
02:29:23.995 [print] done
* def dodelta = call read('DeltaCustomargs.feature') pararray 1:28.108
[0] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.003
> * def requestparams = __arg 0.005
> * print requestparams 0.000
02:29:24.037 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "2b104759-f77d-496a-94e4-7064f199b446",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.489
02:29:24.038 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"2b104759-f77d-496a-94e4-7064f199b446","featuretypes":["perceel","kadastralegrens"]}

02:29:24.526 response time in milliseconds: 487.58
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:24 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/e5313f51-2db8-43cf-4c4f-b2e569833f1e/status"}},"downloadRequestId":"e5313f51-2db8-43cf-4c4f-b2e569833f1e"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:24.529 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:24.531 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e5313f51-2db8-43cf-4c4f-b2e569833f1e/status
> Given url statusurl 0.000
> When method GET 0.523
02:29:24.533 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e5313f51-2db8-43cf-4c4f-b2e569833f1e/status
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:25.055 response time in milliseconds: 521.38
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:24 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/cd2265cb-3788-4238-a862-061814963b56/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.488
02:29:25.062 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/e5313f51-2db8-43cf-4c4f-b2e569833f1e/status
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:25.545 response time in milliseconds: 482.71
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:25 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/cd2265cb-3788-4238-a862-061814963b56/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:25.551 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/cd2265cb-3788-4238-a862-061814963b56/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.544
02:29:25.552 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/cd2265cb-3788-4238-a862-061814963b56/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:26.095 response time in milliseconds: 543.05
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:26 GMT
4 < Etag: "f6c91f7f801f2eece8189397126811c6-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:24 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A086B00487C7
4 < X-Cnection: close
4 < 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.010
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:29:26.107 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:29:26.110 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/cd2265cb-3788-4238-a862-061814963b56/extract.zip
> * print "size", zipsize 0.000
02:29:26.110 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[1] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.009
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:26.125 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "c31553da-c1ff-4d9e-80d4-dd60544a1b2d",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.486
02:29:26.131 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"c31553da-c1ff-4d9e-80d4-dd60544a1b2d","featuretypes":["perceel","kadastralegrens"]}

02:29:26.611 response time in milliseconds: 480.15
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:26 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/68348283-98d1-4559-5a54-ef30a666b3c1/status"}},"downloadRequestId":"68348283-98d1-4559-5a54-ef30a666b3c1"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.009
02:29:26.621 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:26.623 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/68348283-98d1-4559-5a54-ef30a666b3c1/status
> Given url statusurl 0.000
> When method GET 0.496
02:29:26.624 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/68348283-98d1-4559-5a54-ef30a666b3c1/status
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:27.119 response time in milliseconds: 494.88
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:27 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e7f97e7f-e7ef-4d8b-a2ba-80f4b267f898/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.489
02:29:27.121 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/68348283-98d1-4559-5a54-ef30a666b3c1/status
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:27.608 response time in milliseconds: 486.43
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:27 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e7f97e7f-e7ef-4d8b-a2ba-80f4b267f898/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:27.611 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e7f97e7f-e7ef-4d8b-a2ba-80f4b267f898/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.511
02:29:27.613 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e7f97e7f-e7ef-4d8b-a2ba-80f4b267f898/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:28.123 response time in milliseconds: 509.73
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:28 GMT
4 < Etag: "3ecb9dbf25abb00914c101fdab670fdc-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:26 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0872A5F81E5
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:28.124 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:28.124 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e7f97e7f-e7ef-4d8b-a2ba-80f4b267f898/extract.zip
> * print "size", zipsize 0.000
02:29:28.125 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[2] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:28.130 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "801a3c3e-a010-4fff-9c4a-812d7c813674",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.486
02:29:28.133 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"801a3c3e-a010-4fff-9c4a-812d7c813674","featuretypes":["perceel","kadastralegrens"]}

02:29:28.616 response time in milliseconds: 483.05
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:28 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ffae6374-6173-4473-42f6-ba88b6f568be/status"}},"downloadRequestId":"ffae6374-6173-4473-42f6-ba88b6f568be"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:28.618 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:28.619 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ffae6374-6173-4473-42f6-ba88b6f568be/status
> Given url statusurl 0.000
> When method GET 0.485
02:29:28.620 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ffae6374-6173-4473-42f6-ba88b6f568be/status
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:29.104 response time in milliseconds: 484.32
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:29 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/73d5b260-2a33-4fc8-96cb-5fd2b2335c68/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.487
02:29:29.109 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ffae6374-6173-4473-42f6-ba88b6f568be/status
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:29.594 response time in milliseconds: 484.28
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:29 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/73d5b260-2a33-4fc8-96cb-5fd2b2335c68/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.004
> * print "downloadlink:", downloadlink 0.000
02:29:29.599 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/73d5b260-2a33-4fc8-96cb-5fd2b2335c68/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.525
02:29:29.600 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/73d5b260-2a33-4fc8-96cb-5fd2b2335c68/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:30.125 response time in milliseconds: 524.10
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:30 GMT
4 < Etag: "e410cef9211084c546507fc15ba690ee-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:28 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A087A1811119
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:30.126 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:30.127 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/73d5b260-2a33-4fc8-96cb-5fd2b2335c68/extract.zip
> * print "size", zipsize 0.000
02:29:30.127 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[3] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:30.133 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9d181f42-7ef5-4c43-b7d7-3cf4195e1473",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.781
02:29:30.134 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9d181f42-7ef5-4c43-b7d7-3cf4195e1473","featuretypes":["perceel","kadastralegrens"]}

02:29:30.915 response time in milliseconds: 780.39
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:30 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c84f5017-ec42-4760-75a4-04eec5ad3205/status"}},"downloadRequestId":"c84f5017-ec42-4760-75a4-04eec5ad3205"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.004
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:30.921 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.000
02:29:30.923 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c84f5017-ec42-4760-75a4-04eec5ad3205/status
> Given url statusurl 0.000
> When method GET 0.535
02:29:30.923 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c84f5017-ec42-4760-75a4-04eec5ad3205/status
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:31.457 response time in milliseconds: 533.94
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:31 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/52ef7077-cb22-4310-ba70-8e57e7a49dd8/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.484
02:29:31.459 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c84f5017-ec42-4760-75a4-04eec5ad3205/status
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:31.942 response time in milliseconds: 483.44
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:31 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/52ef7077-cb22-4310-ba70-8e57e7a49dd8/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:31.943 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/52ef7077-cb22-4310-ba70-8e57e7a49dd8/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.493
02:29:31.944 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/52ef7077-cb22-4310-ba70-8e57e7a49dd8/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:32.437 response time in milliseconds: 492.53
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:32 GMT
4 < Etag: "2c844c507a2a63e88b203c4aeb631890-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:31 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0882B81DA5B
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:29:32.440 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.001
02:29:32.441 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/52ef7077-cb22-4310-ba70-8e57e7a49dd8/extract.zip
> * print "size", zipsize 0.000
02:29:32.442 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[4] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.005
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:32.458 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9c93aa0c-86a4-49fa-826e-549c719cc0aa",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.485
02:29:32.460 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9c93aa0c-86a4-49fa-826e-549c719cc0aa","featuretypes":["perceel","kadastralegrens"]}

02:29:32.943 response time in milliseconds: 482.82
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:32 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/7eea21c7-3cdf-4c14-5dc7-8f184f3bf51e/status"}},"downloadRequestId":"7eea21c7-3cdf-4c14-5dc7-8f184f3bf51e"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:32.945 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:32.945 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7eea21c7-3cdf-4c14-5dc7-8f184f3bf51e/status
> Given url statusurl 0.000
> When method GET 0.486
02:29:32.946 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7eea21c7-3cdf-4c14-5dc7-8f184f3bf51e/status
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:33.431 response time in milliseconds: 485.04
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 161
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:33 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/7eea21c7-3cdf-4c14-5dc7-8f184f3bf51e/status"}},"progress":100,"status":"RUNNING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.501
02:29:33.436 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/7eea21c7-3cdf-4c14-5dc7-8f184f3bf51e/status
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:33.929 response time in milliseconds: 492.37
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:33 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/cba39ab5-bf73-4a13-ad75-5c5ba17c619b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:33.933 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/cba39ab5-bf73-4a13-ad75-5c5ba17c619b/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.500
02:29:33.934 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/cba39ab5-bf73-4a13-ad75-5c5ba17c619b/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:34.433 response time in milliseconds: 499.32
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1308
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:34 GMT
4 < Etag: "869166bfde4ee6ce22e95e06d3109796-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:33 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A088A2809EBA
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:34.436 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.006
02:29:34.443 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/cba39ab5-bf73-4a13-ad75-5c5ba17c619b/extract.zip
> * print "size", zipsize 0.000
02:29:34.443 [print] size 1308
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[5] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.007
> * def requestparams = __arg 0.000
> * print requestparams 0.004
02:29:34.459 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1577858c-8c9f-481a-8e45-084bd85e5f4e",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.139
02:29:34.461 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"1577858c-8c9f-481a-8e45-084bd85e5f4e","featuretypes":["perceel","kadastralegrens"]}

02:29:36.599 response time in milliseconds: 2138.20
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:36 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/bbba88fe-2459-4c76-58ac-0a3912f75e05/status"}},"downloadRequestId":"bbba88fe-2459-4c76-58ac-0a3912f75e05"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.005
02:29:36.606 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:36.606 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/bbba88fe-2459-4c76-58ac-0a3912f75e05/status
> Given url statusurl 0.000
> When method GET 0.484
02:29:36.607 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/bbba88fe-2459-4c76-58ac-0a3912f75e05/status
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.091 response time in milliseconds: 483.30
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:37 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/14d69d3a-9020-4130-ade9-045c2651b022/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.499
02:29:37.093 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/bbba88fe-2459-4c76-58ac-0a3912f75e05/status
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:37.582 response time in milliseconds: 488.76
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:37 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/14d69d3a-9020-4130-ade9-045c2651b022/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:37.593 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/14d69d3a-9020-4130-ade9-045c2651b022/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.497
02:29:37.594 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/14d69d3a-9020-4130-ade9-045c2651b022/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:38.091 response time in milliseconds: 496.40
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:38 GMT
4 < Etag: "a37be85009ae47109348b0db3f1741f6-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:36 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0897C680F99
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:38.097 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:38.098 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/14d69d3a-9020-4130-ade9-045c2651b022/extract.zip
> * print "size", zipsize 0.000
02:29:38.098 [print] size 1310
> * assert zipsize > 600 0.002
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.003
[6] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.004
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:38.110 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f784d3c1-2e95-4c30-9268-11d0d61ac131",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.507
02:29:38.111 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f784d3c1-2e95-4c30-9268-11d0d61ac131","featuretypes":["perceel","kadastralegrens"]}

02:29:38.618 response time in milliseconds: 506.38
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:38 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/02841582-f5c8-4d13-5f6d-ac1f7c89bcba/status"}},"downloadRequestId":"02841582-f5c8-4d13-5f6d-ac1f7c89bcba"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:38.619 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:38.619 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/02841582-f5c8-4d13-5f6d-ac1f7c89bcba/status
> Given url statusurl 0.000
> When method GET 0.498
02:29:38.619 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/02841582-f5c8-4d13-5f6d-ac1f7c89bcba/status
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:39.117 response time in milliseconds: 497.04
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:39 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/459105b6-c5c1-4ceb-a313-78bc3fa3dfc6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.504
02:29:39.118 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/02841582-f5c8-4d13-5f6d-ac1f7c89bcba/status
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:39.621 response time in milliseconds: 503.23
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:39 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/459105b6-c5c1-4ceb-a313-78bc3fa3dfc6/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:39.622 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/459105b6-c5c1-4ceb-a313-78bc3fa3dfc6/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.493
02:29:39.623 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/459105b6-c5c1-4ceb-a313-78bc3fa3dfc6/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:40.116 response time in milliseconds: 492.76
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:40 GMT
4 < Etag: "cf7e2c8a20107a34f72c715feb4bc71b-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:38 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A089F51FD889
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:40.117 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:40.117 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/459105b6-c5c1-4ceb-a313-78bc3fa3dfc6/extract.zip
> * print "size", zipsize 0.000
02:29:40.118 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[7] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:40.131 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "e6640b5a-f20a-450e-9250-986540178c75",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.483
02:29:40.132 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"e6640b5a-f20a-450e-9250-986540178c75","featuretypes":["perceel","kadastralegrens"]}

02:29:40.614 response time in milliseconds: 481.78
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:40 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/cbe528bd-d911-4c7e-4cbe-d53050ced698/status"}},"downloadRequestId":"cbe528bd-d911-4c7e-4cbe-d53050ced698"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.004
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:40.619 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:40.619 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cbe528bd-d911-4c7e-4cbe-d53050ced698/status
> Given url statusurl 0.000
> When method GET 0.483
02:29:40.620 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cbe528bd-d911-4c7e-4cbe-d53050ced698/status
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:41.103 response time in milliseconds: 482.87
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:41 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/7d93a357-9315-4fd3-b06a-69f1d8a62209/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.490
02:29:41.103 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cbe528bd-d911-4c7e-4cbe-d53050ced698/status
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:41.593 response time in milliseconds: 489.55
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:41 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/7d93a357-9315-4fd3-b06a-69f1d8a62209/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:41.594 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/7d93a357-9315-4fd3-b06a-69f1d8a62209/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.498
02:29:41.595 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/7d93a357-9315-4fd3-b06a-69f1d8a62209/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:42.093 response time in milliseconds: 497.82
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:42 GMT
4 < Etag: "83fe560aac37ceea361b9dcaa07a27f3-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:40 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08A6AB2E1FD
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:42.094 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:42.094 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/7d93a357-9315-4fd3-b06a-69f1d8a62209/extract.zip
> * print "size", zipsize 0.000
02:29:42.094 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[8] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:42.100 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "1c15ea7f-bf22-43a8-b5e9-b66a1871f27d",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.560
02:29:42.101 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"1c15ea7f-bf22-43a8-b5e9-b66a1871f27d","featuretypes":["perceel","kadastralegrens"]}

02:29:43.661 response time in milliseconds: 1559.38
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:43 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/8c47a5cb-c3c2-4b79-7604-15376278a101/status"}},"downloadRequestId":"8c47a5cb-c3c2-4b79-7604-15376278a101"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.005
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:43.667 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:43.668 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/8c47a5cb-c3c2-4b79-7604-15376278a101/status
> Given url statusurl 0.000
> When method GET 0.518
02:29:43.672 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/8c47a5cb-c3c2-4b79-7604-15376278a101/status
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:44.186 response time in milliseconds: 513.45
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:44 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/ba46ac67-39d3-421a-861e-66c85d11b76a/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.496
02:29:44.188 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/8c47a5cb-c3c2-4b79-7604-15376278a101/status
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:44.676 response time in milliseconds: 488.45
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:44 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/ba46ac67-39d3-421a-861e-66c85d11b76a/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:44.684 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/ba46ac67-39d3-421a-861e-66c85d11b76a/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.612
02:29:44.686 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ba46ac67-39d3-421a-861e-66c85d11b76a/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:45.297 response time in milliseconds: 611.23
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1312
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:45 GMT
4 < Etag: "57548413887977e29e29576bf30f60ad-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:44 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08B29F1E942
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:45.298 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:45.298 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ba46ac67-39d3-421a-861e-66c85d11b76a/extract.zip
> * print "size", zipsize 0.000
02:29:45.299 [print] size 1312
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[9] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:45.303 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "25e98e4e-ef9b-42d1-a419-03fef9478802",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.502
02:29:45.304 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"25e98e4e-ef9b-42d1-a419-03fef9478802","featuretypes":["perceel","kadastralegrens"]}

02:29:45.805 response time in milliseconds: 499.19
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:45 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/5b9c20e2-8e48-414c-5fb4-01eb8c9cd198/status"}},"downloadRequestId":"5b9c20e2-8e48-414c-5fb4-01eb8c9cd198"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:45.806 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:45.806 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5b9c20e2-8e48-414c-5fb4-01eb8c9cd198/status
> Given url statusurl 0.000
> When method GET 0.503
02:29:45.807 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5b9c20e2-8e48-414c-5fb4-01eb8c9cd198/status
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:46.307 response time in milliseconds: 499.48
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 161
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:46 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/5b9c20e2-8e48-414c-5fb4-01eb8c9cd198/status"}},"progress":100,"status":"RUNNING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.501
02:29:46.311 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5b9c20e2-8e48-414c-5fb4-01eb8c9cd198/status
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:46.804 response time in milliseconds: 492.73
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:46 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/ceb0f994-6089-4031-8898-67c5b2734942/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:46.812 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/ceb0f994-6089-4031-8898-67c5b2734942/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.575
02:29:46.814 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ceb0f994-6089-4031-8898-67c5b2734942/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:47.389 response time in milliseconds: 574.56
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1306
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:47 GMT
4 < Etag: "c941425af6bb0163e023228e87446572-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:46 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08BA3EFA97D
4 < X-Cnection: close
4 < 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 "###" 0.000
02:29:47.393 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:47.393 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ceb0f994-6089-4031-8898-67c5b2734942/extract.zip
> * print "size", zipsize 0.000
02:29:47.393 [print] size 1306
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[10] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.012
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:47.408 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "9297d9e4-cc92-415f-b258-642b4ecdb967",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.772
02:29:47.409 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"9297d9e4-cc92-415f-b258-642b4ecdb967","featuretypes":["perceel","kadastralegrens"]}

02:29:49.181 response time in milliseconds: 1771.77
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:49 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status"}},"downloadRequestId":"ca73b644-647e-404c-76c0-acb3a2c7b14d"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.005
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:49.187 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:49.187 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status
> Given url statusurl 0.000
> When method GET 0.488
02:29:49.188 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status
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.676 response time in milliseconds: 487.84
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 159
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:49 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status"}},"progress":0,"status":"PENDING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 6.073
02:29:49.686 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status
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:50.256 response time in milliseconds: 569.69
3 < 200
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 159
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:50 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status"}},"progress":0,"status":"PENDING"}

02:29:50.256 retry condition not satisfied: responseStatus == 201
02:29:50.256 sleeping before retry #1
02:29:55.257 request:
4 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/ca73b644-647e-404c-76c0-acb3a2c7b14d/status
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:55.759 response time in milliseconds: 501.65
4 < 201
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Method: GET,POST,OPTIONS
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
4 < Content-Length: 167
4 < Content-Type: application/json
4 < Date: Tue, 15 Jun 2021 02:29:55 GMT
4 < Expires: 0
4 < Pragma: no-cache
4 < Server: Apache
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/906861e7-fada-410d-b9e7-ef27b27649ae/extract.zip"}},"progress":100,"status":"COMPLETED"}

02:29:55.759 retry condition satisfied
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:55.759 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/906861e7-fada-410d-b9e7-ef27b27649ae/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.002
> When method HEAD 0.502
02:29:55.762 request:
5 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/906861e7-fada-410d-b9e7-ef27b27649ae/extract.zip
5 > Accept-Encoding: gzip,deflate
5 > Connection: Keep-Alive
5 > Host: downloads.pdok.nl
5 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:56.264 response time in milliseconds: 502.11
5 < 200
5 < Accept-Ranges: bytes
5 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
5 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
5 < Access-Control-Allow-Origin: *
5 < Access-Control-Max-Age: 1000
5 < Content-Disposition: attachment; filename=extract.zip
5 < Content-Length: 1310
5 < Content-Security-Policy: block-all-mixed-content
5 < Content-Type: application/zip
5 < Date: Tue, 15 Jun 2021 02:29:56 GMT
5 < Etag: "b43d199b1b7790c6c2231a51214027bd-1"
5 < Last-Modified: Tue, 15 Jun 2021 02:29:50 GMT
5 < Server: MinIO
5 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
5 < Vary: Origin
5 < X-Amz-Request-Id: 1688A08DB751DA2D
5 < X-Cnection: close
5 < 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 "###" 0.000
02:29:56.265 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:56.266 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/906861e7-fada-410d-b9e7-ef27b27649ae/extract.zip
> * print "size", zipsize 0.000
02:29:56.266 [print] size 1310
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[11] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:56.274 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f2a1b49d-024b-4a01-83f9-66dd1d3385ce",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.496
02:29:56.275 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f2a1b49d-024b-4a01-83f9-66dd1d3385ce","featuretypes":["perceel","kadastralegrens"]}

02:29:56.770 response time in milliseconds: 494.89
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:56 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/cda652d1-1c4e-4cbb-4fc5-bb33b3681021/status"}},"downloadRequestId":"cda652d1-1c4e-4cbb-4fc5-bb33b3681021"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:56.772 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:29:56.773 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cda652d1-1c4e-4cbb-4fc5-bb33b3681021/status
> Given url statusurl 0.000
> When method GET 0.490
02:29:56.774 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cda652d1-1c4e-4cbb-4fc5-bb33b3681021/status
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.263 response time in milliseconds: 488.62
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 160
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:57 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/cda652d1-1c4e-4cbb-4fc5-bb33b3681021/status"}},"progress":50,"status":"RUNNING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.501
02:29:57.264 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/cda652d1-1c4e-4cbb-4fc5-bb33b3681021/status
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:57.757 response time in milliseconds: 492.46
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:57 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e8f08b34-71d0-415a-a679-8117c4830c42/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:57.765 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e8f08b34-71d0-415a-a679-8117c4830c42/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.505
02:29:57.767 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e8f08b34-71d0-415a-a679-8117c4830c42/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:58.272 response time in milliseconds: 504.25
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 27702
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:29:58 GMT
4 < Etag: "ec13db4e1903848c53dbd3dc220eeb15-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:57 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08E2ED01C83
4 < X-Cnection: close
4 < 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 "###" 0.003
02:29:58.276 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:29:58.277 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e8f08b34-71d0-415a-a679-8117c4830c42/extract.zip
> * print "size", zipsize 0.000
02:29:58.277 [print] size 27702
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.001
[12] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:29:58.281 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "69183ebc-d2bd-4c32-b7e0-82d7d64d95a6",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.485
02:29:58.282 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"69183ebc-d2bd-4c32-b7e0-82d7d64d95a6","featuretypes":["perceel","kadastralegrens"]}

02:29:58.767 response time in milliseconds: 484.31
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:29:58 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c9d73113-2075-41bf-6a08-a9959371400f/status"}},"downloadRequestId":"c9d73113-2075-41bf-6a08-a9959371400f"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:29:58.768 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.003
02:29:58.771 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c9d73113-2075-41bf-6a08-a9959371400f/status
> Given url statusurl 0.000
> When method GET 0.489
02:29:58.772 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c9d73113-2075-41bf-6a08-a9959371400f/status
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.260 response time in milliseconds: 488.25
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 159
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:29:59 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c9d73113-2075-41bf-6a08-a9959371400f/status"}},"progress":0,"status":"PENDING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.482
02:29:59.262 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c9d73113-2075-41bf-6a08-a9959371400f/status
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:59.743 response time in milliseconds: 481.22
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:29:59 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/2f5652a3-f667-424d-b66f-cec0345280fd/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:29:59.744 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/2f5652a3-f667-424d-b66f-cec0345280fd/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.514
02:29:59.745 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2f5652a3-f667-424d-b66f-cec0345280fd/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:00.259 response time in milliseconds: 513.76
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:00 GMT
4 < Etag: "ad6aa9b743b250b10f19871e1c67258f-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:29:59 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08EA550DDF1
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:00.260 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:00.261 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/2f5652a3-f667-424d-b66f-cec0345280fd/extract.zip
> * print "size", zipsize 0.000
02:30:00.261 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[13] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:00.267 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee7de3a0-af84-4382-88f6-015c69fbcf22",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.480
02:30:00.268 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ee7de3a0-af84-4382-88f6-015c69fbcf22","featuretypes":["perceel","kadastralegrens"]}

02:30:00.748 response time in milliseconds: 478.84
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:00 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c053b810-1c53-4166-6e7b-459928916db8/status"}},"downloadRequestId":"c053b810-1c53-4166-6e7b-459928916db8"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:00.749 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:00.749 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c053b810-1c53-4166-6e7b-459928916db8/status
> Given url statusurl 0.000
> When method GET 0.515
02:30:00.750 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c053b810-1c53-4166-6e7b-459928916db8/status
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.264 response time in milliseconds: 514.21
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 159
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:01 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/c053b810-1c53-4166-6e7b-459928916db8/status"}},"progress":0,"status":"PENDING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.588
02:30:01.265 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/c053b810-1c53-4166-6e7b-459928916db8/status
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:30:01.853 response time in milliseconds: 587.45
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:01 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f81aed1a-e290-405b-baa4-e53777b2a23f/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:01.855 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/f81aed1a-e290-405b-baa4-e53777b2a23f/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.510
02:30:01.856 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f81aed1a-e290-405b-baa4-e53777b2a23f/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:02.365 response time in milliseconds: 509.17
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:02 GMT
4 < Etag: "5638a24f3da76da9a3d48974922a1013-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:01 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08F22F566B9
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:02.367 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:02.367 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f81aed1a-e290-405b-baa4-e53777b2a23f/extract.zip
> * print "size", zipsize 0.000
02:30:02.367 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[14] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:02.378 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7d86880e-ec38-45a7-8d26-8b50b25cb564",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.527
02:30:02.378 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"7d86880e-ec38-45a7-8d26-8b50b25cb564","featuretypes":["perceel","kadastralegrens"]}

02:30:02.905 response time in milliseconds: 525.98
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:02 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/d46f5e9a-592e-4bbb-4f2e-8d3f46badc78/status"}},"downloadRequestId":"d46f5e9a-592e-4bbb-4f2e-8d3f46badc78"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:02.906 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:02.907 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d46f5e9a-592e-4bbb-4f2e-8d3f46badc78/status
> Given url statusurl 0.000
> When method GET 0.488
02:30:02.908 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d46f5e9a-592e-4bbb-4f2e-8d3f46badc78/status
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.395 response time in milliseconds: 486.97
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:03 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/70508f9c-fdea-4369-aeab-8e6635358341/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.493
02:30:03.396 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/d46f5e9a-592e-4bbb-4f2e-8d3f46badc78/status
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:30:03.883 response time in milliseconds: 486.33
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:03 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/70508f9c-fdea-4369-aeab-8e6635358341/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:03.890 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/70508f9c-fdea-4369-aeab-8e6635358341/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.510
02:30:03.895 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/70508f9c-fdea-4369-aeab-8e6635358341/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:04.401 response time in milliseconds: 505.82
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1308
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:04 GMT
4 < Etag: "d8e6115fd885085438293b0efa8aacab-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:03 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A08F9C52C321
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:04.403 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:04.403 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/70508f9c-fdea-4369-aeab-8e6635358341/extract.zip
> * print "size", zipsize 0.000
02:30:04.403 [print] size 1308
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[15] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.003
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:04.410 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "f434912f-ac1a-4c31-a06d-1fb0b2e94b1e",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.450
02:30:04.411 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"f434912f-ac1a-4c31-a06d-1fb0b2e94b1e","featuretypes":["perceel","kadastralegrens"]}

02:30:06.861 response time in milliseconds: 2449.12
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:06 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/5e71fd93-bdd3-489b-724e-5494df378d5f/status"}},"downloadRequestId":"5e71fd93-bdd3-489b-724e-5494df378d5f"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:06.863 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.008
02:30:06.871 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5e71fd93-bdd3-489b-724e-5494df378d5f/status
> Given url statusurl 0.000
> When method GET 0.486
02:30:06.872 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5e71fd93-bdd3-489b-724e-5494df378d5f/status
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:07.357 response time in milliseconds: 485.08
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:07 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/4769bfaa-b1da-4c7c-ac86-65e9fa0dd2f5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:30:07.361 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/5e71fd93-bdd3-489b-724e-5494df378d5f/status
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:30:07.849 response time in milliseconds: 487.50
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:07 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/4769bfaa-b1da-4c7c-ac86-65e9fa0dd2f5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:07.850 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/4769bfaa-b1da-4c7c-ac86-65e9fa0dd2f5/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.497
02:30:07.852 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/4769bfaa-b1da-4c7c-ac86-65e9fa0dd2f5/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:08.348 response time in milliseconds: 496.19
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:08 GMT
4 < Etag: "e710d61059c5ed4cf0b25408adc8cc56-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:07 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09087FB7769
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:08.350 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:08.350 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/4769bfaa-b1da-4c7c-ac86-65e9fa0dd2f5/extract.zip
> * print "size", zipsize 0.000
02:30:08.351 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[16] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:08.355 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "a7ced3a4-8dd3-44df-8774-f08d01839035",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.603
02:30:08.355 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"a7ced3a4-8dd3-44df-8774-f08d01839035","featuretypes":["perceel","kadastralegrens"]}

02:30:08.958 response time in milliseconds: 602.28
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:08 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/fc60296e-4cc7-4ec8-7d84-b5e64554ab2c/status"}},"downloadRequestId":"fc60296e-4cc7-4ec8-7d84-b5e64554ab2c"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:08.959 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:08.959 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/fc60296e-4cc7-4ec8-7d84-b5e64554ab2c/status
> Given url statusurl 0.000
> When method GET 0.492
02:30:08.960 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/fc60296e-4cc7-4ec8-7d84-b5e64554ab2c/status
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:09.451 response time in milliseconds: 491.59
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:09 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e77d36a9-f341-4a8a-bdc9-3ae88511db81/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.485
02:30:09.456 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/fc60296e-4cc7-4ec8-7d84-b5e64554ab2c/status
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:30:09.937 response time in milliseconds: 481.05
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:09 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/e77d36a9-f341-4a8a-bdc9-3ae88511db81/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:09.938 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/e77d36a9-f341-4a8a-bdc9-3ae88511db81/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.667
02:30:09.939 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e77d36a9-f341-4a8a-bdc9-3ae88511db81/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:10.605 response time in milliseconds: 666.25
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:10 GMT
4 < Etag: "2f86f2c14fc49800563c6137dde98ea1-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:09 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09109480AC7
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:10.607 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:10.608 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/e77d36a9-f341-4a8a-bdc9-3ae88511db81/extract.zip
> * print "size", zipsize 0.000
02:30:10.608 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[17] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:10.613 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "3021d17f-c396-4704-8770-d0231e9d5d9b",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.435
02:30:10.614 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"3021d17f-c396-4704-8770-d0231e9d5d9b","featuretypes":["perceel","kadastralegrens"]}

02:30:13.049 response time in milliseconds: 2434.23
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:12 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/33fdba96-4dd6-4c6e-5969-c31abf77bf06/status"}},"downloadRequestId":"33fdba96-4dd6-4c6e-5969-c31abf77bf06"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:13.050 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:13.050 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/33fdba96-4dd6-4c6e-5969-c31abf77bf06/status
> Given url statusurl 0.000
> When method GET 0.494
02:30:13.051 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/33fdba96-4dd6-4c6e-5969-c31abf77bf06/status
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:13.544 response time in milliseconds: 493.07
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:13 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/1d6c5b61-b969-40d2-bf6a-f2d731321873/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.486
02:30:13.545 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/33fdba96-4dd6-4c6e-5969-c31abf77bf06/status
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:30:14.028 response time in milliseconds: 482.67
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:13 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/1d6c5b61-b969-40d2-bf6a-f2d731321873/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:14.032 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/1d6c5b61-b969-40d2-bf6a-f2d731321873/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.498
02:30:14.033 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/1d6c5b61-b969-40d2-bf6a-f2d731321873/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:14.530 response time in milliseconds: 497.56
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:14 GMT
4 < Etag: "f63d6fe976746fc0bb01e61196108be8-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:13 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A091F892E96F
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:14.536 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:14.536 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/1d6c5b61-b969-40d2-bf6a-f2d731321873/extract.zip
> * print "size", zipsize 0.000
02:30:14.536 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[18] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:14.544 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "199c4014-5688-4581-9513-9d8bc2f0c040",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.273
02:30:14.545 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"199c4014-5688-4581-9513-9d8bc2f0c040","featuretypes":["perceel","kadastralegrens"]}

02:30:16.817 response time in milliseconds: 2272.16
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:16 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/297b9103-9057-4cfa-5591-5e906661d6e9/status"}},"downloadRequestId":"297b9103-9057-4cfa-5591-5e906661d6e9"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.002
> And def downloadRequestId = response.downloadRequestId 0.001
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:16.823 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.001
02:30:16.825 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/297b9103-9057-4cfa-5591-5e906661d6e9/status
> Given url statusurl 0.000
> When method GET 0.498
02:30:16.835 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/297b9103-9057-4cfa-5591-5e906661d6e9/status
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:17.323 response time in milliseconds: 487.52
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:17 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/70dfaa45-8089-4b63-ae0a-8f9844be804d/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:30:17.324 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/297b9103-9057-4cfa-5591-5e906661d6e9/status
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:30:17.815 response time in milliseconds: 490.09
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:17 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/70dfaa45-8089-4b63-ae0a-8f9844be804d/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:17.816 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/70dfaa45-8089-4b63-ae0a-8f9844be804d/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.508
02:30:17.819 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/70dfaa45-8089-4b63-ae0a-8f9844be804d/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:18.324 response time in milliseconds: 504.55
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:18 GMT
4 < Etag: "211db9e216474b666f1523a757210536-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:17 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A092DA1C1A16
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:18.331 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:18.331 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/70dfaa45-8089-4b63-ae0a-8f9844be804d/extract.zip
> * print "size", zipsize 0.000
02:30:18.331 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[19] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:18.335 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74c6011e-9871-4f8a-b911-0142eea98ee7",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.985
02:30:18.335 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"74c6011e-9871-4f8a-b911-0142eea98ee7","featuretypes":["perceel","kadastralegrens"]}

02:30:20.321 response time in milliseconds: 1984.94
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:20 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/f185e935-4d55-479c-5e71-2d7b495ab2bd/status"}},"downloadRequestId":"f185e935-4d55-479c-5e71-2d7b495ab2bd"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:20.321 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:20.322 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f185e935-4d55-479c-5e71-2d7b495ab2bd/status
> Given url statusurl 0.000
> When method GET 0.494
02:30:20.322 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f185e935-4d55-479c-5e71-2d7b495ab2bd/status
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:20.816 response time in milliseconds: 493.84
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 159
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:20 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/f185e935-4d55-479c-5e71-2d7b495ab2bd/status"}},"progress":0,"status":"PENDING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.490
02:30:20.817 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/f185e935-4d55-479c-5e71-2d7b495ab2bd/status
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:30:21.304 response time in milliseconds: 486.92
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:21 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/bc6055db-a745-4133-b2c5-880212178457/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.011
02:30:21.319 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/bc6055db-a745-4133-b2c5-880212178457/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.503
02:30:21.325 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bc6055db-a745-4133-b2c5-880212178457/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:21.825 response time in milliseconds: 498.94
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 6328
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:21 GMT
4 < Etag: "c361afe36647f4225f895de35dc4c88e-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:20 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A093AB4724A1
4 < X-Cnection: close
4 < 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.001
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.001
02:30:21.832 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.009
02:30:21.841 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/bc6055db-a745-4133-b2c5-880212178457/extract.zip
> * print "size", zipsize 0.001
02:30:21.843 [print] size 6328
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.005
[20] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:21.854 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "95843b80-f891-4f0d-ac68-6f104d38a0c6",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.420
02:30:21.855 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"95843b80-f891-4f0d-ac68-6f104d38a0c6","featuretypes":["perceel","kadastralegrens"]}

02:30:24.275 response time in milliseconds: 2419.69
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:24 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/3fca5039-80fc-4f94-5900-6a7d43c1d1f2/status"}},"downloadRequestId":"3fca5039-80fc-4f94-5900-6a7d43c1d1f2"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.005
> And def downloadRequestId = response.downloadRequestId 0.001
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:24.282 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.005
> * print 'statusurl', statusurl 0.009
02:30:24.297 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3fca5039-80fc-4f94-5900-6a7d43c1d1f2/status
> Given url statusurl 0.000
> When method GET 0.512
02:30:24.302 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3fca5039-80fc-4f94-5900-6a7d43c1d1f2/status
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:24.804 response time in milliseconds: 501.86
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:24 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f7a32609-ae9d-49c7-acbc-8c999ba1dfed/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.501
02:30:24.811 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/3fca5039-80fc-4f94-5900-6a7d43c1d1f2/status
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:30:25.310 response time in milliseconds: 498.91
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:25 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f7a32609-ae9d-49c7-acbc-8c999ba1dfed/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:30:25.313 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/f7a32609-ae9d-49c7-acbc-8c999ba1dfed/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.506
02:30:25.315 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f7a32609-ae9d-49c7-acbc-8c999ba1dfed/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:25.821 response time in milliseconds: 505.22
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:25 GMT
4 < Etag: "d53ce8e69bd587e2e44c12541efc14ee-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:24 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09499051FF2
4 < X-Cnection: close
4 < 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.001
> * print "###" 0.000
02:30:25.825 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:30:25.828 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f7a32609-ae9d-49c7-acbc-8c999ba1dfed/extract.zip
> * print "size", zipsize 0.000
02:30:25.828 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.002
[21] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.000
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:25.835 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "304c598c-211c-4d4e-86cf-c87c8be1fd60",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.313
02:30:25.836 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"304c598c-211c-4d4e-86cf-c87c8be1fd60","featuretypes":["perceel","kadastralegrens"]}

02:30:28.148 response time in milliseconds: 2312.32
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:28 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/2d1d13b2-ba73-46d4-74d4-d4e57b7f4147/status"}},"downloadRequestId":"2d1d13b2-ba73-46d4-74d4-d4e57b7f4147"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.002
> And def links = response._links 0.001
> * print "delta status links:" links 0.000
02:30:28.152 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.002
02:30:28.156 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2d1d13b2-ba73-46d4-74d4-d4e57b7f4147/status
> Given url statusurl 0.000
> When method GET 0.547
02:30:28.158 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2d1d13b2-ba73-46d4-74d4-d4e57b7f4147/status
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:28.704 response time in milliseconds: 545.93
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:28 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f5c7ed5a-1959-4603-a75d-fb5db4292e4b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.513
02:30:28.710 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/2d1d13b2-ba73-46d4-74d4-d4e57b7f4147/status
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:30:29.216 response time in milliseconds: 505.92
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:29 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/f5c7ed5a-1959-4603-a75d-fb5db4292e4b/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:30:29.220 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/f5c7ed5a-1959-4603-a75d-fb5db4292e4b/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.502
02:30:29.230 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f5c7ed5a-1959-4603-a75d-fb5db4292e4b/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:29.723 response time in milliseconds: 493.32
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:29 GMT
4 < Etag: "3229a6491fb386be0598c95e37d533f9-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:28 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09582228F3F
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:29.732 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.001
02:30:29.734 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/f5c7ed5a-1959-4603-a75d-fb5db4292e4b/extract.zip
> * print "size", zipsize 0.001
02:30:29.735 [print] size 1310
> * assert zipsize > 600 0.003
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.001
[22] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:29.745 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "74059578-fae6-4945-9c61-b14d8315506f",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.133
02:30:29.747 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"74059578-fae6-4945-9c61-b14d8315506f","featuretypes":["perceel","kadastralegrens"]}

02:30:31.878 response time in milliseconds: 2130.74
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:31 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/bb0153d5-8792-445d-5db2-a55a07995190/status"}},"downloadRequestId":"bb0153d5-8792-445d-5db2-a55a07995190"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.002
> And def links = response._links 0.001
> * print "delta status links:" links 0.000
02:30:31.882 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.001
02:30:31.886 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/bb0153d5-8792-445d-5db2-a55a07995190/status
> Given url statusurl 0.000
> When method GET 0.561
02:30:31.887 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/bb0153d5-8792-445d-5db2-a55a07995190/status
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:32.447 response time in milliseconds: 560.18
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:32 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d764e5a6-e9dd-45f7-8b87-68270388e670/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.485
02:30:32.448 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/bb0153d5-8792-445d-5db2-a55a07995190/status
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:30:32.931 response time in milliseconds: 482.50
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:32 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d764e5a6-e9dd-45f7-8b87-68270388e670/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.002
02:30:32.935 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/d764e5a6-e9dd-45f7-8b87-68270388e670/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.520
02:30:32.950 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d764e5a6-e9dd-45f7-8b87-68270388e670/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:33.458 response time in milliseconds: 507.65
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 10123
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:33 GMT
4 < Etag: "3a691c0d4aeef68dfdf70331636abb6f-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:32 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A096600F7A30
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.007
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.001
> And def zipsize = responseHeaders['Content-Length'][0] 0.001
> * print "###" 0.000
02:30:33.468 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.001
02:30:33.470 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d764e5a6-e9dd-45f7-8b87-68270388e670/extract.zip
> * print "size", zipsize 0.001
02:30:33.472 [print] size 10123
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.002
[23] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.007
> * def requestparams = __arg 0.002
> * print requestparams 0.000
02:30:33.488 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "7846306d-9db1-47be-bb67-960c8db4901b",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.806
02:30:33.489 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"7846306d-9db1-47be-bb67-960c8db4901b","featuretypes":["perceel","kadastralegrens"]}

02:30:35.294 response time in milliseconds: 1805.37
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:35 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/75a9e23e-6d02-40cc-793b-acd96eee341d/status"}},"downloadRequestId":"75a9e23e-6d02-40cc-793b-acd96eee341d"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:35.296 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:35.296 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/75a9e23e-6d02-40cc-793b-acd96eee341d/status
> Given url statusurl 0.000
> When method GET 0.632
02:30:35.297 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/75a9e23e-6d02-40cc-793b-acd96eee341d/status
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:35.929 response time in milliseconds: 631.53
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:35 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/32e956e8-f920-4584-8a35-82791489c6c5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.495
02:30:35.932 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/75a9e23e-6d02-40cc-793b-acd96eee341d/status
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:30:36.423 response time in milliseconds: 491.29
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:36 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/32e956e8-f920-4584-8a35-82791489c6c5/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:36.425 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/32e956e8-f920-4584-8a35-82791489c6c5/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.508
02:30:36.432 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/32e956e8-f920-4584-8a35-82791489c6c5/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:36.934 response time in milliseconds: 501.65
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 6588
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:36 GMT
4 < Etag: "a7537b8b1b04a51ea40bfc04845bbfce-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:35 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0972FD1CC18
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:36.935 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:36.936 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/32e956e8-f920-4584-8a35-82791489c6c5/extract.zip
> * print "size", zipsize 0.000
02:30:36.936 [print] size 6588
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[24] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:36.942 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ecc65af0-5df2-4c51-997e-424a8ec168f9",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 2.158
02:30:36.943 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ecc65af0-5df2-4c51-997e-424a8ec168f9","featuretypes":["perceel","kadastralegrens"]}

02:30:39.101 response time in milliseconds: 2157.40
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:39 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/68926128-15a0-4862-7338-bfe6fc457a00/status"}},"downloadRequestId":"68926128-15a0-4862-7338-bfe6fc457a00"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:39.102 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.000
02:30:39.103 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/68926128-15a0-4862-7338-bfe6fc457a00/status
> Given url statusurl 0.000
> When method GET 0.499
02:30:39.104 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/68926128-15a0-4862-7338-bfe6fc457a00/status
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:39.603 response time in milliseconds: 499.01
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:39 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/47f85e16-5ffc-4411-8649-0265690359de/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.489
02:30:39.604 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/68926128-15a0-4862-7338-bfe6fc457a00/status
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:30:40.088 response time in milliseconds: 483.78
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:40 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/47f85e16-5ffc-4411-8649-0265690359de/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:40.093 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/47f85e16-5ffc-4411-8649-0265690359de/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.533
02:30:40.094 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/47f85e16-5ffc-4411-8649-0265690359de/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:40.627 response time in milliseconds: 533.13
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:40 GMT
4 < Etag: "7c67ac6f6ae7573422b2333a6af992c3-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:39 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A0980B3BC141
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:40.628 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:40.629 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/47f85e16-5ffc-4411-8649-0265690359de/extract.zip
> * print "size", zipsize 0.000
02:30:40.629 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000
[25] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.002
> * def requestparams = __arg 0.001
> * print requestparams 0.000
02:30:40.636 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.491
02:30:40.637 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"d3f8f0d9-4fe6-47a7-8589-4a735bdf4d17","featuretypes":["perceel","kadastralegrens"]}

02:30:41.128 response time in milliseconds: 490.68
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:41 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/59d9e250-e19a-4131-5f2c-a1ebbf931739/status"}},"downloadRequestId":"59d9e250-e19a-4131-5f2c-a1ebbf931739"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.001
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:41.134 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.001
02:30:41.136 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/59d9e250-e19a-4131-5f2c-a1ebbf931739/status
> Given url statusurl 0.000
> When method GET 0.486
02:30:41.137 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/59d9e250-e19a-4131-5f2c-a1ebbf931739/status
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:41.623 response time in milliseconds: 485.79
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:41 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/ef201772-7368-4605-a077-66c0df2c364e/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:30:41.629 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/59d9e250-e19a-4131-5f2c-a1ebbf931739/status
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:30:42.114 response time in milliseconds: 485.64
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:42 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/ef201772-7368-4605-a077-66c0df2c364e/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:30:42.121 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/ef201772-7368-4605-a077-66c0df2c364e/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.502
02:30:42.123 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ef201772-7368-4605-a077-66c0df2c364e/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:42.625 response time in milliseconds: 501.91
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1308
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:42 GMT
4 < Etag: "57e4305049d07017912f81f04d16b8af-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:41 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09882BE1C51
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.007
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:42.634 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.001
02:30:42.636 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/ef201772-7368-4605-a077-66c0df2c364e/extract.zip
> * print "size", zipsize 0.002
02:30:42.639 [print] size 1308
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.001
[26] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.003
> * print requestparams 0.000
02:30:42.650 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "80d32f9f-5641-4d0a-89bb-616e9c0f890f",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.487
02:30:42.653 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"80d32f9f-5641-4d0a-89bb-616e9c0f890f","featuretypes":["perceel","kadastralegrens"]}

02:30:43.138 response time in milliseconds: 485.01
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:43 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/4b10e981-cd5e-4890-5912-019079a08b0e/status"}},"downloadRequestId":"4b10e981-cd5e-4890-5912-019079a08b0e"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.002
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:43.141 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.002
> * print 'statusurl', statusurl 0.001
02:30:43.146 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/4b10e981-cd5e-4890-5912-019079a08b0e/status
> Given url statusurl 0.000
> When method GET 0.493
02:30:43.147 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/4b10e981-cd5e-4890-5912-019079a08b0e/status
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:43.639 response time in milliseconds: 492.38
2 < 200
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 159
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:43 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"self":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/4b10e981-cd5e-4890-5912-019079a08b0e/status"}},"progress":0,"status":"PENDING"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.509
02:30:43.646 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/4b10e981-cd5e-4890-5912-019079a08b0e/status
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:30:44.144 response time in milliseconds: 497.63
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:44 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/5bc87a16-0d13-4f57-a0dd-a88d176e5b3a/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.001
02:30:44.151 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/5bc87a16-0d13-4f57-a0dd-a88d176e5b3a/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.500
02:30:44.153 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/5bc87a16-0d13-4f57-a0dd-a88d176e5b3a/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:44.653 response time in milliseconds: 499.46
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1312
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:44 GMT
4 < Etag: "9dcb53c033e2979ea3c77347333a13d7-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:43 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A098FC0A3469
4 < X-Cnection: close
4 < 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.001
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.001
02:30:44.658 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.003
02:30:44.662 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/5bc87a16-0d13-4f57-a0dd-a88d176e5b3a/extract.zip
> * print "size", zipsize 0.002
02:30:44.664 [print] size 1312
> * assert zipsize > 600 0.001
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.000
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.010
[27] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.004
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:44.687 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "00a2e048-2c11-4a10-a7b1-0f439bcf35e5",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.481
02:30:44.691 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"00a2e048-2c11-4a10-a7b1-0f439bcf35e5","featuretypes":["perceel","kadastralegrens"]}

02:30:45.169 response time in milliseconds: 477.79
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:45 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/0f1d6aa8-8c3c-487d-77be-2415bf5fb185/status"}},"downloadRequestId":"0f1d6aa8-8c3c-487d-77be-2415bf5fb185"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.002
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:45.172 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.002
02:30:45.177 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0f1d6aa8-8c3c-487d-77be-2415bf5fb185/status
> Given url statusurl 0.000
> When method GET 0.502
02:30:45.177 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0f1d6aa8-8c3c-487d-77be-2415bf5fb185/status
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:45.679 response time in milliseconds: 501.02
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:45 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d9cf7a61-f6cb-430b-a0c6-f58564c37035/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.568
02:30:45.680 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/0f1d6aa8-8c3c-487d-77be-2415bf5fb185/status
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:30:46.247 response time in milliseconds: 566.98
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:46 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/d9cf7a61-f6cb-430b-a0c6-f58564c37035/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:46.248 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/d9cf7a61-f6cb-430b-a0c6-f58564c37035/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.504
02:30:46.249 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d9cf7a61-f6cb-430b-a0c6-f58564c37035/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:46.753 response time in milliseconds: 503.41
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1308
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:46 GMT
4 < Etag: "79450d535bb13bf66cbcb225aad12968-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:45 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A099790CD46A
4 < X-Cnection: close
4 < 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 "###" 0.000
02:30:46.757 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:46.757 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/d9cf7a61-f6cb-430b-a0c6-f58564c37035/extract.zip
> * print "size", zipsize 0.000
02:30:46.758 [print] size 1308
> * assert zipsize > 600 0.000
> * def mydownloads = Java.type('download.DataStorage') 0.000
> * def LocalDateTime = Java.type('java.time.LocalDateTime') 0.000
> * def db = new mydownloads 0.001
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.003
[28] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.001
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:46.774 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "ee381f94-96f3-41e5-bbd5-4b678eee1db0",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 0.501
02:30:46.777 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"ee381f94-96f3-41e5-bbd5-4b678eee1db0","featuretypes":["perceel","kadastralegrens"]}

02:30:47.276 response time in milliseconds: 498.28
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:47 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/669abcab-2c9a-45eb-550f-d50937e1b3bc/status"}},"downloadRequestId":"669abcab-2c9a-45eb-550f-d50937e1b3bc"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.000
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:47.276 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.000
> * print 'statusurl', statusurl 0.001
02:30:47.278 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/669abcab-2c9a-45eb-550f-d50937e1b3bc/status
> Given url statusurl 0.000
> When method GET 0.485
02:30:47.279 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/669abcab-2c9a-45eb-550f-d50937e1b3bc/status
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:47.764 response time in milliseconds: 484.23
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:47 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/efe5548c-916e-4c8f-9b0e-4dd70228ac93/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.491
02:30:47.772 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/669abcab-2c9a-45eb-550f-d50937e1b3bc/status
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:30:48.255 response time in milliseconds: 482.77
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:48 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/efe5548c-916e-4c8f-9b0e-4dd70228ac93/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.000
02:30:48.256 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/efe5548c-916e-4c8f-9b0e-4dd70228ac93/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.000
> When method HEAD 0.521
02:30:48.257 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/efe5548c-916e-4c8f-9b0e-4dd70228ac93/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:48.778 response time in milliseconds: 520.91
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 1310
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:48 GMT
4 < Etag: "35cd1145429c1a36386b17d7307699c2-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:47 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A099F1E1A837
4 < X-Cnection: close
4 < X-Xss-Protection: 1; mode=block
> Then status 200 0.000
> And match responseHeaders['Content-Length'][0] == '#notnull' 0.001
> And match responseHeaders['Content-Type'][0] == 'application/zip' 0.000
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:48.782 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.002
02:30:48.784 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/efe5548c-916e-4c8f-9b0e-4dd70228ac93/extract.zip
> * print "size", zipsize 0.001
02:30:48.786 [print] size 1310
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.001
[29] download/DeltaCustomargs.feature 0.000
{
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> * url apiBaseUrl +'kadastralekaart/api/v4_0/delta/custom' 0.003
> * def requestparams = __arg 0.000
> * print requestparams 0.000
02:30:48.796 [print] {
  "format": "gml",
  "geofilter": "POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))",
  "deltaId": "359a0c94-3317-42ed-b8c7-508f5d13f2c1",
  "featuretypes": [
    "perceel",
    "kadastralegrens"
  ]
}
> Given request requestparams 0.000
> When method post 1.818
02:30:48.797 request:
1 > POST https://downloads.pdok.nl/kadastralekaart/api/v4_0/delta/custom
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Content-Length: 285
1 > Content-Type: application/json; charset=UTF-8
1 > Host: downloads.pdok.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)
{"format":"gml","geofilter":"POLYGON((81044.88 455429.52,81634.56000000001 455444.64,81735.36000000002 455199.36,81612.72 454955.76,81070.08 454952.4,80880.24 455192.64,81044.88 455429.52))","deltaId":"359a0c94-3317-42ed-b8c7-508f5d13f2c1","featuretypes":["perceel","kadastralegrens"]}

02:30:50.615 response time in milliseconds: 1817.57
1 < 202
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: 188
1 < Content-Type: application/json
1 < Date: Tue, 15 Jun 2021 02:30:50 GMT
1 < Server: Apache
1 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
1 < X-Cnection: close
{"_links":{"status":{"href":"/kadaster/kadastralekaart/download/v4_0/delta/custom/b42284e4-7a0f-4777-4a84-ed4a90ca09a6/status"}},"downloadRequestId":"b42284e4-7a0f-4777-4a84-ed4a90ca09a6"}
> Then status 202 0.000
> And match response == { downloadRequestId: '#uuid' , _links:'#notnull'} 0.000
> And def downloadRequestId = response.downloadRequestId 0.003
> And def links = response._links 0.000
> * print "delta status links:" links 0.000
02:30:50.620 [print]
> And def statusurl = apiBaseUrl + links.status.href 0.001
> * print 'statusurl', statusurl 0.002
02:30:50.624 [print] statusurl https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/b42284e4-7a0f-4777-4a84-ed4a90ca09a6/status
> Given url statusurl 0.000
> When method GET 0.489
02:30:50.625 request:
2 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/b42284e4-7a0f-4777-4a84-ed4a90ca09a6/status
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:51.114 response time in milliseconds: 488.79
2 < 201
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 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
2 < Content-Length: 167
2 < Content-Type: application/json
2 < Date: Tue, 15 Jun 2021 02:30:51 GMT
2 < Expires: 0
2 < Pragma: no-cache
2 < Server: Apache
2 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
2 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/767608bc-e6d4-487c-8e15-3656013ba1b9/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And retry until responseStatus == 201 0.000
> Given url statusurl 0.000
> When method GET 0.483
02:30:51.115 request:
3 > GET https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/delta/custom/b42284e4-7a0f-4777-4a84-ed4a90ca09a6/status
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:30:51.595 response time in milliseconds: 479.43
3 < 201
3 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
3 < Access-Control-Allow-Method: GET,POST,OPTIONS
3 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
3 < Access-Control-Allow-Origin: *
3 < Access-Control-Max-Age: 1000
3 < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
3 < Content-Length: 167
3 < Content-Type: application/json
3 < Date: Tue, 15 Jun 2021 02:30:51 GMT
3 < Expires: 0
3 < Pragma: no-cache
3 < Server: Apache
3 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
3 < X-Cnection: close
{"_links":{"download":{"href":"/kadaster/kadastralekaart/download/v4_0/extract/767608bc-e6d4-487c-8e15-3656013ba1b9/extract.zip"}},"progress":100,"status":"COMPLETED"}
> And def downloadlink = response._links 0.000
> And match response == { _links:'#notnull' , progress:100, status:'COMPLETED' } 0.000
> * print "downloadlink:", downloadlink 0.002
02:30:51.601 [print] downloadlink: {
  "download": {
    "href": "/kadaster/kadastralekaart/download/v4_0/extract/767608bc-e6d4-487c-8e15-3656013ba1b9/extract.zip"
  }
}
> Given url apiBaseUrl + downloadlink.download.href 0.001
> When method HEAD 0.495
02:30:51.602 request:
4 > HEAD https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/767608bc-e6d4-487c-8e15-3656013ba1b9/extract.zip
4 > Accept-Encoding: gzip,deflate
4 > Connection: Keep-Alive
4 > Host: downloads.pdok.nl
4 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:30:52.097 response time in milliseconds: 494.31
4 < 200
4 < Accept-Ranges: bytes
4 < Access-Control-Allow-Headers: SOAPAction,X-Requested-With,Content-Type,Origin,Authorization,Accept
4 < Access-Control-Allow-Methods: POST, GET, OPTIONS, HEAD
4 < Access-Control-Allow-Origin: *
4 < Access-Control-Max-Age: 1000
4 < Content-Disposition: attachment; filename=extract.zip
4 < Content-Length: 22286
4 < Content-Security-Policy: block-all-mixed-content
4 < Content-Type: application/zip
4 < Date: Tue, 15 Jun 2021 02:30:52 GMT
4 < Etag: "a384f36546cc9f157da287db17f878bc-1"
4 < Last-Modified: Tue, 15 Jun 2021 02:30:50 GMT
4 < Server: MinIO
4 < Strict-Transport-Security: [max-age=31536000; includeSubDomains; preload, max-age=3600; includeSubDomains; preload]
4 < Vary: Origin
4 < X-Amz-Request-Id: 1688A09AB7C4C012
4 < X-Cnection: close
4 < 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.004
> And def zipsize = responseHeaders['Content-Length'][0] 0.000
> * print "###" 0.000
02:30:52.102 [print] ###
> * print "location", apiBaseUrl + downloadlink.download.href 0.000
02:30:52.102 [print] location https://downloads.pdok.nl//kadaster/kadastralekaart/download/v4_0/extract/767608bc-e6d4-487c-8e15-3656013ba1b9/extract.zip
> * print "size", zipsize 0.000
02:30:52.102 [print] size 22286
> * assert zipsize > 600 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
> * eval db.mywriteln('- Test: DeltaUpdate_' + __loop + ' '+ '\n leveringsId:'+ downloadRequestId +'\n'+' Url:'+apiBaseUrl + downloadlink.download.href+'\n Size:'+zipsize+'\n Time:'+ LocalDateTime.now() +'\n' , 'target/surefire-reports/delta_url.yaml') 0.000