Revision History | |
---|---|
Revision 0.1 | 2008-09-23 |
Initial draft. |
|
Revision 0.2 | 2008-10-25 |
This document is an abstract test suite (ATS): a compendium of test assertions applicable to Web Map Server (WMS) implementations of the WMS 1.3 Application Profile for EO Products (OGC 07-063r1). This ATS also covers WMS 1.1.1 servers which conform to the service metadata and GetMap behaviour of the EO Profile. An ATS provides a basis for developing an executable test suite (ETS) to verify that the implementation under test (IUT) conforms to all relevant functional specifications.
The abstract test cases (assertions) are organized into test groups that correspond to sets of capabilities. The following test groups are defined:
Two conformance levels are defined:
There are some limitations and conditions to the ATS:
The WMS-GetCapabilities
test group includes assertions
covering descriptions of conformance Level 1 and Level 2 capabilities.
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-1:minimalrequest | ||||
---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a GetCapabilities request with only mandatory parameters is submitted, the response is valid XML that validates against the WMS 1.3.0 GetCapabilities schema. | ||||
Test method |
Submit a request to the server with the following parameters and values:
|
||||
Reference |
|
||||
Test type | Basic. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-1:datatypelayer | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a GetCapabilities request with only mandatory parameters is submitted, the response contains LAYER element(s) with associated TIME element. | |||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
|||||||||
Reference |
|
|||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-1:timedimension | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that each datatype LAYER element containes a nested 'time' DIMENSION element that advertises 'nearestValue' support. | |||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
|||||||||
Reference |
|
|||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-1:singletime | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a single time value is associated with a datatype LAYER, the response to a basic GetCapabilities request uses the correct single moment date-time format. | |||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
|||||||||
Reference |
|
|||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-1:multipletime | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when multiple product time values are associated with a datatype LAYER, the response to a basic GetCapabilities request uses the correct date-time list format. | |||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
|||||||||
Reference |
|
|||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-1:intervaltime | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when an interval of time is associated with a datatype LAYER, the response to a basic GetCapabilities request uses the correct date-time range format. | |||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
|||||||||
Reference |
|
|||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-2:queryableoutline | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when the WMS server supports bounding box outlines, these are accessed via a single queryable LAYER, nested in the datatype LAYER. | ||||||||||||
Test method |
Submit a request to the server with the following parameters and values:
white, yellow, orange, red, magenta, blue, cyan, green, brown, black |
||||||||||||
Reference |
|
||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-2:bandcoverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when the WMS server supports multiple bands of data in a sample dimension, these bands are listed and nested in the datatype LAYER. | |||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
|||||||||
Reference |
|
|||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-2:geophysicalparameter | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when the WMS server supports geophysical parameter data, these parameters are listed in the datatype LAYER as nested LAYER elements. | ||||||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
||||||||||||
Reference |
|
||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getcapabilities:level-2:spatialmetadata | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when the WMS server supports spatial metadata bitmasks, these bitmasks are listed in the datatype LAYER as nested LAYER elements. | ||||||||||||
Test method |
Submit a request to the server with the following parameters and values:
|
||||||||||||
Reference |
|
||||||||||||
Test type | Capability. |
The WMS-GetMap
test group includes assertions
covering response behaviour to conformance Level 1 and Level 2
map requests.
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-1:minimalrequest | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a GetMap request with only mandatory parameters is submitted, the response is not an exception. | ||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
||||||||||||||||||||||||||||||||
Reference |
|
||||||||||||||||||||||||||||||||
Test type | Basic. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-1:missingtime | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a GetMap request with a missing Time parameter is submitted, the response is valid XML that validates against the OWS Common 1.1.0 ExceptionReport schema. | |||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
|||||||||||||||||||||||||||
Reference |
|
|||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-1:singlebandmap | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a single band value datatype is requested, the default response is a grey-scale image. | ||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
||||||||||||||||||||||||||||||||
Reference |
|
||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-1:multiplebandmap | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a single band value datatype is requested, the default response is a false colour composite image. | ||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
||||||||||||||||||||||||||||||||
Reference |
|
||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-1:geophysicalmap | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a single band value datatype is requested, the default response is a pseudo-colour image. | ||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
||||||||||||||||||||||||||||||||
Reference |
|
||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-2:outlinemap | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a queryable outline LAYER is available and requested, a map showing individual product bounding boxes is returned. | ||||||||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
||||||||||||||||||||||||||||||||||||||
Reference |
|
||||||||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-2:singlebandmap | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a single band dataset is requested, a greyscale map is returned. | |||||||||||||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
|||||||||||||||||||||||||||||||||||||||||||
Reference |
|
|||||||||||||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-2:multiplebandmap | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a three dataset band are requested, a corresponding false colour composite map is returned. | |||||||||||||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
|||||||||||||||||||||||||||||||||||||||||||
Reference |
|
|||||||||||||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-2:invalidbandrequest | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when sample dimension (band) request is made with other than 1 or 3 band values specificed, the response is valid XML that validates against the OWS Common 1.1.0 ExceptionReport schema. | |||||||||||||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
|||||||||||||||||||||||||||||||||||||||||||
Reference |
|
|||||||||||||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-2:geophysicalmap | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a geophysical parameter LAYER is requested, the corresponding pseudo-colour map is returned. | |||||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
|||||||||||||||||||||||||||||||||||
Reference |
|
|||||||||||||||||||||||||||||||||||
Test type | Capability. |
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getmap:level-2:bitmaskmap | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a spatial metadata LAYER is requested, a bitmask map with the requested colour is returned. | ||||||||||||||||||||||||||||||||||||||
Test method |
Submit two requests to the server with the following parameters and values:
|
||||||||||||||||||||||||||||||||||||||
Reference |
|
||||||||||||||||||||||||||||||||||||||
Test type | Capability. |
The WMS-GetFeatureInfo
test group covers Level-2 assertions
related to requests for feature information from optional product outline LAYER
elements.
Test case identifier | urn:ogc:cite:ats:wms:1.3.0:07-063r1:eo:getfeatureinfo:level-2:productmetadata | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Test purpose (assertion) | Verify that when a product bounding box outline is selected from a queryable outline LAYER, the metadata for an individual product is returned. | |||||||||||||||||||||||||||||||||||||
Test method |
Based on the successful returns of a queryable outline LAYER map, submit a requests to the
server with the following parameters and values:
|
|||||||||||||||||||||||||||||||||||||
Reference |
|
|||||||||||||||||||||||||||||||||||||
Test type | Capability. |