OPen Source Web Test Engine for Geospatial Standards

Preview:

DESCRIPTION

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

Citation preview

®®

Open Source Web Test Engine for Geospatial Standards

September, 2011

Boulder, CO

FOSS4G

Raj Sing, Luis Bermudez

© 2011, Open Geospatial Consortium, Inc.© 2011, Open Geospatial Consortium, Inc.

OGC®

2

Why standards ?Why standards ?

Kylie ArmstrongBusiness DevelopmentWestern Australian Land Information AuthorityLandgate, 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.”

OGC®

3

Why standards ?Why standards ?

Kylie ArmstrongBusiness DevelopmentWestern Australian Land Information AuthorityLandgate, Australia

“Using the internationally recognised OGC and ISO standards for both the architecture and web services has been essential to our success.“

OGC®

4

To serve as a global forum for and lead the development,

promotion and harmonization of open and freely available

geospatial standards.

Open Geospatial Consortium (OGC)Open Geospatial Consortium (OGC)

OGC®

5

What standards ?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

OGC®

6

What standards ?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

- .....

OGC®

7

Thousands of OGC services !Thousands of OGC services !

OGC®

8

How do we know if these services are How do we know if these services are compliant ?compliant ?

9OGC®

© 2011 Open Geospatial Consortium, Inc.

Online Testing Facility

http://cite.opengeospatial.org/teamengine/

JAVA WEB SERVER

MOZILLA PUBLIC LICENSEVersion 1.1

10OGC®

© 2011 Open Geospatial Consortium, Inc.

Tester selects test suite

Tester names session

11OGC®

© 2011 Open Geospatial Consortium, Inc.

Tester provides end point of the service

Console provides feedback on test assertions

Tester Selects Options

12OGC®

© 2011 Open Geospatial Consortium, Inc.

Summary of Results

13OGC®

© 2011 Open Geospatial Consortium, Inc.

Compliance Procedure

1) Developers go to online Test engine

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

14OGC®

© 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

15OGC®

© 2011 Open Geospatial Consortium, Inc.

http://cite.opengeospatial.org/node/58CTL at Wiki

16OGC®

© 2011 Open Geospatial Consortium, Inc.

Structure CTL Tests

17OGC®

© 2011 Open Geospatial Consortium, Inc.

CTL Features and Examples

18OGC®

© 2011 Open Geospatial Consortium, Inc.

Suite and Profiles

19OGC®

© 2011 Open Geospatial Consortium, Inc.

Suite and Profiles

20OGC®

© 2011 Open Geospatial Consortium, Inc.

Test and Assertions

21OGC®

© 2011 Open Geospatial Consortium, Inc.

Functions

22OGC®

© 2011 Open Geospatial Consortium, Inc.

XHTML Forms

23OGC®

© 2011 Open Geospatial Consortium, Inc.

XHTML Forms - Uploading FIle

24OGC®

© 2011 Open Geospatial Consortium, Inc.

HTTP Requests

25OGC®

© 2011 Open Geospatial Consortium, Inc.

CDataParserHTTPParserXMLValidatingParserSOAPParser XSLTransformationParser

Parsers

26OGC®

© 2011 Open Geospatial Consortium, Inc.

Client Testing

Client Testing via Proxy

27

28OGC®

© 2011 Open Geospatial Consortium, Inc.

Client Testing Future Work

• 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.

29OGC®

© 2011 Open Geospatial Consortium, Inc.

TeamEngine is an Open Source Community

http://cite.opengeospatial.org/node/80

30OGC®

© 2011 Open Geospatial Consortium, Inc.

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

31OGC®

© 2011 Open Geospatial Consortium, Inc.

How to participate ?

• Send an email to compliance director:

• Luis Bermudez lbermduez@opengeosptial.org

• He will provide you the details

OGC®

32

SummarySummary

• 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 !

33OGC®

© 2011 Open Geospatial Consortium, Inc.

Links

• Director of Interoperability Certification – Luis Bermudez <lbermudez@opengeospatial.org>

• 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– compliance@opengeospatial.org

Recommended