Capability Test Conformance Class – Reservation Manager

210 Copyright © 2011 Open Geospatial Consortium a Test Purpose: Verify that the server implements the Reservation Manager conformance class. b Test Method: Verify that the server implements the Core conformance class. Verify the conformance tests listed in section 11.3.2 c Reference: see references in conformance tests d Test Type: Capability

11.3.2 Modules with Basic Tests

11.3.2.1 Structure

11.3.2.1.1 Confirm operation facet validity

http:www.opengis.netspecSPS2.0confReservationManagerStructureConfirmOperationFacetValidity a Test Purpose: To verify that the service provides the correct response when the Confirm operation is invoked. b Test Method: Devise and execute a Confirm request. Verify that the service responds with a valid ConfirmResponse or exception. c Reference: 7.3.10 d Test Type: Basic

11.3.2.1.2 Reserve operation facet validity

http:www.opengis.netspecSPS2.0confReservationManagerStructureReserveOperationFacetValidity a Test Purpose: To verify that the service provides the correct response when the Reserve operation is invoked. b Test Method: Devise and execute a Reserve request. Verify that the service responds with a valid ReserveResponse or exception. c Reference: 7.3.9 d Test Type: Basic

11.3.2.2 Service Metadata

11.3.2.2.1 Operations listed in Capabilities

http:www.opengis.netspecSPS2.0confReservationManagerServiceMetadataOperationsListing a Test Purpose: Verify that the Reserve and Confirm operations are listed as supported operations in the services metadata. Copyright © 2011 Open Geospatial Consortium 211 b Test Method: Execute a GetCapabilities request to retrieve the operationsMetadata section. Verify that the Reserve and Confirm operations are listed there as defined in clause 7.3.2.4.2. c Reference: 7.3.2.4.2 d Test Type: Basic

11.3.2.3 Behavior

11.3.2.3.1 Handling of incorrect expiration time

http:www.opengis.netspecSPS2.0confReservationManagerBehaviorIncorrectExpirationTime a Test Purpose: To verify that the service rejects reservation requests with incorrect expiration time. b Test Method: Devise a Reserve request with valid tasking parameters and with an expiration time in the past. Execute the request. Verify that the response has requestStatus Rejected. c Reference: 7.3.9.1 d Test Type: Basic

11.3.2.3.2 Reservation confirmation

http:www.opengis.netspecSPS2.0confReservationManagerBehaviorReservationConfirmation a Test Purpose: To verify that the service correctly handles the confirmation of a reserved task. b Test Method: Given a reserved task that has not expired yet. Confirm the task. If the response has requestStatus rejected, ensure that the task has taskStatus Failed get the status of the task e.g. via GetStatus operation. Otherwise, ensure that task status is either InExecution, Completed, Cancelled or Failed or substate thereof. Note: further checks would be possible if State Logger conformance class is implemented. c Reference: 7.3.10 d Test Type: Basic

11.3.2.3.3 Reservation expiration

http:www.opengis.netspecSPS2.0confReservationManagerBehaviorReservationExpiration