Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

GI2010 symposium-kliment (inspire-md-tests)

777 views

Published on

Published in: Business, Technology, Education
  • Be the first to comment

  • Be the first to like this

GI2010 symposium-kliment (inspire-md-tests)

  1. 1. Discovery service testing according to INSPIRE implementing rules Tomas Kliment This presentation has been transmitted remotely as TELE lecture from ISPRA (IT) using „BizBiz-Tool“ via University of RIGA (LV) GI2010 – Symposium Dresden – 14. May 201014.05.2010 10. Sächsisches GIS-Forum 1
  2. 2. Objectives of this presentation INSPIRE requirements for discovery service - DS Proposals for DS testing procedures against INSPIRE rules Practical testing of DS from Slovak Environmental Agency – SEA – testing environment Testing outcome and future work14.05.2010 10. Sächsisches GIS-Forum 2
  3. 3. INSPIRE requirements Main documents related to DS Directive 2007/2/EC establishing an INSPIRE Legal framework – define WHAT and not the HOW Commission regulation 976/2009 regarding Network Services Legal framework – implementing rules - WHAT Technical guidance for INSPIRE discovery service Support document – define HOW DS should be implemented Requirements Search criteria – Article 11(2), Annex II Part A, Paragraph 2.4 Operations - Article 11(1),12, Annex II Part B, Paragraph 2.3 Quality of DS - Annex I Multilingual aspects – at service/content level - Paragraph 2.514.05.2010 10. Sächsisches GIS-Forum 3
  4. 4. DS Testing procedure proposalsDS End-point Aquiring GetCapabilities POST, SOAP endpointsTesting procedure launching GetDiscoveryServiceMetadata Response validating DiscoverMetadata All metadata records Each Queryable Language queryable Metadata quality Validation – gmd, INSPIRE Metadata quantity14.05.2010 10. Sächsisches GIS-Forum 4
  5. 5. Testing procedure performance GetCapabilities request – HTTP GET KVP http://globus.sazp.sk:8080/soapservices/CSWStartup?Service=CSW&request=GetCapabilities POST SOAP Capabilities URL POST XML Capabilities URL14.05.2010 10. Sächsisches GIS-Forum 5
  6. 6. Testing procedure performance Operations + queryables testing – POST SOAP deegree Generic OGC WebService Client ERROR - Unexpected failure: HTTP/1.1 500 Internal Server Error Service side error – NO - BUT - client side error - YES14.05.2010 10. Sächsisches GIS-Forum 6
  7. 7. Testing procedure performance Problems with SOAP REQ from deegree client SoapFault No SOAPAction header value=URI within WSDL docs Client MUST use it deegree does not SOAPAction added OK14.05.2010 10. Sächsisches GIS-Forum 7
  8. 8. Testing procedure performance GetDiscoveryServiceMetadata response Validated against OGC schema with XML Spy http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd - VALID Discovery service metadata Missing values for elements: Fees, AccessConstraints, Additional queryables advertised – YES Federated Catalogues advertise – YES Currently no federated catalogues Language mutation of GetCapabilities Currently no links to language specific capabilities doc.14.05.2010 10. Sächsisches GIS-Forum 8
  9. 9. Testing procedure performance DiscoverMetadata request LanguageQueryParameter added to each request DiscoverMetadata response All queryables supported Content cached = 942 records Multilingual aspect at content level – supported Only “slo” metadata 942 records discovered 0 records discovered14.05.2010 10. Sächsisches GIS-Forum 9
  10. 10. Testing procedure performance Metadata quality – validation against gmd http://schemas.opengis.net/iso/19139/20060504/gmd/gmd.xsd 940 records valid 2 not valid14.05.2010 10. Sächsisches GIS-Forum 10
  11. 11. Testing procedure performance Metadata quality – validating against INSPIRE Sample MD sets validated via online INSPIRE metadata validator Development of “simple” Java program for MD validating using INSPIRE Validator Service Automatic reading XML metadata records from folder Validating using INSPIRE Validator Service and creating Validation report14.05.2010 10. Sächsisches GIS-Forum 11
  12. 12. Testing procedure performance Pilot quality testing Performance – GetRecordByID GET KVP request Test case runs: 100x Average response time: 0.952s Max response time: 3.770s Min response time: 0.573s Performance graph 4,0000 3,5000 3,0000 Response duration [s] 2,5000 2,0000 1,5000 1,0000 0,5000 0,0000 23 46 48 23 51 53 23 55 00 04 23 08 12 23 15 18 23 21 24 26 23 31 33 23 35 40 23 43 47 49 23 55 59 23 01 04 23 06 08 11 23 13 19 23 21 25 23 28 31 6: 6: 6: 6: 6: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 7: 8: 8: 8: 8: 8: 8: 8: 8: 8: 8: 8: :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 :0 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 Request time [hod:min:s]14.05.2010 10. Sächsisches GIS-Forum 12
  13. 13. Testing outcome14.05.2010 10. Sächsisches GIS-Forum 13
  14. 14. Future work Extension of testing model by rest of operations Publish Metadata(Push/Pull), Link Discovery Service Automation of testing performance Development of new tool Existing tools as base – WebInject, Service quality testing Performance, Capacity – POST XML/SOAP Availability – Long-term monitoring14.05.2010 10. Sächsisches GIS-Forum 14
  15. 15. References http://inspire.jrc.ec.europa.eu/ http://www.inspire-geoportal.eu/ http://globus.sazp.sk/ http://deegree.org/ https://tcpmon.dev.java.net/ http://www.webinject.org/ http://www.altova.com/14.05.2010 10. Sächsisches GIS-Forum 15
  16. 16. Thank you for your attention tomas.kliment@stuba.sk14.05.2010 10. Sächsisches GIS-Forum 16

×