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
cataloqueservice/C02_dkkV4WFSmetadata.feature 10 0 0 0 0 10 1 0 1 1.434 Passed
Tags: @SMOKE
Feature cataloqueservice/C02_dkkV4WFSmetadata.feature
check dkk record ff9315c8-f25a-4d01-9245-5cf058314ebf
1.434
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/csw' 0.002
02:29:03.133 base url : {
  "apiBaseUrl": "https://downloads.pdok.nl/"
}
And param request = 'GetRecordById' 0.017
And param version = '2.0.2' 0.009
And param elementSetName = 'full' 0.003
And param service = 'CSW' 0.000
And param OutputSchema = 'http://www.opengis.net/cat/csw/2.0.2' 0.001
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf' 0.001
When method GET 1.287
02:29:03.326 request:
1 > GET http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?request=GetRecordById&version=2.0.2&elementSetName=full&service=CSW&OutputSchema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2&id=ff9315c8-f25a-4d01-9245-5cf058314ebf
1 > Accept-Encoding: gzip,deflate
1 > Connection: Keep-Alive
1 > Host: nationaalgeoregister.nl
1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:03.628 response time in milliseconds: 298.99
1 < 301
1 < Connection: Keep-Alive
1 < Content-Length: 452
1 < Content-Type: text/html; charset=iso-8859-1
1 < Date: Tue, 15 Jun 2021 02:29:03 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Location: https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?request=GetRecordById&version=2.0.2&elementSetName=full&service=CSW&OutputSchema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2&id=ff9315c8-f25a-4d01-9245-5cf058314ebf
1 < Server: Apache
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?request=GetRecordById&amp;version=2.0.2&amp;elementSetName=full&amp;service=CSW&amp;OutputSchema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2&amp;id=ff9315c8-f25a-4d01-9245-5cf058314ebf">here</a>.</p>
</body></html>


02:29:03.650 request:
2 > GET http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?request=GetRecordById&version=2.0.2&elementSetName=full&service=CSW&OutputSchema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2&id=ff9315c8-f25a-4d01-9245-5cf058314ebf
2 > Accept-Encoding: gzip,deflate
2 > Connection: Keep-Alive
2 > Host: nationaalgeoregister.nl
2 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_151)

02:29:04.480 response time in milliseconds: 827.87
2 < 200
2 < Cache-Control: no-cache
2 < Connection: Keep-Alive
2 < Content-Security-Policy: frame-ancestors 'none'
2 < Content-Type: application/xml;charset=UTF-8
2 < Date: Tue, 15 Jun 2021 02:29:04 GMT
2 < Expires: -1
2 < Keep-Alive: timeout=5, max=100
2 < Pragma: no-cache
2 < Server: Apache
2 < Set-Cookie: JSESSIONID=D632A03E4389A88DCBCE9F88879C882F; Path=/geonetwork; Secure; HttpOnly
2 < Transfer-Encoding: chunked
2 < Vary: Accept-Encoding
2 < X-Frame-Options: DENY
<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecordByIdResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">
  <csw:Record xmlns:ows="http://www.opengis.net/ows" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:geonet="http://www.fao.org/geonetwork" xmlns:dct="http://purl.org/dc/terms/">
    <dc:identifier>ff9315c8-f25a-4d01-9245-5cf058314ebf</dc:identifier>
    <dc:date>2021-06-14</dc:date>
    <dc:title>Kadastrale Kaart v4 WFS</dc:title>
    <dc:type>service</dc:type>
    <dc:subject>infoFeatureAccessService</dc:subject>
    <dc:subject>kadaster</dc:subject>
    <dc:subject>kadastrale percelen</dc:subject>
    <dc:subject>Kadastrale percelen</dc:subject>
    <dct:modified>2021-06-14</dct:modified>
    <dct:abstract>Overzicht van de ligging van de kadastrale percelen in Nederland. Fungeert als schakel tussen terrein en registratie, vervult voor externe gebruiker vaak een referentiefunctie, een ondergrond ten opzichte waarvan de gebruiker eigen informatie kan vastleggen en presenteren.</dct:abstract>
    <dc:description>Overzicht van de ligging van de kadastrale percelen in Nederland. Fungeert als schakel tussen terrein en registratie, vervult voor externe gebruiker vaak een referentiefunctie, een ondergrond ten opzichte waarvan de gebruiker eigen informatie kan vastleggen en presenteren.</dc:description>
    <dc:rights>otherRestrictions</dc:rights>
    <dc:rights>otherRestrictions</dc:rights>
    <dc:URI protocol="" name="kadastralekaartv4:kadastralegrens" description="accessPoint">https://geodata.nationaalgeoregister.nl/kadastralekaart/wfs/v4_0?request=GetCapabilities</dc:URI>
  </csw:Record>
</csw:GetRecordByIdResponse>
Then status 200 0.000
And match karate.xmlPath(response, '/GetRecordByIdResponse/Record/title') == 'Kadastrale Kaart v4 WFS' 0.110