Invalid version number Common Request Response Handling

Copyright © 2011 Open Geospatial Consortium 195 d Test Type: Basic

11.1.2.1.2 Service and version appropriateness

http:www.opengis.netspecSPS2.0confCoreRequestResponseServiceAndVersion a Test Purpose: To verify that the server recognizes correct values for service and version parameters in operation request other than GetCapabilities. b Test Method: Devise and execute a request with correct value SPS for the service type request parameter and another request with correct value for the version parameter 2.0.0. Verify that the service does not throw an InvalidParameterValue exception with locator version service or version. c Reference: Subclause of chapter 7 according to the given operation. d Test Type: Basic

11.1.2.2 Exception Reporting

11.1.2.2.1 Exception Appropriateness

http:www.opengis.netspecSPS2.0confCoreExceptionReportingAppropriateness a Test Purpose: Verify that the server generates an appropriate exception by setting the value of the code and locator parameters to an appropriate value. Test Method: Devise a series of requests that generate an error for each applicable error code used in b Figure 12. Verify that server generates an appropriate exception for each case by verifying that the code and locator parameters have been set to the correct value. c Reference: 7.2 d Test Type: Basic

11.1.2.2.2 Exception Model Compliancy

http:www.opengis.netspecSPS2.0confCoreExceptionReportingModelCompliancy a Test Purpose: To verify that the exceptions the server generates validate according to the schema defined in Clause 8 of 06-121r3. b Test Method: Devise and execute a request that generates an error. Verify that the exception that the server generates is valid. c Reference: 7.2 d Test Type: Basic 196 Copyright © 2011 Open Geospatial Consortium

11.1.2.3 Service Metadata

11.1.2.3.1 Adherence to property inheritance mechanism

http:www.opengis.netspecSPS2.0confCoreServiceMetadataPropertyInheritanceAdherence a Test Purpose: To verify that the service adheres to the rules of property inheritance. b Test Method: Devise and execute requests that test each of the values for the procedure and procedure description format properties that an offering has when applying the property inheritance mechanism as defined in OGC 09-001 and Table 27. c Reference: 7.3.3.4, OGC 09-001, Table 27 d Test Type: Basic

11.1.2.3.2 Default Service Version

http:www.opengis.netspecSPS2.0confCoreServiceMetadataDefaultServiceVersion a Test Purpose: To verify that the service supports retrieval of Capabilities in version 2.0.0. b Test Method: Devise a GetCapabilities request with acceptVersions parameter set to value “2.0.0” and send it to the service. Verify that the service property in the resulting capabilities document has the value 2.0.0. c Reference: 7.3.2.4 d Test Type: Basic

11.1.2.3.3 GetCapabilities operation facet validity

http:www.opengis.netspecSPS2.0confCoreServiceMetadataGetCapabilitiesFacetValidity a Test Purpose: To verify that the service provides the correct response when the GetCapabilities operation is invoked. b Test Method: Devise and execute a GetCapabilities request. Verify that the service responds with a valid capabilities document or exception. c Reference: 7.3.2.3, 7.3.2.4 d Test Type: Basic

11.1.2.3.4 Indicate support of SWE Common Encodings

http:www.opengis.netspecSPS2.0confCoreServiceMetadataSWECommonEncodings