OPen Source Web Test Engine for Geospatial Standards

  • 825 views
Uploaded on

Open Source Web Test Engine for Geospatial Standards by Raj Sing and Luis Bermudez.

Open Source Web Test Engine for Geospatial Standards by Raj Sing and Luis Bermudez.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
825
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
9
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Hi I am Luis Bermudez. This presentation will provide the introduction of the work performed at Cross community Interoperability thread as part of the OGC Web Services (OWS) 8 activity in 2011. Hereafter referred as CCI thread.
  • Java Web server – maven in progress !!!! Not yet !
  • When the suite test:base is executed, it will display the form requesting the variable x to be entered and then its starting-test (test:base_main) is invoked with x as a parameter. Test:base_main will invoke the test test:fail which will issue a fail, thus test:base_main fails and the suite fails. When the profile test:profile_a is executed, it will examine the results of the base suite test:base, ignoring the results of test fail since they are excluded. Then it will start execution of the profile ’ s starting test (test:profile_a_main), passing the value of x from the base test suite ’ s form as a parameter. Since all the tests that are not excluded from the base test suite pass and the tests in the profile pass, the result is that the profile will pass.
  • When the suite test:base is executed, it will display the form requesting the variable x to be entered and then its starting-test (test:base_main) is invoked with x as a parameter. Test:base_main will invoke the test test:fail which will issue a fail, thus test:base_main fails and the suite fails. When the profile test:profile_a is executed, it will examine the results of the base suite test:base, ignoring the results of test fail since they are excluded. Then it will start execution of the profile ’ s starting test (test:profile_a_main), passing the value of x from the base test suite ’ s form as a parameter. Since all the tests that are not excluded from the base test suite pass and the tests in the profile pass, the result is that the profile will pass.
  • The <function> element is used to declare user-defined functions or external java functions. These functions may be called as XPath functions in instructions that use XPath expressions, or they may be called directly with the <call-function> instruction.
  • The <form> instruction is used to retrieve user input. An XHTML form is generated and presented to the user. The user may the fill in the fields on the form and press a submit button. The instruction returns the values of the form fields and the button that was pressed. If the user presses the Yes button, the results will look like the one in values
  • This code asks for an XML file and produces a message displaying the name of its root element.
  • The <request> element submits an HTTP request to a web service or other resource, and returns an XML representation of the response.
  • 1.1 CDataParser 1.1 HTTPParser 1.1 XMLValidatingParser 1.1 SOAPParser 1.1 XSLTransformationParser

Transcript

  • 1. Open Source Web Test Engine for Geospatial Standards September, 2011 Boulder, CO FOSS4G Raj Sing, Luis Bermudez © 2011, Open Geospatial Consortium, Inc.
  • 2. Why standards ? Kylie Armstrong Business Development Western Australian Land Information Authority Landgate, Australia “ When you are delivering spatial web services on behalf of 20 government agencies to more than a 1000 organisations running their own spatial systems, you need standards . ”
  • 3. Why standards ? Kylie Armstrong Business Development Western Australian Land Information Authority Landgate, Australia “ Using the internationally recognised OGC and ISO standards for both the architecture and web services has been essential to our success . “
  • 4. Open Geospatial Consortium (OGC) To serve as a global forum for and lead the development, promotion and harmonization of open and freely available geospatial standards .
  • 5. What standards ?
    • Data Services
      • Sensor Observation Service (SOS)
      • Web Coverage Service
      • Web Feature Service
      • Web Map Service ..
    • Catalogue Services
      • Catalogue Service
    • Processing Services
      • Open Location Services (OpenLS)
      • Coordinate Transformation Service
      • Sensor Planning Service (SPS)
      • Web Processing Service (WPS)
    • Portrayal Services
  • 6. What standards ?
    • Encodings
      • Geography Markup Language (GML)
      • Styled Layer Descriptor (SLD)
      • Transducer Markup Language (TML)
      • Sensor Model Language (SensorML)
      • CityGML
      • Web Map Context (WMC)
      • Observations & Measurements (O&M)
      • Filter Encoding
      • KML
      • Symbology Encoding
      • GML in JPEG 2000
      • .....
  • 7. Thousands of OGC services !
  • 8. How do we know if these services are compliant ?
  • 9. Online Testing Facility OGC ® © 2011 Open Geospatial Consortium, Inc. http://cite.opengeospatial.org/teamengine/ JAVA WEB SERVER MOZILLA PUBLIC LICENSE Version 1.1
  • 10. OGC ® © 2011 Open Geospatial Consortium, Inc. Tester selects test suite Tester names session
  • 11. OGC ® © 2011 Open Geospatial Consortium, Inc. Tester provides end point of the service Console provides feedback on test assertions Tester Selects Options
  • 12. OGC ® © 2011 Open Geospatial Consortium, Inc. Summary of Results
  • 13. Compliance Procedure
    • 1) Developers go to online Test engine
    OGC ® © 2011 Open Geospatial Consortium, Inc. http://cite.opengeospatial.org/teamengine/ 2) Fill the Test Results (TSR) Form 3) Pay License Fee 4) Get Compliance Certificate 5) Use Certification mark “ Branding ” More information: http://bit.ly/gTmmSo
  • 14. OGC ® © 2011 Open Geospatial Consortium, Inc. XML grammar for documenting and scripting suites of tests for verifying that an implementation of a specification complies with the specification
  • 15. CTL at Wiki OGC ® © 2011 Open Geospatial Consortium, Inc. http://cite.opengeospatial.org/node/58
  • 16. Structure CTL Tests OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 17. CTL Features and Examples OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 18. Suite and Profiles OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 19. Suite and Profiles OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 20. Test and Assertions OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 21. Functions OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 22. XHTML Forms OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 23. XHTML Forms - Uploading FIle OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 24. HTTP Requests OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 25. Parsers OGC ® © 2011 Open Geospatial Consortium, Inc. CDataParser HTTPParser XMLValidating ParserSOAPParser XSLTransformationParser
  • 26. Client Testing OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 27. Client Testing via Proxy
  • 28. Client Testing Future Work OGC ® © 2011 Open Geospatial Consortium, Inc.
    • Need a set of operations for a client to be tested. Commonly specifications define the server side.
    • If the client doesn't performed all the expected operations then the report should say so. Currently only reports what is being requested
    • The report should also tell about operations that the client performed but that were not tested.
  • 29. TeamEngine is an Open Source Community OGC ® © 2011 Open Geospatial Consortium, Inc. http://cite.opengeospatial.org/node/80
  • 30. Need your help !
        • Get better understanding of OGC standards
        • Improve testing which will improve your server or client
        • You get highlighted in the OGC CITE wiki
    OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 31. How to participate ?
        • Send an email to compliance director:
        • Luis Bermudez [email_address]
        • He will provide you the details
    OGC ® © 2011 Open Geospatial Consortium, Inc.
  • 32. Summary
    • The world is full of services and encodings following OGC Standards (WFS, WMS, KMLS etc..)
    • We need to test to better achieve interoperability.
    • TEAM Engine is a state of art web testing tool. IT IS OPEN SOURCE and JAVA.
    • CTL is a flexible language used for testing.
    • We have developed initial approach for Client Testing
    • Your participation is very welcome !
  • 33. Links
    • Director of Interoperability Certification
      • Luis Bermudez < [email_address] >
    • Wiki
      • http://cite.opengeospatial.org
    • Developers list and issue tracker
      • http://cite.opengeospatial.org/forum
    • Team Engine at Sourceforge
      • http://sourceforge.net/projects/teamengine/
    • General Questions about the program and submissions of test results
      • [email_address]
    OGC ® © 2011 Open Geospatial Consortium, Inc.