202 Copyright © 2011 Open Geospatial Consortium a Test Purpose: Verify that the service correctly handles GetStatus GetTask
requests that ask for status information of a task tasking request but that information has already been discarded by the service.
b Test Method: Devise a GetStatus GetTask request for a task that was completed by the service and execute it after the minStatusTime has expired. Verify that the
service either sends an exception with code StatusInformationExpired in case it still knows the task but does no longer store status information for it or an
exception with code InvalidParameterValue in case that the service already removed all information on that task and thus does no longer “know” it with
locator task.
c Reference: 7.3.6.5, 7.3.7.5 d Test Type: Basic
11.1.2.6.4 State handling
http:www.opengis.netspecSPS2.0confCoreStateHandlingValidStateMachineImplementation
a Test Purpose: Verify that the service correctly implements the state machines defined for tasking requests tasks.
b Test Method: Devise a valid tasking request and send it to the service. Create valid GetTask GetStatus requests for the according tasks tasking requests and
send them to the service. Inspect the response to verify that no illegal transition for the tasking request task is made.
c Reference: 10, 7.3.1.5, 7.3.6, 7.3.7 d Test Type: Basic
11.1.2.6.5 State information storage
http:www.opengis.netspecSPS2.0confCoreStateHandlingStateInfoStorage
a Test Purpose: Verify that the service provides the information about the latest state transition of finalized tasks tasking requests as long as indicated in its
service metadata. b Test Method: Devise a valid request for all the tasking operations supported by
the service Submit, GetFeasibility, Update, Reserve. Send those to the service. Create valid GetTask GetStatus requests for the according tasks tasking
requests when they were finalized. Send them to the service shortly before the point in time that is defined by the updateTime of the status report that
documented the transition into the final state plus the minStatusTime duration that is stated in the contents section of the services capabilities document. Verify
Copyright © 2011 Open Geospatial Consortium 203
that each response contains information on the latest state transition made by the request task.
c Reference: 7.3.3.3 d Test Type: Basic
11.1.2.6.6 State provisioning
http:www.opengis.netspecSPS2.0confCoreStateHandlingStateProvisioning
a Test Purpose: Verify that the service provides information about the latest state of all tasks tasking requests.
b Test Method: Devise a valid request for all the tasking operations supported by the service Submit, GetFeasibility, Update, Reserve. Send those requests to the
service. Create valid GetTask GetStatus requests for the according tasks tasking
requests and send them to the service. Verify that each response contains information on the latest state transitions made by the request task so far.
c Reference: 7.3.6, 7.3.7 d Test Type: Basic
11.1.2.6.7 StatusReport Usage in GetStatusResponse
http:www.opengis.netspecSPS2.0confCoreStateHandlingReportUsageInGetStatusResponse
a Test Purpose: To verify that the service correctly provides status information in a GetStatusResponse.
Test Method: Devise and execute a valid GetStatus request for a task tasking request that was sent to the service previously that has not been finalized too long ago so that the service already
discarded status information on that task tasking request. Verify that the result property of the GetStatusResponse contains a StatusReport as defined in Table 34,
b Table 35, Table 36 and Table 37 - depending upon the nature of the actual task tasking request.
c Reference: 7.3.6.4 d Test Type: Basic
11.1.2.6.8 StatusReport Usage in GetTaskResponse
http:www.opengis.netspecSPS2.0confCoreStateHandlingReportUsageInGetTaskResponse
a Test Purpose: To verify that the service correctly provides status information in a GetTaskResponse.