Handling of updatable DataArray Handling of updatable DataRecord DataChoice

216 Copyright © 2011 Open Geospatial Consortium b Test Method: Devise and execute a DescribeTasking request for each procedure. Verify that each tasking parameter description where a DataRecordDataChoice is updatable, at least one fielditem is updatable as well. c Reference: 7.3.12.1 d Test Type: Basic

11.6.2.2.3 Handling update not supported for a given procedure

http:www.opengis.netspecSPS2.0confTaskUpdaterBehaviorUpdateNotSupportedForProcedure a Test Purpose: To verify that a service which in general supports the Update operation handles Update requests for tasks of a procedure that has no updatable tasking parameters correctly. b Test Method: Devise and execute a Submit request for a procedure where the tasking parameter description retrieved via DescribeTasking has no updatable parameters. When the task was accepted, devise and execute an Update request for that task, with the same tasking parameters as those used in the Submit request. Verify that the service returns an UpdateResponse where the requestStatus is set to Rejected. c Reference: 7.3.12.1 d Test Type: Basic

11.6.2.2.4 New identifier assignment

http:www.opengis.netspecSPS2.0confTaskUpdaterBehaviorIdentifierAssignment a Test Purpose: To verify that the service assigns a new identifier to an incoming Update request and does not mix it up with the task identifier provided in the request. b Test Method: Devise and execute an Update request. Verify that the task property in the status report of the UpdateResponse does not have the same value as the task property in the Update request. c Reference: 7.3.12.1 d Test Type: Basic

11.6.2.2.5 State transition resulting of task update

http:www.opengis.netspecSPS2.0confTaskUpdaterBehaviorStateTransitions a Test Purpose: To verify that the service correctly handles state transitions of a task resulting from an update request to it. Copyright © 2011 Open Geospatial Consortium 217 b Test Method: Devise and execute an Update request targetting a scheduled task. Get the updateTime from the status report that informs about the acceptance rejection of the update request. If the request was accepted, verify that a status report exists for the updated task with the same updateTime and event TaskUpdated. Otherwise the request was rejected, verify that no such status report exists for the task that was intended to be updated. c Reference: 7.3.12.1 d Test Type: Basic

11.6.2.2.6 Structure of tasking parameters for Update

http:www.opengis.netspecSPS2.0confTaskUpdaterBehaviorHandlingTaskingParametersForUpdate a Test Purpose: To verify that tasking parameters used in an Update request are structured correctly. b Test Method: Create a task so that it is InExecution or Reserved, if the Reserve operation is supported. Remove all non-updatable components from the tasking parameter description that was provided by the service in a DescribeTasking request for the procedure associated with the task. Non-updatable components are those components in the description that have the property updatable explicitly set to false. If a non-updatable component is contained in a fielditem of a DataRecordDataChoice then completely remove that fielditem. Devise and execute Update requests with tasking parameters structured according to the resulting description. Verify that the service does not throw an InvalidParameterValue exception with locator taskingParameters. c Reference: 7.3.12.1 d Test Type: Basic

11.6.2.3 Service Metadata

11.6.2.3.1 Operation listed in Capabilities

http:www.opengis.netspecSPS2.0confTaskUpdaterServiceMetadataOperationListing a Test Purpose: Verify that the Update operation is listed as supported operation in the services metadata. b Test Method: Execute a GetCapabilities request to retrieve the operationsMetadata section. Verify that the Update operation is listed there as defined in clause 7.3.2.4.2.