Common Codes Feature Provisioning Sensor Description Property Inheritance

106 Copyright © 2011 Open Geospatial Consortium. a Test Purpose: To verify that the server recognizes incorrect values for service and version parameters in request. b Test Method: Devise and execute a request with incorrect value for the service type request parameter and another request with incorrect value for the version parameter. Verify that the exception that the server generates is valid. c Reference: 9.2.1 d Test Type: Basic

20.1.2.2 Extension Handling

http:www.opengis.netspecSWES2.0confCoreRequestResponseExtensionHandling a Test Purpose: To verify that the service handles request and object extensions correctly. b Test Method: Devise and execute a request that contains a request extension property which is known to not be supported by the service. Verify that the service throws a valid RequestExtensionNotSupported exception. If the service supports a request extension and if that extension has further extension points, devise and execute a valid request that contains a value for this sub-extension that is unknown to the service. Verify that the service throws a valid RequestExtensionNotSupported exception. Verify further that the service honors the semantics of supported request extensions by executing valid requests with those extensions and ensuring that they do not result in a RequestExtensionNotSupported exception. Devise and execute a valid request whose model allows the inclusion of an object type extension in a place other than the extension property that may be derived from the ExtensibleRequest type. Set that object extension to an unknown value. Ensure that the service ignores the unknown extension value by verifying that the response to the request is the same that was expected when the request was performed without that extension. c Reference: 9.1, 15, 18.2, 18.4 d Test Type: Basic

20.1.3 Common Codes

http:www.opengis.netspecSWES2.0confCoreCommonCodes a Test Purpose: To verify that the values of properties that are of one of the code list types defined in the Common Codes package see clause 10 are URIs. Copyright © 2011 Open Geospatial Consortium. 107 b Test Method: Devise and execute a valid request whose according response is known to contain properties that are of the code list types defined in the Common Codes package. Ensure that the values of these properties are valid URIs. c Reference: 10.1 d Test Type: Basic

20.1.4 Feature Provisioning

http:www.opengis.netspecSWES2.0confCoreFeatureProvisioning a Test Purpose: To verify that a related feature is either given inline or through a resolvable reference and that the given object is a valid GML 3.2 feature. b Test Method: If a related feature is given in a request or response, resolve its target if it is given by reference and verify that the feature object is a valid substitution for the gml:AbstractFeature as defined in OGC 07-036 clause 9.3. c Reference: 7.2.1, 7.2.2, 9.2.4, 13.2.1 and OGC 07-036 clause 9.3 d Test Type: Basic

20.1.5 Sensor Description

http:www.opengis.netspecSWES2.0confCoreSensorDescriptionStructure a Test Purpose: To verify that a sensor description is well structured. b Test Method: If a sensor description is given in a request or response, verify that the validTime property – if set – is a TM_Instant as defined in ISO 19108 with time in the past or a TM_Period as defined in ISO 19108 with start time in the past. c Reference: 9.2.3 d Test Type: Basic

20.1.6 Property Inheritance

http:www.opengis.netspecSWES2.0confCorePropertyInheritanceMechanics a Test Purpose: To verify that the values of a given property for which the property inheritance mechanism applies that property being an inheritor as defined by that mechanism according to the inheritance category that is defined for that property. b Test Method: For each property that is an inheritor and defined in the conceptual model of one of the operations supported by the service, devise and execute a valid request that either contains that property or that results in a response which 108 Copyright © 2011 Open Geospatial Consortium. includes that property. Verify that the response is as expected when the value inheritance according to the category defined for that property was applied by the service correctly. c Reference: 22 d Test Type: Basic

20.1.7 Service Metadata