The OGC Web Map Service Client Test-Suite provides the Executable Test Script (ETS) to test implementations against the following specification(s):
In order to test a client implementation, this test suite creates an intercepting proxy for interacting with one of the known WMS 1.3.0 reference implementations. The test test suite will record the request performed by the client to check if the client has performed correctly all the required operations, as specified in the Annex A of the OGC 06-042.
The Annex A list two conformance classes that only apply for clients:
A.1.1 Basic WMS Client:
A.2.1 Client for queryable WMS – GetFeatureInfo request
The client is required to perform the following minimum operations, based on the Annex A:
If at any point in time while the client is interacting with the server, the client performs a non-valid request, the test will fail.
The client capabilities listed below are not currently tested. The relevant specification references are enclosed in square brackets.
The executable test cases that comprise this test suite are briefly summarized below.
Test Assertion: The WMS client is valid.
Total number of tests in this group: 3
Test Assertion: The client GetCapabilities request is valid.
Test Assertion: Each of the mandatory parameters is present (SERVICE and REQUEST).
Test Assertion: The value of the REQUEST parameter is GetCapabilities, GetMap or GetFeatureInfo.
Total number of tests in this group: 16
Test Assertion: The client GetMap request is valid.
Test Assertion: The core parameters for a GetMap request are valid.
Test Assertion: The number of the LAYERS requested does not exceed the layer limit.
Test Assertion: Each of the values in the LAYERS parameter is a valid layer name.
Test Assertion: The number of styles requested matches the number of layers requested.
Test Assertion: Each of the values in the STYLES parameter is a valid style for its matching layer.
Test Assertion: The BBOX is a list of comma-separated real numbers in the form “minx,miny,maxx,maxy”.
Test Assertion: For layers that are not subsettable, the BBOX parameter must match the bounding box declared for the layer.
Test Assertion: The value of the FORMAT parameter is one of the formats listed in the service metadata.
Test Assertion:
*Test Assertion:*T he value of the TRANSPARENT parameter is ‘TRUE’ or ‘FALSE’.
Test Assertion: The value of the EXCEPTIONS parameter is one of the formats listed in the service metadata.
Total number of tests in this group: 10
Test Assertion: The client GetFeatureInfo request is valid.
Test Assertion: The QUERY_LAYERS parameter contains at least one layer name.
Test Assertion: Each of the values in the QUERY_LAYERS parameter is a layer from the original GetMap request.
Test Assertion: Each of the values in the QUERY_LAYERS parameter must be a queryable layer. That is, the layer attribute “queryable” must evaluate to true (xsd:boolean); it may be inherited.
Test description See ISO 19128:2005, cl. 7.2.4.7.2: Queryable layers. See ISO 19128:2005, cl. 7.4.1: General.
Test Assertion: The value of the INFO_FORMAT parameter is one of the formats listed in the service metadata.
Test Revision | TEAM Engine Version |
---|---|
1.0 | 4.1, 4.2, 4.3 , 4.4 |
1.1 | 4.1, 4.2, 4.3 , 4.4 |
1.2 | 4.5 |
Issue tracker is available at github
The cite-forum is where software developers discuss issues and solutions related to OGC tests.
Release notes are available here.