33
® ® 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.

OPen Source Web Test Engine for Geospatial Standards

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: OPen Source Web Test Engine for Geospatial Standards

®®

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.

Page 2: OPen Source Web Test Engine for Geospatial Standards

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

Page 3: OPen Source Web Test Engine for Geospatial 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.“

Page 4: OPen Source Web Test Engine for Geospatial Standards

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)

Page 5: OPen Source Web Test Engine for Geospatial Standards

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

Page 6: OPen Source Web Test Engine for Geospatial Standards

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

- .....

Page 7: OPen Source Web Test Engine for Geospatial Standards

OGC®

7

Thousands of OGC services !Thousands of OGC services !

Page 8: OPen Source Web Test Engine for Geospatial Standards

OGC®

8

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

Page 9: OPen Source Web Test Engine for Geospatial Standards

9OGC®

© 2011 Open Geospatial Consortium, Inc.

Online Testing Facility

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

JAVA WEB SERVER

MOZILLA PUBLIC LICENSEVersion 1.1

Page 10: OPen Source Web Test Engine for Geospatial Standards

10OGC®

© 2011 Open Geospatial Consortium, Inc.

Tester selects test suite

Tester names session

Page 11: OPen Source Web Test Engine for Geospatial Standards

11OGC®

© 2011 Open Geospatial Consortium, Inc.

Tester provides end point of the service

Console provides feedback on test assertions

Tester Selects Options

Page 12: OPen Source Web Test Engine for Geospatial Standards

12OGC®

© 2011 Open Geospatial Consortium, Inc.

Summary of Results

Page 13: OPen Source Web Test Engine for Geospatial Standards

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

Page 14: OPen Source Web Test Engine for Geospatial Standards

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

Page 15: OPen Source Web Test Engine for Geospatial Standards

15OGC®

© 2011 Open Geospatial Consortium, Inc.

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

Page 16: OPen Source Web Test Engine for Geospatial Standards

16OGC®

© 2011 Open Geospatial Consortium, Inc.

Structure CTL Tests

Page 17: OPen Source Web Test Engine for Geospatial Standards

17OGC®

© 2011 Open Geospatial Consortium, Inc.

CTL Features and Examples

Page 18: OPen Source Web Test Engine for Geospatial Standards

18OGC®

© 2011 Open Geospatial Consortium, Inc.

Suite and Profiles

Page 19: OPen Source Web Test Engine for Geospatial Standards

19OGC®

© 2011 Open Geospatial Consortium, Inc.

Suite and Profiles

Page 20: OPen Source Web Test Engine for Geospatial Standards

20OGC®

© 2011 Open Geospatial Consortium, Inc.

Test and Assertions

Page 21: OPen Source Web Test Engine for Geospatial Standards

21OGC®

© 2011 Open Geospatial Consortium, Inc.

Functions

Page 22: OPen Source Web Test Engine for Geospatial Standards

22OGC®

© 2011 Open Geospatial Consortium, Inc.

XHTML Forms

Page 23: OPen Source Web Test Engine for Geospatial Standards

23OGC®

© 2011 Open Geospatial Consortium, Inc.

XHTML Forms - Uploading FIle

Page 24: OPen Source Web Test Engine for Geospatial Standards

24OGC®

© 2011 Open Geospatial Consortium, Inc.

HTTP Requests

Page 25: OPen Source Web Test Engine for Geospatial Standards

25OGC®

© 2011 Open Geospatial Consortium, Inc.

CDataParserHTTPParserXMLValidatingParserSOAPParser XSLTransformationParser

Parsers

Page 26: OPen Source Web Test Engine for Geospatial Standards

26OGC®

© 2011 Open Geospatial Consortium, Inc.

Client Testing

Page 27: OPen Source Web Test Engine for Geospatial Standards

Client Testing via Proxy

27

Page 28: OPen Source Web Test Engine for Geospatial Standards

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.

Page 29: OPen Source Web Test Engine for Geospatial Standards

29OGC®

© 2011 Open Geospatial Consortium, Inc.

TeamEngine is an Open Source Community

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

Page 30: OPen Source Web Test Engine for Geospatial Standards

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

Page 31: OPen Source Web Test Engine for Geospatial Standards

31OGC®

© 2011 Open Geospatial Consortium, Inc.

How to participate ?

• Send an email to compliance director:

• Luis Bermudez [email protected]

• He will provide you the details

Page 32: OPen Source Web Test Engine for Geospatial Standards

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 !

Page 33: OPen Source Web Test Engine for Geospatial Standards

33OGC®

© 2011 Open Geospatial Consortium, Inc.

Links

• Director of Interoperability Certification – Luis Bermudez <[email protected]>

• 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 protected]