Copyright © 2012 Open Geospatial Consortium. 131
ResultTemplate inserted beforehand.
Test method Send an invalid InsertResult request to the service containing
results encoded in another structure and encoding as defined in the template inserted beforehand. Verify that an
Exception is returned with
exceptionCode value
“InvalidParameterValue” and locator
value “template”. Test type
Conformance
14.4.2 Conformance Class: Result Retrieval
This conformance class defines conformance tests for result retrieval from a SOS.
http:www.opengis.netspecSOS2.0confresultRetrieval Requirements http:www.opengis.netspecSOS2.0reqresultRetrieval
Dependency http:www.opengis.netspecSOS2.0confcore Test
http:www.opengis.netspecSOS2.0confresultRetrievalgrt-request- structure
Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgrt-
request-structure
Test purpose Check that the service accepts GetResultTemplate requests as
defined in Subclause 11.2.1.1 of this specification. Test method
Send a valid GetResultTemplate request to the service and verify that an appropriate response according to this
specification is returned.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confresultRetrievalgrt-response-
structure Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgrt-
response-structure
Test purpose Check that the service returns a
GetResultResponse as
defined in Subclause 11.2.1.2 of this specification. Test method
Send a valid GetResultTemplate request to the service. Verify that the service returns a response as defined in Subclause
132 Copyright © 2012 Open Geospatial Consortium.
11.2.1.2 of this specification. Test type
Conformance Test
http:www.opengis.netspecSOS2.0confresultRetrievalgrt-exception
Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgrt- exception
Test purpose Check that the server returns appropriate exception messages in
case of an error while executing the GetResultTemplate operation.
Test method Send invalid GetResultTemplate requests to the server and
verify that the server returns appropriate exception messages according to section 11.2.1.3 of this specification.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confresultRetrievalgr-request-
structure Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgr-
request-structure
Test purpose Check that the service accepts GetResult requests as defined in
Subclause 11.2.2.1 of this specification. Test method
Send a valid GetResult request to the service and verify that an appropriate response according to this specification is returned.
Test type Conformance
Test
http:www.opengis.netspecSOS2.0confresultRetrievalgr-parameters
Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgr-
parameters
Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgr- omitting-parameters
Test purpose Check that the service returns result values from all
observations that match the specified parameter values of the GetResult request.
Copyright © 2012 Open Geospatial Consortium. 133
Test method Send several valid GetResult requests to the service and verify
that the results returned match the specified parameter values of the GetResult request.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confresultRetrievalgr-response
Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgr-
response
Test purpose Check whether the service response is returned as defined in
Subclause 11.2.2.2 of this specification.
Test method Send a valid GetResult request to the service and verify that the
response is valid according to the model defined in Subclause 11.2.2.2 of this specification.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confresultRetrievalgr-response-
empty Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgr-
response-empty
Test purpose Check that the service response contains a
resultValues property with “null” value, if no observation matches the
parameters of the GetResult request.
Test method Send a valid GetResult request to the service containing
parameters that do not match the observations provided by the SOS e.g. by choosing a temporal filter that targets
observations from the year 40000. Verify that the response contains an empty
resultValues property.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confresultRetrievalgr-exception
Requirement http:www.opengis.netspecSOS2.0reqresultRetrievalgr- exception
Test purpose Check that the server returns appropriate exception messages in
case of an error while executing the GetResult operation.
134 Copyright © 2012 Open Geospatial Consortium.
Test method Send invalid GetResult requests to the server and verify that the
server returns appropriate exception messages according to section 11.2.2.3 of this specification.
Test type Conformance
14.5 SOS Spatial Filtering Profile