Conformance Class: SOS Insertion Capabilities Conformance class: SOS Sensor Insertion

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

This section contains the conformance classes for the SOS Transactional Extension. It comprises four conformance classes which are defined below.

14.3.1 Conformance Class: SOS Insertion Capabilities

This conformance class defines conformance tests for the InsertionCapabilities section in the Capabilities of the service. http:www.opengis.netspecSOS2.0confinsertionCap Requirements http:www.opengis.netspecSOS2.0reqinsertionCap Dependency http:www.opengis.netspecSOS2.0confcore Test http:www.opengis.netspecSOS2.0confinsertionCapstructure Requirement http:www.opengis.netspecSOS2.0reqinsertionCapstructur e Test purpose Check that the InsertionCapabilities is structured as defined in Subclause 10.1.1 of this specification. Test method Query Capabilities of the service and check that InsertionCapabilities are valid according to the model defined in Subclause 10.1.1 of this specification. Test type Conformance Test http:www.opengis.netspecSOS2.0confinsertionCapcapabilities- Copyright © 2012 Open Geospatial Consortium. 117 inclusion Requirement http:www.opengis.netspecSOS2.0reqinsertionCapcapabili ties-inclusion Test purpose Check that the InsertionCapabilities is contained in a Capabilities response, if it is requested. Test method Send GetCapabilities request with Sections parameter containing value “InsertionCapabilities” and verify that InsertionCapabilities are contained in the response. Test type Conformance

14.3.2 Conformance class: SOS Sensor Insertion

This conformance class defines conformance tests for the insertion of sensors in the service. http:www.opengis.netspecSOS2.0confsensorInsertion Requirements http:www.opengis.netspecSOS2.0reqsensorInsertion Dependency http:www.opengis.netspecSOS2.0confcore Dependency http:www.opengis.netspecSOS2.0confinsertionCap Dependency http:www.opengis.netdocISSWES2.0clauseA19.1.8 Test http:www.opengis.netspecSOS2.0confsensorInsertionrequest- structure Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionreque st-structure Test purpose Check that the service accepts an InsertSensor request as defined in Subclause 10.2.1.1 of this specification. Test method Send a valid InsertSensor request to the service and verify that an appropriate response as defined in this specification is returned. Test type Conformance Test http:www.opengis.netspecSOS2.0confsensorInsertionresponse 118 Copyright © 2012 Open Geospatial Consortium. Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionsupp orted-types Test purpose Check that the response is created as defined in Subclause 10.2.1.2 Test method Execute the conformance test defined in Subclause 20.1.8 of [OGC 09-001] Test type Conformance Test http:www.opengis.netspecSOS2.0confsensorInsertionexception Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionexce ption Test purpose Check that the server returns appropriate exception messages in case of an error while executing the InsertSensor operation. Test method Send invalid InsertSensor requests to the server and verify that the server returns appropriate exception messages according to section 10.2.1.3 of this specification. Test type Conformance Test http:www.opengis.netspecSOS2.0confsensorInsertionexception- unsupported-types Requirement http:www.opengis.netspecSOS2.0reqsensorInsertionexce ption-unsupported-types Test purpose Check that an exception is returned with the ExceptionCode “InvalidParameterValue” and locator value “featureOfInterestType” or “observationType” if one of the featureOfInterestType or observationType specified by the client in the SosInsertionMetadata element provided in the InsertSensor request are not supported by the SOS server supported values are listed in the InsertionCapabilities section of the Capabilities document Test method Send valid InsertSensor request containing an element of a type as described above with value that is not listed in the Capabilities to the server and verify that the server returns an exception with the ExceptionCode “InvalidParameterValue” and locator value Copyright © 2012 Open Geospatial Consortium. 119 “featureOfInterestType” or “observationType” Test type Conformance

14.3.3 Conformance Class: SOS Sensor Deletion