114 Copyright © 2012 Open Geospatial Consortium.
Test http:www.opengis.netspecSOS2.0conffoiRetrievalexception
Requirement http:www.opengis.netspecSOS2.0reqfoiRetrievalexceptio n
Test purpose Check that the server returns appropriate exception messages in
case of an error while executing the GetFeatureOfInterest operation.
Test method Send invalid GetFeatureOfInterest requests to the server and
verify that the server returns appropriate exception messages according to section 9.1.1.3 of this specification.
Test type Conformance
14.2.2 Conformance Class: SOS Observation Retrieval By ID
This conformance class defines conformance tests for the retrieval of observations by ID.
http:www.opengis.netspecSOS2.0confobsByIdRetrieval Requirements http:www.opengis.netspecSOS2.0reqobsByIdRetrieval
Dependency http:www.opengis.netspecSOS2.0confcore Test
http:www.opengis.netspecSOS2.0confobsByIdRetrievalrequest- structure
Requirement http:www.opengis.netspecSOS2.0reqobsByIdRetrievalreq uest-structure
Test purpose Check that the service accepts GetObservationById requests as
defined in Subclause 9.2.1.1 of this specification. Test method
Send valid GetObservationById request to service and verify that the server sends an appropriate response as defined in this
specification.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confobsByIdRetrievalresponse-
structure Requirement http:www.opengis.netspecSOS2.0reqobsByIdRetrievalres
Copyright © 2012 Open Geospatial Consortium. 115
ponse-structure Test purpose
Check that the structure of the response is conformant to the structure defined in Subclause 9.2.1.2 of this specification.
Test method Send a GetObservationById request to the service and check
that the response is returned as defined in Subclause 9.2.1.2 of this specification.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confobsByIdRetrievalresponse-
behavior Requirement http:www.opengis.netspecSOS2.0reqobsByIdRetrieval-
response-behavior Test
purpose Check that the server returns appropriate observations containing
gml:identifier values as passed in the
request. Test method
Send valid GetObservationById request to the server and verify that the server returns observations containing
gml:identifier values as passed in the request.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confobsByIdRetrievalexception
Requirement http:www.opengis.netspecSOS2.0reqobsByIdRetrievalex ception
Test purpose Check that the server returns appropriate exception messages in
case of an error while executing the GetObservationById operation.
Test method Send invalid GetObservationById requests to the server and
verify that the server returns appropriate exception messages according to section 9.2.1.3 of this specification.
Test type Conformance
Test http:www.opengis.netspecSOS2.0confobsByIdRetrievalempty-
response
116 Copyright © 2012 Open Geospatial Consortium.
Requirement http:www.opengis.netspecSOS2.0reqobsByIdRetrievalem pty-response
Test purpose Check that the server returns an empty response if no
observation was found matching one or more of the identifiers provided in the request.
Test method Send GetObservationById with identifier value that is not
associated with an observation hosted by the service and verify that an empty response is returned as defined above.
Test type Conformance
14.3 SOS Transactional Extension Tests