Overview
This document is a detailed abstract test suite (ATS), a compendium of
test assertions applicable to all client and server implementations of
the Web Map Tile Service Standard. 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) in this ATS are organized into test
groups that correspond to distinct conformance classes or sets of
capabilities for client and server defined in the more general ATS
specified in Annex A of the WMTS v1.0 specification [OGC 07-057r7] and
Annex A of the OGC Web Services Common Specification Version 1.1.0 [OGC
06-123r3]. The WMTS standard does not require a WMTS server to provide
any particular one of the architectural style interfaces (KVP = Key
Value Pair, SOAP was originally Simple Object Access Protocol, but is
now the name of an XML encoding) (KVP GET, KVP POST, XML POST, SOAP POST
and RESTful). And the WMTS Annex A states that "In the client and server
test modules, all operations specified and implemented SHALL be tested
... Any optional item not implemented by a server SHALL not be tested.
Also, items not implemented by a client SHALL not be tested."
This means that an ETS must examine a Service Metadata XML document to
determine what operations are implemented by a server. And there is no
requirement for a WMTS client to provide any sort of Service Metadata
document that can be parsed to determine what operations are implemented
by a client.
So an ETS SHALL prompt the tester to supply a URL for a KVP GET or
RESTful GetCapabilities request that will cause the WMTS server to
return a Capabilities response Service Metadata XML document. The ETS
SHALL then parse the Capabilities document to determine which
architectural style interfaces (KVP GET, KVP POST, XML POST, SOAP POST
and RESTful) the WMTS server supports.
-
The ETS SHALL offer the tester a menu of test groups of server
capabilities for the supported interfaces that are available for test;
-
The ETS MAY offer the tester menus of individual tests within test
groups of server capabilities so that only specified tests can be run
as unit tests during server development.
-
The ETS SHALL offer the tester a corresponding menu of test groups of
client capabilities and interfaces that may be tested if the client
implements them.
-
The ETS MAY offer the tester menus of individual tests within test
groups of client capabilities so that only specified tests can be run
as unit tests during client development.
The tester SHALL then select the test groups to be executed for the
client and/or server from those offered for test by the ETS, and if the
ETS offers menus of individual tests, MAY select individual tests within
the selected test groups to be executed for the client and/or server.
For client tests, the ETS shall act as an proxy intermediary between the
client and server. It shall provide the tester with its own proxy server
URL service endpoints for the test groups the tester selects to test,
and rewrite the Capabilities response document returned to the client to
include those proxy URLs. The tester must configure the client to use
these URLs, and invoke client requests by hand; the ETS is not required
to script the client tests.
For server tests, the ETS shall act as a client, issuing requests to
execute the test groups selected by the tester.
The following test groups are defined. The Initial Bootstrap is
mandatory to determine which interfaces are supported by the server. The
tester shall select the GetCapabilities and GetTile Mandatory test
groups for at least one of the supported architectural style interfaces,
and may select one or more of the other Mandatory and Optional test
groups that are supported by the client / server:
-
Initial Bootstrap
KVP GET or RESTful GetCapabilities
-
Client KVP GET Interface --- Mandatory
GetCapabilities
-
Client KVP GET Interface --- Mandatory
GetTile
-
Client KVP GET Interface --- Optional
GetFeatureInfo
-
Client KVP POST Interface -- Mandatory
GetCapabilities
-
Client KVP POST Interface -- Mandatory
GetTile
-
Client KVP POST Interface -- Optional
GetFeatureInfo
-
Client XML POST Interface -- Mandatory
GetCapabilities
-
Client XML POST Interface -- Mandatory
GetTile
-
Client XML POST Interface -- Optional
GetFeatureInfo
-
Client SOAP POST Interface - Mandatory
GetCapabilities
-
Client SOAP POST Interface - Mandatory
GetTile
-
Client SOAP POST Interface - Optional
GetFeatureInfo
-
Client RESTful Interface ----- Mandatory
GetCapabilities
-
Client RESTful Interface ----- Mandatory
GetTile
-
Client RESTful Interface ----- Optional
GetFeatureInfo
-
Server KVP GET Interface --- Mandatory
Common Operation Properties
-
Server KVP GET Interface --- Mandatory
GetCapabilities
-
Server KVP GET Interface --- Mandatory
GetTile
-
Server KVP GET Interface --- Optional
GetFeatureInfo
-
Server KVP POST Interface -- Mandatory
Common Operation Properties
-
Server KVP POST Interface -- Mandatory
GetCapabilities
-
Server KVP POST Interface -- Mandatory
GetTile
-
Server KVP POST Interface -- Optional
GetFeatureInfo
-
Server XML POST Interface -- Mandatory
Common Operation Properties
-
Server XML POST Interface -- Mandatory
GetCapabilities
-
Server XML POST Interface -- Mandatory
GetTile
-
Server XML POST Interface -- Optional
GetFeatureInfo
-
Server SOAP POST Interface - Mandatory
Common Operation Properties
-
Server SOAP POST Interface - Mandatory
GetCapabilities
-
Server SOAP POST Interface - Mandatory
GetTile
-
Server SOAP POST Interface - Optional
GetFeatureInfo
-
Server RESTful Interface ----- Mandatory
Common Operation Properties
-
Server RESTful Interface ----- Mandatory
GetCapabilities
-
Server RESTful Interface ----- Mandatory
GetTile
-
Server RESTful Interface ----- Optional
GetFeatureInfo
-
Client Interface Summary --- Mandatory
Conformant Architectural Style Interfaces
-
Server Interface Summary --- Mandatory
Conformant Architectural Style Interfaces
Test groups and individual tests in this ATS are one of three types:
-
"Mandatory" - required for test suite conformance;
-
"Mandatory if Implemented" - required for test suite conformance if
implemented;
-
"Optional" - not required for test suite conformance;
"Mandatory" test groups MAY include test groups or individual tests that
are "Mandatory if Implemented".
Test groups and individual tests of any type may specify prerequisites.
Prerequisites are stated for individual WMTS tests in all test groups in
this ATS. For some tests of the "Mandatory if Implemented" type,
prerequisites allows an ETS to determine whether or not a server
capability has been implemented; for others, the test itself must be
executed to make this determination. For all tests that the tester
selects for execution, an ETS SHALL check prerequisites, SHALL execute
those with no prerequisistes and those for which all prerequisites are
satisified, and SHALL skip those for which any prerequisite is not
satisified.
During a test session, an ETS SHALL set the status of each individual
test as follows:
-
"Continue" if the tester aborted testing before the test was complete;
-
"BestPractice" if all test assertions and all best practice assertions
are found to be true;
-
"Passed" if all test assertions are found to be true, and either there
are no best practice assertions, or a best practice assertion failed;
-
"NotTested" if the test is not selected for execution;
-
"Warning" if the test was selected for execution, prerequisites were
met, but the test did not complete;
-
"Skipped" if the test prerequisites are not met, or if the capability
IUT is not implemented;
-
"Failed" if one or more test assertions are found to be false.
-
"InheritedFailure" if one or more child tests of a Mandatory or
Mandatory if Implemented test Failed or InheritedFailure
During a test session, an ETS SHALL initially set the status of each
"parent" test group to "BestPractice". It SHALL then modify the "parent"
test group status based on inheritance of the status of each "child"
test (individual and group) contained therein, as follows:
Inherited "Parent" Test Status
|
"Child" Test Status
|
"Child" Test Type
|
|
Mandatory
|
Mandatory if Implemented
|
Optional
|
Continue
|
Inherited Failure
|
Inherited Failure
|
Unchanged
|
Best Practice
|
Unchanged
|
Unchanged
|
Unchanged
|
Passed
|
Passed if parent status was Best Practice, otherwise Unchanged
|
Not Tested
|
Inherited Failure
|
Inherited Failure
|
Unchanged
|
Warning
|
Inherited Failure
|
Inherited Failure
|
Unchanged
|
Skipped
|
Inherited Failure
|
Unchanged
|
Unchanged
|
Failed
|
Inherited Failure
|
Inherited Failure
|
Unchanged
|
Inherited Failure
|
Inherited Failure
|
Inherited Failure
|
Unchanged
|
At the end of a test session, an ETS SHALL:
These test groups will determine WMTS standard conformance, which is
achieved by client and/or server for each architectural style interface
for which all "Mandatory" and "Mandatory if Implemented" tests have a
status of "BestPractice" or "Passed".
Comprehensive test data for a WMTS enables testing of all mandatory and
optional WMTS operations in all architectural style interfaces across the
entire extent of all allowed elements of the WMTS contents data model ((o)
= optional element):
A WMTS server used in this ETS SHOULD advertise in its Service Metadata
document and serve data with the following characteristics to enable
completion of all tests:
18. Server KVP GET
Interface - Mandatory GetCapabilities Operation
Purpose
The Server KVP GET Interface - Mandatory
GetCapabilities
test group includes KVP GET
GetCapabilities responses from the WMTS server to exercise all
supported request parameters and validate response contents.
Table 18.1. Server KVP GET - GetCapabilities - Request
with mandatory parameters
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP GET
GetCapabilities request with mandatory parameters with a
Service Metadata document containing all sections.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a valid WMTS Service Metadata
document containing all sections.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.2. Server KVP GET - GetCapabilities - Request
with no service parameter
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.NoService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP GET
GetCapabilities request with a missing service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request without the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.3. Server KVP GET - GetCapabilities - Request
with invalid service parameter
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.InvalidService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP GET
GetCapabilities request with an invalid service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of BOGUS ;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.4. Server KVP GET - GetCapabilities - Optional
AcceptVersions parameter with valid value
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.AcceptVersions.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains an
<ows:Parameter name="Versions"> element with an
<ows:AllowedValues> element with an <ows:Value>
element with a value that contains three non-negative
integers separated by decimal points, in the form
"x.y.z". The integers y and z shall not exceed 99.
|
Test purpose
|
Test that a WMTS server performs version negotiation with a
client correctly; that it replies to a KVP GET
GetCapabilities request containing the optional AcceptVersions parameter with a valid
version value(s) that are supported by the server, with a
valid ServiceMetadata document for the first such version.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.5. Server KVP GET - GetCapabilities - Optional
AcceptVersions parameter with invalid value
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.AcceptVersions.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains an
<ows:Parameter name="Versions"> element with an
<ows:AllowedValues> element with an <ows:Value>
element with a value that contains three non-negative
integers separated by decimal points, in the form
"x.y.z". The integers y and z shall not exceed 99.
|
Test purpose
|
Test that a WMTS server issues a valid exception report and
HTTP status code in response to a KVP GET GetCapabilities
request containing the optional AcceptVersions
parameter with a version value not supported by the server.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 5 p. 16
-
OGC-06-121r3
: cl. 7.3.1, p. 19
-
OGC-06-121r3
: cl. 7.3.2, p. 19
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl. 8.1, p. 50
-
OGC-07-057r7
: cl. A.3.2.3, p. 75
|
Test type
|
Capability
|
Table 18.6. Server KVP GET - GetCapabilities - Request
Case Insensitive KVP names
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.CaseInsensitive.KVP.Names
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server provides the same response no matter
what upper and lower case capitalization conventions are
used for KVP GET parameter names, and no matter what order
the parameters are provided in.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
The
test generates valid KVP GET GetCapabilities requests
with request , service , and version
parameters with values of "GetCapabilities", "WMTS",
and "1.0.0" respectively, with parameter names using
various combinations of cases, with a variety of
parameter sequences;
-
the
response entities for all requests are identical.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.7. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = All
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.All
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a complete Service Metadata
document in response to a KVP GET GetCapabilities request
containing the optional Sections
parameter with a value of All .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is All
-
the
response entity is a valid WMTS Service Metadata
document containing all sections.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.8. Server KVP GET - GetCapabilities - Optional
parameter - Sections - value = ServiceIdentification
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.ServiceIdentification
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceIdentification
section in response to a KVP GET GetCapabilities request
containing the optional Sections
parameter with a value of ServiceIdentification .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.9. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = ServiceProvider
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.ServiceProvider
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceProvider
section in response to a KVP GET GetCapabilities request
containing the optional Sections
parameter with a value of ServiceProvider .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.10. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = OperationsMetadata
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.OperationsMetadata
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the OperationsMetadata
section in response to a KVP GET GetCapabilities request
containing the optional Sections
parameter with a value of OperationsMetadata .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.11. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = Contents
Test case identifier
|
Server.KVP.GET.GetCapabilities.Reaquest.Sections.Contents
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents
section in response to a KVP GET GetCapabilities request
containing the optional Sections
parameter with a value of Contents .
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Contents
-
the
response entity is a valid WMTS Service Metadata
document containing only the Contents
section.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.12. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = Themes
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.Themes
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Themes section
in response to a KVP GET GetCapabilities request containing
the optional Sections parameter
with a value of Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a valid WMTS Service Metadata
document containing only the Themes
section.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.13. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = Contents, Themes
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.Multiple
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents and
Themes sections in response to a
KVP GET GetCapabilities request containing the optional
Sections parameter with a value
containing multiple sections, i.e. Contents,Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.14. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = Bogus
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a KVP GET GetCapabilities
request containing the optional Sections
parameter with a value of Bogus .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Bogus
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.15. Server KVP GET - GetCapabilities Request -
Optional parameter - Sections - value = Missing
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.Sections.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a KVP GET GetCapabilities
request containing the optional Sections
parameter with a missing value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is missing
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.16. Server KVP GET - GetCapabilities Reaquest -
Optional parameter - updateSequence
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.UpdateSequence
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Capabilities element
that contains an updateSequence attribute with a
value.
|
Test purpose
|
Verify that a server satisfies the requirements for
generating and using the updateSequence parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Operation
Request and Service Metadata updateSequence values are
equal
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is equal to
the value of the request UpdateSequence
parameter value.
-
the
response entity is a Service Metadata document
with only version and
updateSequence
parameters.
-
Operation
Request updateSequence value is less than Service
Metadata updateSequence value.
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is greater
than the value of the request UpdateSequence
parameter value.
-
the
response entity is the most recent Service
Metadata document.
-
Operation
Request updateSequence value is greater than Service
Metadata updateSequence value.
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is less
than the value of the request UpdateSequence
parameter value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode
attribute value of "InvalidUpdateSequence".
-
the
response entity does not contain a locator
attribute.
-
the
HTTP status code value is set to 400,
corresponding to the message "Bad Request".
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.17. Server KVP GET - GetCapabilities Request -
Optional parameter - AcceptFormats
Test case identifier
|
Server.KVP.GET.GetCapabilities.Request.AcceptFormats.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains more
than one <Parameter name="AcceptFormats"><AllowedValues><Value>
child elements containing the MIME types that the
server can use to encode a Service Metadata document.
At lease one of these MIME types is not application/xml
|
Test purpose
|
Verify that a server satisfies the requirements for format
selection, if the server implements the AcceptFormats
request parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Request
AcceptFormats parameter value is supported by the
server.
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional AcceptFormats
parameter with a value that is listed in a <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded in the requested format.
-
Request
AcceptFormats parameter value is not supported by the
server.
-
the
request entity is a valid KVP GET GetCapabilities
request with the optional AcceptFormats
parameter with a value that is not listed in a
<Parameter name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded as application/xml .
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.18. Server KVP GET - GetCapabilities - Response
Service Metadata document XML is well-formed
Test case identifier
|
Server.KVP.GET.GetCapabilities.Response.XML.Well.Formed
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP GET
GetCapabilities request with mandatory parameters with a
Service Metadata document that is well-formed XML.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a well-formed XML document.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.19. Server KVP GET - GetCapabilities - Response
Service Metadata document references normative schema
Test case identifier
|
Server.KVP.GET.GetCapabilities.Response.SchemaReferenced
|
Prerequisites
|
XML
Well-Formed Server KVP GET - GetCapabilities
-
the
response entity is a well-formed XML document.
|
Test purpose
|
Test that a WMTS server responds to a KVP GET
GetCapabilities request with mandatory parameters with a
Service Metadata document that references the normative XML
schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity references a normative (wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.20. Server KVP GET - GetCapabilities - Response
Service Metadata document is schema-valid
Test case identifier
|
Server.KVP.GET.GetCapabilities.Response.SchemaValid
|
Prerequisites
|
Schema
Referenced Server KVP GET - GetCapabilities
-
the
response entity references a normative (wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Test that a WMTS server responds to a KVP GET
GetCapabilities request with mandatory parameters with a
Service Metadata document that is schema-valid with respect
to the normative XML schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.21. Server KVP GET - GetCapabilities - Response
Advertised Format application/xml
Test case identifier
|
Server.KVP.GET.GetCapabilities.Response.AdvertisedFormat
|
Prerequisites
|
Schema
Valid Server KVP GET - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS server advertises the application/xml
format for the GetCapabilities operation.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity contains an optional <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element with the value application/xml
for the <ows:Operation name="GetCapabilities">
operation.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.22. Server KVP GET - GetCapabilities - Response
OnlineResource is only resource prefix
Test case identifier
|
Server.KVP.GET.GetCapabilities.Response.OnlineResource
|
Prerequisites
|
Schema
Valid Server KVP GET - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each OnlineResource URL intended for HTTP Get
requests in the ServiceMetadata document is a URL prefix.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <ows:Operation><ows:DCP><ows:HTTP><ows:Get>
xlink:href attribute values are all URL prefixes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.23. Server KVP GET - GetCapabilities - Response
includes GetEncoding constraint
Test case identifier
|
Server.KVP.GET.GetCapabilities.Response.GetEncoding.Constraint
|
Prerequisites
|
Schema
Valid Server KVP GET - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that a server satisfies the requirements for using
the ows:Constraint GetEncoding parameter.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP GET GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <ows:Operation><ows:DCP><ows:HTTP><ows:Get><ows:Constraint>
element name attribute has a
value of "GetEncoding" and a grandchild <ows:AllowedValues><ows:Value>
element with a value of "KVP".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
19. Server KVP GET Interface -
Mandatory GetTile Operation
Purpose
The Server KVP GET Interface - Mandatory
GetTile
test group includes KVP GET GetTile requests to
the WMTS server to exercise all supported parameters.
Table 19.1. Server KVP GET - GetTile - Mandatory
parameters
Test case identifier
|
Server.KVP.GET.GetTile.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid KVP GET
GetTile requests with valid values for mandatory parameters
as specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.2. Server KVP GET - GetTile - Optional Parameter
- sample dimensions
Test case identifier
|
Server.KVP.GET.GetTile.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with three or more
<Dimension>s.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid KVP GET
GetTile requests with optional sample dimensions parameter
valid values from the range specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.3. Server KVP GET - GetTile - Missing mandatory
parameters
Test case identifier
|
Server.KVP.GET.GetTile.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Verify that if a mandatory KVP GET GetTile parameter is
missing from an otherwise valid request, the server throws
an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no sample
dimensions or with every sample dimension having a
default value, except when tested as missing;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document,
except when tested as missing;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameterwith a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the request
entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the request
entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the HTTP
status code value is set to 400, corresponding to the
message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.4. Server KVP GET - GetTile - Invalid Layer
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
the
response entity has one or more <Layer>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.5. Server KVP GET - GetTile - Invalid
TileMatrixSet
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <TileMatrixSet>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrixSet
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.6. Server KVP GET - GetTile - Invalid TileMatrix
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has two or more <TileMatrix>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrix
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.7. Server KVP GET - GetTile - Invalid Row - no
TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.8. Server KVP GET - GetTile - Invalid Col - no
TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.9. Server KVP GET - GetTile - Invalid Row -
TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.10. Server KVP GET - GetTile - Invalid Col -
TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow parameter with a TileRow
index value within the TileMatrixLimits MinTileRow and
MaxTileRow values for the TileMatrix of the tile in
the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.11. Server KVP GET - GetTile - Invalid Style
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Verify that when GetTile a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.12. Server KVP GET - GetTile - Missing Optional
Parameters
Test case identifier
|
Server.KVP.GET.GetTile.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with no <Default> value.
|
Test purpose
|
Verify that when a GetTile request for a tile from a layer
with a sample dimension with no default sample dimension
value is missing a request parameter for the sample
dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetTile request
without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.13. Server XML POST - GetTile - Invalid Sample
Dimension Name
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains the name not
defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetTile request with
an optional sample dimensions
parameter with a name that is not specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
an optional sample dimensions
parameter with any value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.14. Server KVP GET - GetTile - Invalid Sample
Dimension Value
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains a parameter name
defined as a sample dimension with a value that is not
defined for that dimension in the Service Metadata document,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetTile request with
an optional sample dimensions
parameter with a name that is specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
an optional sample dimensions
parameter with a value that is not specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.15. Server KVP GET - GetTile - Default Sample
Dimension
Test case identifier
|
Server.KVP.GET.GetTile.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Default> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP GET GetTile requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
default tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.16. Server KVP GET - GetTile - Current Sample
Dimension
Test case identifier
|
Server.KVP.GET.GetTile.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Current> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP GET GetTile requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
current tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.17. Server KVP GET - GetTile - Valid Tile Format
Test case identifier
|
Server.KVP.GET.GetTile.Valid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid KVP GET GetTile requests with the tile formats
advertised in the Service Metadata Document for each layer,
and each sample dimension if applicable, are in the MIME
types of the requested formats.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources in MIME types corresponding to the requested
formats. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.18. Server KVP GET - GetTile - Invalid Tile
Format
Test case identifier
|
Server.KVP.GET.GetTile.Invalid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that the responses returned by a WMTS server to KVP GET
GetTile requests with tile formats not advertised in the
Service Metadata Document for each layer, and each sample
dimension if applicable, are valid exception reports.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter with a MIME type format value not advertised
in the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity for a layer with sample dimensions is a
valid KVP GET GetTile request with an optional sample dimensions parameter with a
name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity for a layer with sample dimensions is a
valid KVP GET GetTile request with an optional sample dimensions parameter with a
value from one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document.
-
the
server returns a schema-valid ows:Exception document
for an invalid (unadvertised) format for each Layer
(and sample dimension, if applicable) offered by the
server.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"format".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document, and formats not in the Service
Metadata document. Check that responses contain valid
exception reports and HTTP status codes. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.19. Server KVP GET - GetTile - Valid Tile Size
Test case identifier
|
Server.KVP.GET.GetTile.Valid.Tile.Size
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid KVP GET GetTile requests with the tile sizes (TileWidth and TileHeight )
advertised in the Service Metadata Document for each
TileMatrix in the TileMatrixSet of a Layer, and for each
sample dimension of Layers with Dimensions, are the
advertised sizes.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources of the correct sizes. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 19.20. Server KVP GET - GetTile - Valid Tile
Transparency
Test case identifier
|
Server.KVP.GET.GetTile.Valid.Tile.Transparency
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Verify that the returned tile has transparent color for
NODATA values.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Layer with a
layer identifier value equal to a <Layer><ows:Identifier>
value from the Service Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><InfoFormat> value for
the specified Layer from the Service Metadata document
for a format that supports transparency, e.g. image/png ;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity for a layer with sample dimensions is a
valid KVP GET GetTile request with an optional sample dimensions parameter with a
name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity for a layer with sample dimensions is a
valid KVP GET GetTile request with an optional sample dimensions parameter with a
value from one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document.
-
the
requested entity is a tile with NODATA.
-
the
server returns a tile with NODATA in the requestred
format that supports transparency, e.g. image/png as a transparent image.
|
Test method
|
Send a correct request for a Layer in a format that supports
transparency and in a tile where NODATA values are expected
and test for transparent color there. Pass if all assertions
hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
20. Server KVP GET
Interface - Optional GetFeatureInfo Operation
Purpose
The Server KVP GET Interface - Optional
GetFeatureInfo
test group includes KVP GET GetFeatureInfo
requests to the WMTS server to exercise all supported
parameters.
Table 20.1. Server KVP GET - GetFeatureInfo - Mandatory
parameters
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid KVP GET GetFeatureInfo requests with valid
values for mandatory parameters as specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 20.2. Server KVP GET - GetFeatureInfo - Optional
Parameter - sample dimensions
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid KVP GET GetFeatureInfo requests with
optional sample dimensions parameter valid values from the
range specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 20.3. Server KVP GET - GetFeatureInfo - Missing
mandatory parameters
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that if a mandatory KVP GET GetFeatureInfo parameter
is missing from an otherwise valid request, the server
throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements and with no sample dimensions or with every
sample dimension having a default value; except when
tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document, except when
tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document, except when tested as
missing;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
-
J
-
I
-
InfoFormat
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.4. Server KVP GET - GetFeatureInfo - Invalid
Layer
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value not equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory InfoFormat
parameter with a MIME type format value equal to a
<Layer><InfoFormat> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory InfoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.5. Server KVP GET - GetFeatureInfo - Invalid
TileMatrixSet
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrixSet incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for a TileMatrixSet from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.6. Server KVP GET - GetFeatureInfo - Invalid
TileMatrix
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrix incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for some TileMatrix
from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.7. Server KVP GET - GetFeatureInfo - Invalid Row
- no TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.8. Server KVP GET - GetFeatureInfo - Invalid Col
- no TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.9. Server KVP GET - GetFeatureInfo - Invalid Row
- TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.10. Server KVP GET - GetFeatureInfo - Invalid
Col - TileMatrixSetLimits
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.11. Server KVP GET - GetFeatureInfo - Invalid
Style
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when GetFeatureInfo a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.12. Server KVP GET - GetFeatureInfo - Missing
Optional Parameters
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with with one or
more <InfoFormat>s and one or more <Dimension>s
with no <Default> value.
|
Test purpose
|
Verify that when a GetFeatureInfo request for a tile from a
layer with a sample dimension with no default sample
dimension value is missing a request parameter for the
sample dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter parameter with a MIME type format value
equal to an <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.13. Server KVP GET - GetFeatureInfo - Invalid
Sample Dimension Name
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains the name
not defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is not
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with any value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.14. Server KVP GET - GetFeatureInfo - Invalid
Sample Dimension Value
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
parameter name defined as a sample dimension with a value
that is not defined for that dimension in the Service
Metadata document, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a value that is not
specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.15. Server KVP GET - GetFeatureInfo - Default
Sample Dimension
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Default> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP GET GetFeatureInfo requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "default".
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a default value in response to the KVP
GET GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.16. Server KVP GET - GetFeatureInfo - Current
Sample Dimension
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Current> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP GET GetFeatureInfo requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "current".
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a current value in response to the KVP
GET GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 20.17. Server KVP GET - GetFeatureInfo -
Non-Queryable Layer
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.NonQueryable.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request is made for a
non-queryable layer, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter wwith a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with any value;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.1, p. 84
|
Test type
|
Capability
|
Table 20.18. Server KVP GET - GetFeatureInfo - Valid
InfoFormat
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Valid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that for each GetFeatureInfo format, when the
InfoFormat parameter is set to that format or URLtemplate
having a format parameter, the MIME type of the response
matches that format.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
server returns FeatureInfo in response to a valid KVP
GET GetFeatureInfo request for each offered InfoFormat
for each Layer with a FeatureInfo document of the
requested InfoFormat MIME type.
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.3, p. 85
|
Test type
|
Capability
|
Table 20.19. Server KVP GET - GetFeatureInfo - Invalid
InfoFormat
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains an InfoFormat
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is not one of
the <InfoFormat>s for the specified Layer from
the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.2, p. 84
|
Test type
|
Capability
|
Table 20.20. Server KVP GET - GetFeatureInfo - Invalid
Pixel.Row.J
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Pixel.Row.J
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Row J
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Row.J>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value greater than the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"J".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
Table 20.21. Server KVP GET - GetFeatureInfo - Invalid
Pixel.Col.I
Test case identifier
|
Server.KVP.GET.GetFeatureInfo.Invalid.Pixel.Col.I
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Col I
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Col.I>
elements;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value greater than the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"I".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
22. Server KVP POST
Interface - Mandatory GetCapabilities Operation
Purpose
The Server KVP POST Interface - Mandatory
GetCapabilities
test group includes KVP POST
GetCapabilities responses from the WMTS server to exercise all
supported request parameters and validate response contents.
Table 22.1. Server KVP POST - GetCapabilities - Request
with mandatory parameters
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document containing all sections.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a valid WMTS Service Metadata
document containing all sections.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.2. Server KVP POST - GetCapabilities - Request
with no service parameter
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.NoService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP POST
GetCapabilities request with a missing service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request without the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl. 8.1, p. 50
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
|
Test type
|
Capability
|
Table 22.3. Server KVP POST - GetCapabilities - Request
with invalid service parameter
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.InvalidService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP POST
GetCapabilities request with an invalid service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of BOGUS ;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl. 8.1, p. 50
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
|
Test type
|
Capability
|
Table 22.4. Server KVP POST - GetCapabilities - Optional
AcceptVersions parameter with valid value
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.AcceptVersions.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains an
<ows:Parameter name="Versions"> element with an
<ows:AllowedValues> element with an <ows:Value>
element with a value that contains three non-negative
integers separated by decimal points, in the form
"x.y.z". The integers y and z shall not exceed 99.
|
Test purpose
|
Test that a WMTS server performs version negotiation with a
client correctly; that it replies to a KVP POST
GetCapabilities request containing the optional AcceptVersions parameter with a valid
version value(s) that are supported by the server, with a
valid ServiceMetadata document for the first such version.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.5. Server KVP POST - GetCapabilities - Optional
AcceptVersions parameter with invalid value
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.AcceptVersions.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Capabilities
name="GetCapabilities"> element that contains a
version attribute with a version number value that
contains three non-negative integers separated by
decimal points, in the form "x.y.z". The integers y
and z shall not exceed 99..
|
Test purpose
|
Test that a WMTS server issues a valid exception report and
HTTP status code in response to a KVP POST GetCapabilities
request containing the optional AcceptVersions
parameter with a version value not supported by the server.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 5 p. 16
-
OGC-06-121r3
: cl. 7.3.1, p. 19
-
OGC-06-121r3
: cl. 7.3.2, p. 19
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl. 8.1, p. 50
-
OGC-07-057r7
: cl. A.3.2.3, p. 75
|
Test type
|
Capability
|
Table 22.6. Server KVP POST - GetCapabilities - Request
Case Insensitive KVP names
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.CaseInsensitive.KVP.Names
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server provides the same response no matter
what upper and lower case capitalization conventions are
used for KVP POST parameter names, and no matter what order
the parameters are provided in.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
The
test generates valid KVP POST GetCapabilities requests
with request , service , and version
parameters with values of "GetCapabilities", "WMTS",
and "1.0.0" respectively, with parameter names using
various combinations of cases, with a variety of
parameter sequences;
-
the
response entities for all requests are identical.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.7. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = All
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.All
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a complete Service Metadata
document in response to a KVP POST GetCapabilities request
containing the optional Sections
parameter with a value of All .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is All
-
the
response entity is a valid WMTS Service Metadata
document containing all sections.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.8. Client KVP POST - GetCapabilities - Optional
parameter - Sections - value = ServiceIdentification
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.ServiceIdentification
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceIdentification
section in response to a KVP POST GetCapabilities request
containing the optional Sections
parameter with a value of ServiceIdentification .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.9. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = ServiceProvider
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.ServiceProvider
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceProvider
section in response to a KVP POST GetCapabilities request
containing the optional Sections
parameter with a value of ServiceProvider .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.10. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = OperationsMetadata
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.OperationsMetadata
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the OperationsMetadata
section in response to a KVP POST GetCapabilities request
containing the optional Sections
parameter with a value of OperationsMetadata .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.11. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = Contents
Test case identifier
|
Server.KVP.POST.GetCapabilities.Reaquest.Sections.Contents
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents
section in response to a KVP POST GetCapabilities request
containing the optional Sections
parameter with a value of Contents .
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Contents
-
the
response entity is a valid WMTS Service Metadata
document containing only the Contents
section.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.12. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = Themes
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.Themes
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Themes section
in response to a KVP POST GetCapabilities request containing
the optional Sections parameter
with a value of Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a valid WMTS Service Metadata
document containing only the Themes
section.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.13. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = Contents, Themes
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.Multiple
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents and
Themes sections in response to a
KVP POST GetCapabilities request containing the optional
Sections parameter with a value
containing multiple sections, i.e. Contents,Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.14. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = Bogus
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a KVP POST GetCapabilities
request containing the optional Sections
parameter with a value of Bogus .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.15. Server KVP POST - GetCapabilities Request -
Optional parameter - Sections - value = Missing
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.Sections.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a KVP POST GetCapabilities
request containing the optional Sections
parameter with a missing value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is missing
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.16. Server KVP POST - GetCapabilities Reaquest -
Optional parameter - updateSequence
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.UpdateSequence
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Capabilities element
that contains an updateSequence attribute with a
value.
|
Test purpose
|
Verify that a server satisfies the requirements for
generating and using the updateSequence parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Operation
Request and Service Metadata updateSequence values are
equal
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is equal to
the value of the request UpdateSequence
parameter value.
-
the
response entity is a Service Metadata document
with only version and
updateSequence
parameters.
-
Operation
Request updateSequence value is less than Service
Metadata updateSequence value.
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is greater
than the value of the request UpdateSequence
parameter value.
-
the
response entity is the most recent Service
Metadata document.
-
Operation
Request updateSequence value is greater than Service
Metadata updateSequence value.
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is less
than the value of the request UpdateSequence
parameter value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode
attribute value of "InvalidUpdateSequence".
-
the
response entity does not contain a locator
attribute.
-
the
HTTP status code value is set to 400,
corresponding to the message "Bad Request".
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.3.4, p. 21
-
OGC-06-121r3
: table 7, p. 21
-
OGC-07-057r7
: figure 4, p. 12
-
OGC-07-057r7
: table 3, p. 13
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl. 8.1, p. 50
-
OGC-07-057r7
: cl. A.3.2.5, p. 76
|
Test type
|
Capability
|
Table 22.17. Server KVP POST - GetCapabilities Request -
Optional parameter - AcceptFormats
Test case identifier
|
Server.KVP.POST.GetCapabilities.Request.AcceptFormats.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains more
than one <Parameter name="AcceptFormats"><AllowedValues><Value>
child elements containing the MIME types that the
server can use to encode a Service Metadata document.
At lease one of these MIME types is not application/xml
|
Test purpose
|
Verify that a server satisfies the requirements for format
selection, if the server implements the AcceptFormats
request parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Request
AcceptFormats parameter value is supported by the
server.
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional AcceptFormats
parameter with a value that is listed in a <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded in the requested format.
-
Request
AcceptFormats parameter value is not supported by the
server.
-
the
request entity is a valid KVP POST GetCapabilities
request with the optional AcceptFormats
parameter with a value that is not listed in a
<Parameter name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded as application/xml .
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.18. Server KVP POST - GetCapabilities - Response
Service Metadata document XML is well-formed
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.XML.Well.Formed
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that a WMTS server responds to a KVP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that is well-formed XML.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a well-formed XML document.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.19. Server KVP POST - GetCapabilities - Response
Service Metadata document references normative schema
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.SchemaReferenced
|
Prerequisites
|
XML
Well-Formed Server KVP POST - GetCapabilities
-
the
response entity is a well-formed XML document.
|
Test purpose
|
Test that a WMTS server responds to a KVP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that references the normative XML
schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity references a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.20. Server KVP POST - GetCapabilities - Response
Service Metadata document is schema-valid
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.SchemaValid
|
Prerequisites
|
Schema
Referenced Server KVP POST - GetCapabilities
-
the
response entity references a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Test that a WMTS server responds to a KVP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that is schema-valid with respect
to the normative XML schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.21. Server KVP POST - GetCapabilities - Response
Advertised Format application/xml
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.AdvertisedFormat
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS server advertises the application/xml
format for the GetCapabilities operation.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity contains an optional <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element with the value application/xml
for the <ows:Operation name="GetCapabilities">
operation.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.22. Server KVP POST - GetCapabilities - Response
OnlineResource is only resource prefix
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.OnlineResource
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each OnlineResource URL intended for HTTP Get
requests in the ServiceMetadata document is a URL prefix.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <ows:Operation><ows:DCP><ows:HTTP><ows:Get>
xlink:href attribute values are all URL prefixes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.23. Server KVP POST - GetCapabilities - Response
includes PostEncoding constraint
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.PostEncoding.Constraint
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that a server satisfies the requirements for using
the ows:Constraint PostEncoding parameter.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <ows:Operation><ows:DCP><ows:HTTP><ows:Get><ows:Constraint>
element name attribute has a
value of "PostEncoding" and a grandchild <ows:AllowedValues><ows:Value>
element with a value of "KVP".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.24. Server KVP POST - GetCapabilities - Response
Layer Identifiers are unique
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Layer.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Layers advertised in the Service
Metadata document have different non empty identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><ows:Identifier>
element text values are all different non empty
identifiers.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.25. Server KVP POST - GetCapabilities - Response
with no Layers contains otherSource URL
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.No.Layers.OtherSource
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity does not contain any <Layer>
elements.
|
Test purpose
|
Verify that a Service Metadata document with no <Layer>
elements contains an ows:OtherSource
element with an xlink:href URL
attribute value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity contains an <ows:OtherSource>
element with an xlink:href
URL attribute value.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.26. Server KVP POST - GetCapabilities - Response
Style Identifiers are unique for each Layer
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Style.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Styles advertised in the Service
Metadata document for each Layer have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><Style><ows:Identifier>
element text values are all different non empty
identifiers for each Layer.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.27. Server KVP POST - GetCapabilities - Response
Layer LegendURLs are correct resources
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Resource
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the metadata for each of the LegendURL resources
is correct.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><Style><LegendURL>
elements must have valid values for the following
attributes:
-
format
- must be a MIME type supported output format for
the legend image
-
xlink:href
- must reference an image
-
minScaleDenominator
- must be the denominator of the minimum scale
(inclusive) for which this legend image is valid
-
maxScaleDenominator
- must be the denominator of the maximum scale
(exclusive) for which this legend image is valid
-
width
- must be the width (in pixels) of the legend
image
-
height
- must be the height (in pixels) of the legend
image
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.28. Server KVP POST - GetCapabilities - Response
Layer LegendURLs are correct formats
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Format (ATTENTION: The implementation of this test in the ETS is fully included in test GetCapabilities.Response.Layer.LegendURL.Correct.Resource)
|
Prerequisites
|
Legend
URL Metadata Server KVP POST - GetCapabilities
-
the metadata for each of the LegendURL resources is
correct.
|
Test purpose
|
Verify that the MIME-type returned for the LegendURL
resource is the advertised format.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
legend
images referenced via the response entity <Contents><Layer><Style><LegendURL>
element xlink:href
attributes must have the formats specified in the
format attributes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.29. Server KVP POST - GetCapabilities - Response
Layer LegendURLs are correct sizes
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Size (ATTENTION: The implementation of this test in the ETS is fully included in test GetCapabilities.Response.Layer.LegendURL.Correct.Resource)
|
Prerequisites
|
Legend
URL Metadata Server KVP POST - GetCapabilities
-
the metadata for each of the LegendURL resources is
correct.
|
Test purpose
|
Verify that the size of the LegendURL resource is the
advertised width and the advertised height.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
legend
images referenced via the response entity <Contents><Layer><Style><LegendURL>
element xlink:href
attributes must have the sizes specified in the width and heigth
attributes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.30. Server KVP POST - GetCapabilities - Response
Dimension Identifiers are unique for each Layer
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Dimension.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Dimensions advertised in the Service
Metadata document for each Layer have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><Dimension><ows:Identifier>
element text values are all different non empty
identifiers for each Layer.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.31. Server KVP POST - GetCapabilities - Response
Layer TileMatrixSets are valid
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Layer.TileMatrixSet.Valid
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that Layer TileMatrixSet contains a correct
identifier.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><TileMatrixSetLink><TileMatrixSet>
element text values refer to <Contents><TileMatrixSet><ows:Identifier>
element text values.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 22.32. Server KVP POST - GetCapabilities - Response
TileMatrixSet identifiers are unique
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.TileMatrixSet.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that TileMatrixSet elements have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><TileMatrixSet><ows:Identifier>
element text values are non-empty and unique.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.33. Server KVP POST - GetCapabilities - Response
TileMatrix identifiers are unique
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.TileMatrix.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that TileMatrix elements have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><TileMatrixSet><TileMatrix><ows:Identifier>
element text values are non-empty and unique.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.34. Server KVP POST - GetCapabilities - Response
TileMatrixSet ScaleDenominators are unique
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.TileMatrixSet.ScaleDenominators.Unique
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each tileMatrix of a tileMatrixSet has a unique
(different) scaleDenominator.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><TileMatrixSet><TileMatrix><ScaleDenominator>
element text values are non-empty and unique for each
<TileMatrixSet>.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 18.35. Server KVP POST - GetCapabilities - Response
TileMatrixSet WellKnownScaleSets are compatible with CRS and
ScaleDenominator values
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.TileMatrixSet.WellKnownScaleSet
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity must contain at least one <Contents><TileMatrixSet><WellKnownScaleSet>
element with one of the following values:
-
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Scale
-
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Pixel
-
urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad
-
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible
|
Test purpose
|
Verify that a WellKnownScaleSet is compatible with
ScaleDenominator values.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
<TileMatrixset><SupportedCRS> element
value must match the CRS for the well known scale set:
Well Known Scale Set
|
Coordinate Reference System (CRS)
|
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Scale
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Pixel
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible
|
urn:ogc:def:crs:EPSG:6.18:3:3857
|
-
each
<Contents><TileMatrixSet> in the response
entity that contains a <WellKnownScaleSet> must
have <TileMatrix> elements with <ScaleDenominator>
element text values for each <TileMatrixSet>
starting from the largest scale denominator in the
WellKnownScaleSet table in Annex E, and all
intermediate scales denominators down to some
ScaleDenominator minimum value for Layers that
reference the TileMatrixSet.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 6.2, pp. 10-11
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-26
-
OGC-07-057r7
: table 13, pp. 26-27
-
OGC-07-057r7
: table 14, p. 27
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl. 8.1, p. 50
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.16, p. 80
-
OGC-07-057r7
: Annex E, pp. 102-105
|
Test type
|
Capability
|
Table 18.36. Server KVP POST - GetCapabilities - Response
Theme LayerRef valid
Test case identifier
|
Server.KVP.POST.GetCapabilities.Response.Theme.LayerRef.Valid
|
Prerequisites
|
Schema
Valid Server KVP POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity contains at least one <Theme><LayerRef>
element.
|
Test purpose
|
Verify that each Theme LayerRef element text value is equal
to a Layer identifier in the content section.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid KVP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Themes><Theme><LayerRef>
element text values refer to <Contents><Layer><ows:Identifier>
element text values.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
23. Server KVP POST Interface -
Mandatory GetTile Operation
Purpose
The Server KVP POST Interface - Mandatory
GetTile
test group includes KVP POST GetTile requests to
the WMTS server to exercise all supported parameters.
Table 23.1. Server KVP POST - GetTile - Mandatory
parameters
Test case identifier
|
Server.KVP.POST.GetTile.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid KVP POST
GetTile requests with valid values for mandatory parameters
as specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.2. Server KVP POST - GetTile - Optional
Parameter - sample dimensions
Test case identifier
|
Server.KVP.POST.GetTile.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with three or more
<Dimension>s.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid KVP POST
GetTile requests with optional sample dimensions parameter
valid values from the range specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.3. Server KVP POST - GetTile - Missing mandatory
parameters
Test case identifier
|
Server.KVP.POST.GetTile.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Verify that if a mandatory KVP POST GetTile parameter is
missing from an otherwise valid request, the server throws
an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no sample
dimensions or with every sample dimension having a
default value, except when tested as missing;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document,
except when tested as missing;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameterwith a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the request
entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the request
entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.4. Server KVP POST - GetTile - Invalid Layer
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Verify that when a GetTile request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.5. Server KVP POST - GetTile - Invalid
TileMatrixSet
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has one or more <TileMatrixSet>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrixSet
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.6. Server KVP POST - GetTile - Invalid
TileMatrix
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has two or more <TileMatrix>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrix
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.7. Server KVP POST - GetTile - Invalid Row - no
TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.8. Server KVP POST - GetTile - Invalid Col - no
TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.9. Server KVP POST - GetTile - Invalid Row -
TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 23.10. Server KVP POST - GetTile - Invalid Col -
TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow parameter with a TileRow
index value within the TileMatrixLimits MinTileRow and
MaxTileRow values for the TileMatrix of the tile in
the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 23.11. Server KVP POST - GetTile - Invalid Style
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Verify that when GetTile a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.12. Server KVP POST - GetTile - Missing Optional
Parameters
Test case identifier
|
Server.KVP.POST.GetTile.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
tthe
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with no <Default> value.
|
Test purpose
|
Verify that when a GetTile request for a tile from a layer
with a sample dimension with no default sample dimension
value is missing a request parameter for the sample
dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetTile request
without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.13. Server KVP POST - GetTile - Invalid Sample
Dimension Name
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains the name not
defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetTile request
with an optional sample dimensions
parameter with a name that is not specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with an optional sample dimensions
parameter with any value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.14. Server KVP POST - GetTile - Invalid Sample
Dimension Value
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains a parameter name
defined as a sample dimension with a value that is not
defined for that dimension in the Service Metadata document,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetTile request
with an optional sample dimensions
parameter with a name that is specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with an optional sample dimensions
parameter with a value that is not specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.15. Server KVP POST - GetTile - Default Sample
Dimension
Test case identifier
|
Server.KVP.POST.GetTile.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Default> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP POST GetTile requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
default tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.16. Server KVP POST - GetTile - Current Sample
Dimension
Test case identifier
|
Server.KVP.POST.GetTile.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Current> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP POST GetTile requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
current tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.17. Server KVP POST - GetTile - Valid Tile
Format
Test case identifier
|
Server.KVP.POST.GetTile.Valid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid KVP POST GetTile requests with the tile formats
advertised in the Service Metadata Document for each layer,
and each sample dimension if applicable, are in the MIME
types of the requested formats.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources in MIME types corresponding to the requested
formats. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.18. Server KVP POST - GetTile - Invalid Tile
Format
Test case identifier
|
Server.KVP.POST.GetTile.Invalid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that the responses returned by a WMTS server to KVP
POST GetTile requests with tile formats not advertised in
the Service Metadata Document for each layer, and each
sample dimension if applicable, are valid exception reports.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter with a MIME type format value not advertised
in the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity for a layer with sample dimensions is a
valid KVP POST GetTile request with an optional sample dimensions parameter with a
name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity for a layer with sample dimensions is a
valid KVP POST GetTile request with an optional sample dimensions parameter with a
value from one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document.
-
the
server returns a schema-valid ows:Exception document
for an invalid (unadvertised) format for each Layer
(and sample dimension, if applicable) offered by the
server.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"format".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document, and formats not in the Service
Metadata document. Check that responses contain valid
exception reports and HTTP status codes. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.19. Server KVP POST - GetTile - Valid Tile Size
Test case identifier
|
Server.KVP.POST.GetTile.Valid.Tile.Size
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid KVP POST GetTile requests with the tile sizes (TileWidth and TileHeight )
advertised in the Service Metadata Document for each
TileMatrix in the TileMatrixSet of a Layer, and for each
sample dimension of Layers with Dimensions, are the
advertised sizes.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources of the correct sizes. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 23.20. Server KVP POST - GetTile - Valid Tile
Transparency
Test case identifier
|
Server.KVP.POST.GetTile.Valid.Tile.Transparency
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
|
Test purpose
|
Verify that the returned tile has transparent color for
NODATA values.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Layer
with a layer identifier value equal to a <Layer><ows:Identifier>
value from the Service Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document for
a format that supports transparency, e.g. image/png ;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity for a layer with sample dimensions is a
valid KVP POST GetTile request with an optional sample dimensions parameter with a
name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity for a layer with sample dimensions is a
valid KVP POST GetTile request with an optional sample dimensions parameter with a
value from one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document.
-
the
requested entity is a tile with NODATA.
-
the
server returns a tile with NODATA in the requestred
format that supports transparency, e.g. image/png as a transparent image.
|
Test method
|
Send a correct request for a Layer in a format that supports
transparency and in a tile where NODATA values are expected
and test for transparent color there. Pass if all assertions
hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
24. Server KVP POST
Interface - Optional GetFeatureInfo Operation
Purpose
The Server KVP POST Interface - Optional
GetFeatureInfo
test group includes KVP POST
GetFeatureInfo requests to the WMTS server to exercise all
supported parameters.
Table 24.1. Server KVP POST - GetFeatureInfo - Mandatory
parameters
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid KVP POST GetFeatureInfo requests with
valid values for mandatory parameters as specified in the
Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 24.2. Server KVP POST - GetFeatureInfo - Optional
Parameter - sample dimensions
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid KVP POST GetFeatureInfo requests with
optional sample dimensions parameter valid values from the
range specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 24.3. Server KVP POST - GetFeatureInfo - Missing
mandatory parameters
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that if a mandatory KVP POST GetFeatureInfo parameter
is missing from an otherwise valid request, the server
throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements and with no sample dimensions or with every
sample dimension having a default value;, except when
tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document, except when
tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document, except when tested as
missing;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
-
J
-
I
-
InfoFormat
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 24.4. Server KVP POST - GetFeatureInfo - Invalid
Layer
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value not equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.5. Server KVP POST - GetFeatureInfo - Invalid
TileMatrixSet
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrixSet incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for a TileMatrixSet from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.6. Server KVP POST - GetFeatureInfo - Invalid
TileMatrix
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrix incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for some TileMatrix
from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.7. Server KVP POST - GetFeatureInfo - Invalid
Row - no TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.8. Server KVP POST - GetFeatureInfo - Invalid
Col - no TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.9. Server KVP POST - GetFeatureInfo - Invalid
Row - TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.10. Server KVP POST - GetFeatureInfo - Invalid
Col - TileMatrixSetLimits
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.11. Server KVP POST - GetFeatureInfo - Invalid
Style
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when GetFeatureInfo a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.12. Server KVP POST - GetFeatureInfo - Missing
Optional Parameters
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with no <Default> value.
|
Test purpose
|
Verify that when a GetFeatureInfo request for a tile from a
layer with a sample dimension with no default sample
dimension value is missing a request parameter for the
sample dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter parameter with a MIME type format value
equal to an <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.13. Server KVP POST - GetFeatureInfo - Invalid
Sample Dimension Name
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><PostPOST>
child element.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains the name
not defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is not
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with any value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.14. Server KVP POST - GetFeatureInfo - Invalid
Sample Dimension Value
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
parameter name defined as a sample dimension with a value
that is not defined for that dimension in the Service
Metadata document, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value that is not
specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.15. Server KVP POST - GetFeatureInfo - Default
Sample Dimension
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Default> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP POST GetFeatureInfo requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "default".
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a default value in response to the KVP
POST GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.16. Server KVP POST - GetFeatureInfo - Current
Sample Dimension
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "KVP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Current> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid KVP POST GetFeatureInfo requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "current".
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a current value in response to the KVP
POST GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.17. Server KVP POST - GetFeatureInfo -
Non-Queryable Layer
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.NonQueryable.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request is made for a
non-queryable layer, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter wwith a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with any value;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.1, p. 84
|
Test type
|
Capability
|
Table 20.18. Server KVP POST - GetFeatureInfo - Valid
InfoFormat
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Valid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that for each GetFeatureInfo format, when the
InfoFormat parameter is set to that format or URLtemplate
having a format parameter, the MIME type of the response
matches that format.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
server returns FeatureInfo in response to a valid KVP
POST GetFeatureInfo request for each offered
InfoFormat for each Layer with a FeatureInfo document
of the requested InfoFormat MIME type.
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.3, p. 85
|
Test type
|
Capability
|
Table 24.19. Server KVP POST - GetFeatureInfo - Invalid
InfoFormat
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains an InfoFormat
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is not one of
the <InfoFormat>s for the specified Layer from
the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.2, p. 84
|
Test type
|
Capability
|
Table 24.20. Server KVP POST - GetFeatureInfo - Invalid
Pixel.Row.J
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Pixel.Row.J
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Row J
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Row.J>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value greater than the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"J".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
Table 24.21. Server KVP POST - GetFeatureInfo - Invalid
Pixel.Col.I
Test case identifier
|
Server.KVP.POST.GetFeatureInfo.Invalid.Pixel.Col.I
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Col I
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Col.I>
elements;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value greater than the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"I".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
26. Server XML POST
Interface - Mandatory GetCapabilities Operation
Purpose
The Server XML POST Interface - Mandatory
GetCapabilities
test group includes XML POST
GetCapabilities responses from the WMTS server to exercise all
supported request parameters and validate response contents.
Table 26.1. Server XML POST - GetCapabilities - Request
with mandatory parameters
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server responds to a XML POST
GetCapabilities request with mandatory parameters with a
Service Metadata document containing all sections.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the response entity is a valid WMTS Service Metadata
document containing all sections.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.2. Server XML POST - GetCapabilities - Request
with no service parameter
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.NoService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server responds to a XML POST
GetCapabilities request with a missing service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request without the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.3. Server XML POST - GetCapabilities - Request
with invalid service parameter
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.InvalidService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server responds to a XML POST
GetCapabilities request with an invalid service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of BOGUS ;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.4. Server XML POST - GetCapabilities - Optional
AcceptVersions parameter with valid value
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.AcceptVersions.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains an
<ows:Parameter name="Versions"> element with an
<ows:AllowedValues> element with an <ows:Value>
element with a value that contains three non-negative
integers separated by decimal points, in the form
"x.y.z". The integers y and z shall not exceed 99.
|
Test purpose
|
Test that a WMTS server performs version negotiation with a
client correctly; that it replies to a XML POST
GetCapabilities request containing the optional AcceptVersions parameter with a valid
version value(s) that are supported by the server, with a
valid ServiceMetadata document for the first such version.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.5. Server XML POST - GetCapabilities - Optional
AcceptVersions parameter with invalid value
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.AcceptVersions.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has an <ows:Capabilities
name="GetCapabilities"> element that contains a
version attribute with a version number value that
contains three non-negative integers separated by
decimal points, in the form "x.y.z". The integers y
and z shall not exceed 99..
|
Test purpose
|
Test that a WMTS server issues a valid exception report and
HTTP status code in response to a XML POST GetCapabilities
request containing the optional AcceptVersions
parameter with a version value not supported by the server.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 5 p. 16
-
OGC-06-121r3
: cl. 7.3.1, p. 19
-
OGC-06-121r3
: cl. 7.3.2, p. 19
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl. A.3.2.3, p. 75
|
Test type
|
Capability
|
Table 26.6. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = All
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.All
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a complete Service Metadata
document in response to a XML POST GetCapabilities request
containing the optional Sections
parameter with a value of All .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is All
-
the
response entity is a valid WMTS Service Metadata
document containing all sections.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 16.7. Client XML POST - GetCapabilities - Optional
parameter - Sections - value = ServiceIdentification
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.ServiceIdentification
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceIdentification
section in response to a XML POST GetCapabilities request
containing the optional Sections
parameter with a value of ServiceIdentification .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.8. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = ServiceProvider
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.ServiceProvider
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceProvider
section in response to a XML POST GetCapabilities request
containing the optional Sections
parameter with a value of ServiceProvider .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.9. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = OperationsMetadata
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.OperationsMetadata
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the OperationsMetadata
section in response to a XML POST GetCapabilities request
containing the optional Sections
parameter with a value of OperationsMetadata .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.10. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = Contents
Test case identifier
|
Server.XML.POST.GetCapabilities.Reaquest.Sections.Contents
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents
section in response to a XML POST GetCapabilities request
containing the optional Sections
parameter with a value of Contents .
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Contents
-
the
response entity is a valid WMTS Service Metadata
document containing only the Contents
section.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.11. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = Themes
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.Themes
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Themes section
in response to a XML POST GetCapabilities request containing
the optional Sections parameter
with a value of Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a valid WMTS Service Metadata
document containing only the Themes
section.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.12. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = Contents, Themes
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.Multiple
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents and
Themes sections in response to a
XML POST GetCapabilities request containing the optional
Sections parameter with a value
containing multiple sections, i.e. Contents,Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
is a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.13. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = Bogus
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a XML POST GetCapabilities
request containing the optional Sections
parameter with a value of Bogus .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.14. Server XML POST - GetCapabilities Request -
Optional parameter - Sections - value = Missing
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.Sections.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a XML POST GetCapabilities
request containing the optional Sections
parameter with a missing value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is missing
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.15. Server XML POST - GetCapabilities Reaquest -
Optional parameter - updateSequence
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.UpdateSequence
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has an <ows:Capabilities element
that contains an updateSequence attribute with a
value.
|
Test purpose
|
Verify that a server satisfies the requirements for
generating and using the updateSequence parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Operation
Request and Service Metadata updateSequence values are
equal
-
the
request entity is a valid XML POST GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is equal to
the value of the request UpdateSequence
parameter value.
-
the
response entity is a Service Metadata document
with only version and
updateSequence
parameters.
-
Operation
Request updateSequence value is less than Service
Metadata updateSequence value.
-
the
request entity is a valid XML POST GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is greater
than the value of the request UpdateSequence
parameter value.
-
the
response entity is the most recent Service
Metadata document.
-
Operation
Request updateSequence value is greater than Service
Metadata updateSequence value.
-
the
request entity is a valid XML POST GetCapabilities
request with the optional UpdateSequence
parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is less
than the value of the request UpdateSequence
parameter value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode
attribute value of "InvalidUpdateSequence".
-
the
response entity does not contain a locator
attribute.
-
the
HTTP status code value is set to 400,
corresponding to the message "Bad Request".
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.16. Server XML POST - GetCapabilities Request -
Optional parameter - AcceptFormats
Test case identifier
|
Server.XML.POST.GetCapabilities.Request.AcceptFormats.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains more
than one <Parameter name="AcceptFormats"><AllowedValues><Value>
child elements containing the MIME types that the
server can use to encode a Service Metadata document.
At lease one of these MIME types is not application/xml
|
Test purpose
|
Verify that a server satisfies the requirements for format
selection, if the server implements the AcceptFormats
request parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Request
AcceptFormats parameter value is supported by the
server.
-
the
request entity is a valid XML POST GetCapabilities
request with the optional AcceptFormats
parameter with a value that is listed in a <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded in the requested format.
-
Request
AcceptFormats parameter value is not supported by the
server.
-
the
request entity is a valid XML POST GetCapabilities
request with the optional AcceptFormats
parameter with a value that is not listed in a
<Parameter name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded as application/xml .
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.17. Server XML POST - GetCapabilities - Response
Service Metadata document XML is well-formed
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.XML.Well.Formed
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that a WMTS server responds to a XML POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that is well-formed XML.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a well-formed XML document.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.18. Server XML POST - GetCapabilities - Response
Service Metadata document references normative schema
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.SchemaReferenced
|
Prerequisites
|
XML
Well-Formed Server XML POST - GetCapabilities
-
the
response entity is a well-formed XML document.
|
Test purpose
|
Test that a WMTS server responds to a XML POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that references the normative XML
schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity references a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.19. Server XML POST - GetCapabilities - Response
Service Metadata document is schema-valid
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.SchemaValid
|
Prerequisites
|
Schema
Referenced Server XML POST - GetCapabilities
-
the
response entity references a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Test that a WMTS server responds to a XML POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that is schema-valid with respect
to the normative XML schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.20. Server XML POST - GetCapabilities - Response
Advertised Format application/xml
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.AdvertisedFormat
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS server advertises the application/xml
format for the GetCapabilities operation.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity contains an optional <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element with the value application/xml
for the <ows:Operation name="GetCapabilities">
operation.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.21. Server XML POST - GetCapabilities - Response
OnlineResource is only resource prefix
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.OnlineResource
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each OnlineResource URL intended for HTTP Get
requests in the ServiceMetadata document is a URL prefix.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <ows:Operation><ows:DCP><ows:HTTP><ows:Get>
xlink:href attribute values are all URL prefixes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.22. Server XML POST - GetCapabilities - Response
includes PostEncoding constraint
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.PostEncoding.Constraint
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that a server satisfies the requirements for using
the ows:Constraint PostEncoding parameter.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <ows:Operation><ows:DCP><ows:HTTP><ows:Get><ows:Constraint>
element name attribute has a
value of "PostEncoding" and a grandchild <ows:AllowedValues><ows:Value>
element with a value of "XML".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.23. Server XML POST - GetCapabilities - Response
Layer Identifiers are unique
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Layer.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Layers advertised in the Service
Metadata document have different non empty identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><ows:Identifier>
element text values are all different non empty
identifiers.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.24. Server XML POST - GetCapabilities - Response
with no Layers contains otherSource URL
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.No.Layers.OtherSource
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity does not contain any <Layer>
elements.
|
Test purpose
|
Verify that a Service Metadata document with no <Layer>
elements contains an ows:OtherSource
element with an xlink:href URL
attribute value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity contains an <ows:OtherSource>
element with an xlink:href
URL attribute value.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.25. Server XML POST - GetCapabilities - Response
Style Identifiers are unique for each Layer
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Style.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Styles advertised in the Service
Metadata document for each Layer have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><Style><ows:Identifier>
element text values are all different non empty
identifiers for each Layer.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.26. Server XML POST - GetCapabilities - Response
Layer LegendURLs are correct resources
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Resource
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the metadata for each of the LegendURL resources
is correct.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><Style><LegendURL>
elements must have valid values for the following
attributes:
-
format
- must be a MIME type supported output format for
the legend image
-
xlink:href
- must reference an image
-
minScaleDenominator
- must be the denominator of the minimum scale
(inclusive) for which this legend image is valid
-
maxScaleDenominator
- must be the denominator of the maximum scale
(exclusive) for which this legend image is valid
-
width
- must be the width (in pixels) of the legend
image
-
height
- must be the height (in pixels) of the legend
image
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.27. Server XML POST - GetCapabilities - Response
Layer LegendURLs are correct formats
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Format (ATTENTION: The implementation of this test in the ETS is fully included in test GetCapabilities.Response.Layer.LegendURL.Correct.Resource)
|
Prerequisites
|
Legend
URL Metadata Server XML POST - GetCapabilities
-
the
metadata for each of the LegendURL resources is
correct.
|
Test purpose
|
Verify that the MIME-type returned for the LegendURL
resource is the advertised format.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
legend
images referenced via the response entity <Contents><Layer><Style><LegendURL>
element xlink:href
attributes must have the formats specified in the
format attributes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.28. Server XML POST - GetCapabilities - Response
Layer LegendURLs are correct sizes
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Size (ATTENTION: The implementation of this test in the ETS is fully included in test GetCapabilities.Response.Layer.LegendURL.Correct.Resource)
|
Prerequisites
|
Legend
URL Metadata Server XML POST - GetCapabilities
-
the
metadata for each of the LegendURL resources is
correct.
|
Test purpose
|
Verify that the size of the LegendURL resource is the
advertised width and the advertised height.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
legend
images referenced via the response entity <Contents><Layer><Style><LegendURL>
element xlink:href
attributes must have the sizes specified in the width and heigth
attributes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.29. Server XML POST - GetCapabilities - Response
Dimension Identifiers are unique for each Layer
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Dimension.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Dimensions advertised in the Service
Metadata document for each Layer have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><Dimension><ows:Identifier>
element text values are all different non empty
identifiers for each Layer.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.30. Server XML POST - GetCapabilities - Response
Layer TileMatrixSets are valid
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Layer.TileMatrixSet.Valid
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that Layer TileMatrixSet contains a correct
identifier.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><Layer><TileMatrixSetLink><TileMatrixSet>
element text values refer to <Contents><TileMatrixSet><ows:Identifier>
element text values.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.31. Server XML POST - GetCapabilities - Response
TileMatrixSet identifiers are unique
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.TileMatrixSet.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that TileMatrixSet elements have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><TileMatrixSet><ows:Identifier>
element text values are non-empty and unique.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.32. Server XML POST - GetCapabilities - Response
TileMatrix identifiers are unique
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.TileMatrix.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that TileMatrix elements have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><TileMatrixSet><TileMatrix><ows:Identifier>
element text values are non-empty and unique.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.33. Server XML POST - GetCapabilities - Response
TileMatrixSet ScaleDenominators are unique
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.TileMatrixSet.ScaleDenominators.Unique
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each tileMatrix of a tileMatrixSet has a unique
(different) scaleDenominator.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Contents><TileMatrixSet><TileMatrix><ScaleDenominator>
element text values are non-empty and unique for each
<TileMatrixSet>.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 26.34. Server XML POST - GetCapabilities - Response
TileMatrixSet WellKnownScaleSets are compatible with CRS and
ScaleDenominator values
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.TileMatrixSet.WellKnownScaleSet
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the
response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the
response entity must contain at least one <Contents><TileMatrixSet><WellKnownScaleSet>
element with one of the following values:
-
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Scale
-
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Pixel
-
urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad
-
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible
|
Test purpose
|
Verify that a WellKnownScaleSet is compatible with
ScaleDenominator values.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
<TileMatrixset><SupportedCRS> element
value must match the CRS for the well known scale set:
Well Known Scale Set
|
Coordinate Reference System (CRS)
|
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Scale
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Pixel
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible
|
urn:ogc:def:crs:EPSG:6.18:3:3857
|
-
each
<Contents><TileMatrixSet> in the response
entity that contains a <WellKnownScaleSet> must
have <TileMatrix> elements with <ScaleDenominator>
element text values for each <TileMatrixSet>
starting from the largest scale denominator in the
WellKnownScaleSet table in Annex E, and all
intermediate scales denominators down to some
ScaleDenominator minimum value for Layers that
reference the TileMatrixSet.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 6.2, pp. 10-11
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-26
-
OGC-07-057r7
: table 13, pp. 26-27
-
OGC-07-057r7
: table 14, p. 27
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.16, p. 80
-
OGC-07-057r7
: Annex E, pp. 102-105
|
Test type
|
Capability
|
Table 26.35. Server XML POST - GetCapabilities - Response
Theme LayerRef valid
Test case identifier
|
Server.XML.POST.GetCapabilities.Response.Theme.LayerRef.Valid
|
Prerequisites
|
Schema
Valid Server XML POST - GetCapabilities
-
the response entity is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity contains at least one <Theme><LayerRef>
element.
|
Test purpose
|
Verify that each Theme LayerRef element text value is equal
to a Layer identifier in the content section.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid XML POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity <Themes><Theme><LayerRef>
element text values refer to <Contents><Layer><ows:Identifier>
element text values.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
27. Server XML POST Interface -
Mandatory GetTile Operation
Purpose
The Server XML POST Interface - Mandatory
GetTile
test group includes XML POST GetTile requests to
the WMTS server to exercise all supported parameters.
Table 27.1. Server XML POST - GetTile - Mandatory
parameters
Test case identifier
|
Server.XML.POST.GetTile.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid XML POST
GetTile requests with valid values for mandatory parameters
as specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.2. Server XML POST - GetTile - Optional
Parameter - sample dimensions
Test case identifier
|
Server.XML.POST.GetTile.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with three or more
<Dimension>s.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid XML POST
GetTile requests with optional sample dimensions parameter
valid values from the range specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.3. Server XML POST - GetTile - Missing mandatory
parameters
Test case identifier
|
Server.XML.POST.GetTile.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Verify that if a mandatory XML POST GetTile parameter is
missing from an otherwise valid request, the server throws
an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no sample
dimensions or with every sample dimension having a
default value;, except when tested as missing;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document,
except when tested as missing;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameterwith a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the request
entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the request
entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.4. Server XML POST - GetTile - Invalid Layer
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Verify that when a GetTile request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.5. Server XML POST - GetTile - Invalid
TileMatrixSet
Test case identifier
|
Server.XML.POST.GetTile.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has one or more <TileMatrixSet>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrixSet
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.6. Server XML POST - GetTile - Invalid
TileMatrix
Test case identifier
|
Server.XML.POST.GetTile.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has two or more <TileMatrix>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrix
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.7. Server XML POST - GetTile - Invalid Row - no
TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.8. Server XML POST - GetTile - Invalid Col - no
TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.9. Server XML POST - GetTile - Invalid Row -
TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 27.10. Server XML POST - GetTile - Invalid Col -
TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow parameter with a TileRow
index value within the TileMatrixLimits MinTileRow and
MaxTileRow values for the TileMatrix of the tile in
the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 27.11. Server XML POST - GetTile - Invalid Style
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Verify that when GetTile a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.12. Server XML POST - GetTile - Missing Optional
Parameters
Test case identifier
|
Server.XML.POST.GetTile.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
tthe
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<Dimension>s with no <Default> value.
|
Test purpose
|
Verify that when a GetTile request for a tile from a layer
with a sample dimension with no default sample dimension
value is missing a request parameter for the sample
dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetTile request
without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.13. Server XML POST - GetTile - Invalid Sample
Dimension Name
Test case identifier
|
Server.XML.POST.GetTile.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains the name not
defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetTile request
with an optional sample dimensions
parameter with a name that is not specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with an optional sample dimensions
parameter with any value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.14. Server XML POST - GetTile - Invalid Sample
Dimension Value
Test case identifier
|
Server.XML.POST.GetTile.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains a parameter name
defined as a sample dimension with a value that is not
defined for that dimension in the Service Metadata document,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetTile request
with an optional sample dimensions
parameter with a name that is specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with an optional sample dimensions
parameter with a value that is not specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.15. Server XML POST - GetTile - Default Sample
Dimension
Test case identifier
|
Server.XML.POST.GetTile.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Default> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid XML POST GetTile requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
default tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.16. Server XML POST - GetTile - Current Sample
Dimension
Test case identifier
|
Server.XML.POST.GetTile.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Current> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid XML POST GetTile requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
current tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.17. Server XML POST - GetTile - Valid Tile
Format
Test case identifier
|
Server.XML.POST.GetTile.Valid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid XML POST GetTile requests with the tile formats
advertised in the Service Metadata Document for each layer,
and each sample dimension if applicable, are in the MIME
types of the requested formats.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources in MIME types corresponding to the requested
formats. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.18. Server XML POST - GetTile - Invalid Tile
Format
Test case identifier
|
Server.XML.POST.GetTile.Invalid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that the responses returned by a WMTS server to XML
POST GetTile requests with tile formats not advertised in
the Service Metadata Document for each layer, and each
sample dimension if applicable, are valid exception reports.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter with a MIME type format value not advertised
in the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity for a layer with sample dimensions is a
valid XML POST GetTile request with an optional sample dimensions parameter with a
name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity for a layer with sample dimensions is a
valid XML POST GetTile request with an optional sample dimensions parameter with a
value from one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document.
-
the
server returns a schema-valid ows:Exception document
for an invalid (unadvertised) format for each Layer
(and sample dimension, if applicable) offered by the
server.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"format".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document, and formats not in the Service
Metadata document. Check that responses contain valid
exception reports and HTTP status codes. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.19. Server XML POST - GetTile - Valid Tile Size
Test case identifier
|
Server.XML.POST.GetTile.Valid.Tile.Size
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid XML POST GetTile requests with the tile sizes (TileWidth and TileHeight )
advertised in the Service Metadata Document for each
TileMatrix in the TileMatrixSet of a Layer, and for each
sample dimension of Layers with Dimensions, are the
advertised sizes.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources of the correct sizes. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 27.20. Server XML POST - GetTile - Valid Tile
Transparency
Test case identifier
|
Server.XML.POST.GetTile.Valid.Tile.Transparency
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
|
Test purpose
|
Verify that the returned tile has transparent color for
NODATA values.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Layer
with a layer identifier value equal to a <Layer><ows:Identifier>
value from the Service Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document for
a format that supports transparency, e.g. image/png ;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity for a layer with sample dimensions is a
valid XML POST GetTile request with an optional sample dimensions parameter with a
name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity for a layer with sample dimensions is a
valid XML POST GetTile request with an optional sample dimensions parameter with a
value from one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document.
-
the
requested entity is a tile with NODATA.
-
the
server returns a tile with NODATA in the requestred
format that supports transparency, e.g. image/png as a transparent image.
|
Test method
|
Send a correct request for a Layer in a format that supports
transparency and in a tile where NODATA values are expected
and test for transparent color there. Pass if all assertions
hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
28. Server XML POST
Interface - Optional GetFeatureInfo Operation
Purpose
The Server XML POST Interface - Optional
GetFeatureInfo
test group includes XML POST
GetFeatureInfo requests to the WMTS server to exercise all
supported parameters.
Table 28.1. Server XML POST - GetFeatureInfo - Mandatory
parameters
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid XML POST GetFeatureInfo requests with
valid values for mandatory parameters as specified in the
Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 28.2. Server XML POST - GetFeatureInfo - Optional
Parameter - sample dimensions
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid XML POST GetFeatureInfo requests with
optional sample dimensions parameter valid values from the
range specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 28.3. Server XML POST - GetFeatureInfo - Missing
mandatory parameters
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that if a mandatory XML POST GetFeatureInfo parameter
is missing from an otherwise valid request, the server
throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements and with no sample dimensions or with every
sample dimension having a default value, except when
tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document, except when
tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document, except when tested as
missing;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
-
J
-
I
-
InfoFormat
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 28.4. Server XML POST - GetFeatureInfo - Invalid
Layer
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value not equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.5. Server XML POST - GetFeatureInfo - Invalid
TileMatrixSet
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrixSet incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for a TileMatrixSet from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.6. Server XML POST - GetFeatureInfo - Invalid
TileMatrix
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrix incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for some TileMatrix
from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.7. Server XML POST - GetFeatureInfo - Invalid
Row - no TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.8. Server XML POST - GetFeatureInfo - Invalid
Col - no TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.9. Server XML POST - GetFeatureInfo - Invalid
Row - TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.10. Server XML POST - GetFeatureInfo - Invalid
Col - TileMatrixSetLimits
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.11. Server XML POST - GetFeatureInfo - Invalid
Style
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when GetFeatureInfo a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 24.12. Server XML POST - GetFeatureInfo - Missing
Optional Parameters
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Get><ows:Constraint
name="GetEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with no <Default> value.
|
Test purpose
|
Verify that when a GetFeatureInfo request for a tile from a
layer with a sample dimension with no default sample
dimension value is missing a request parameter for the
sample dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter parameter with a MIME type format value
equal to an <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.13. Server XML POST - GetFeatureInfo - Invalid
Sample Dimension Name
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains the name
not defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is not
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with any value.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.14. Server XML POST - GetFeatureInfo - Invalid
Sample Dimension Value
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
parameter name defined as a sample dimension with a value
that is not defined for that dimension in the Service
Metadata document, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value that is not
specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.15. Server XML POST - GetFeatureInfo - Default
Sample Dimension
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Default> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid XML POST GetFeatureInfo requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "default".
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a default value in response to the XML
POST GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.16. Server XML POST - GetFeatureInfo - Current
Sample Dimension
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "XML".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Current> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid XML POST GetFeatureInfo requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "current".
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a current value in response to the XML
POST GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 28.17. Server XML POST - GetFeatureInfo -
Non-Queryable Layer
Test case identifier
|
Server.XML.POST.GetFeatureInfo.NonQueryable.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request is made for a
non-queryable layer, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter wwith a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with any value;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.1, p. 84
|
Test type
|
Capability
|
Table 20.18. Server XML POST - GetFeatureInfo - Valid
InfoFormat
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Valid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that for each GetFeatureInfo format, when the
InfoFormat parameter is set to that format or URLtemplate
having a format parameter, the MIME type of the response
matches that format.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
server returns FeatureInfo in response to a valid XML
POST GetFeatureInfo request for each offered
InfoFormat for each Layer with a FeatureInfo document
of the requested InfoFormat MIME type.
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.3, p. 85
|
Test type
|
Capability
|
Table 28.19. Server XML POST - GetFeatureInfo - Invalid
InfoFormat
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains an InfoFormat
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is not one of
the <InfoFormat>s for the specified Layer from
the Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.2, p. 84
|
Test type
|
Capability
|
Table 28.20. Server XML POST - GetFeatureInfo - Invalid
Pixel.Row.J
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Pixel.Row.J
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Row J
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Row.J>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value greater than the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"J".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
Table 28.21. Server XML POST - GetFeatureInfo - Invalid
Pixel.Col.I
Test case identifier
|
Server.XML.POST.GetFeatureInfo.Invalid.Pixel.Col.I
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Col I
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Col.I>
elements;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory I
parameter with a column index value greater than the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid XML POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"I".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
30. Server SOAP POST
Interface - Mandatory GetCapabilities Operation
Purpose
The Server SOAP POST Interface - Mandatory
GetCapabilities
test group includes SOAP POST
GetCapabilities responses from the WMTS server to exercise all
supported request parameters and validate response contents.
Table 30.1. Server SOAP POST - GetCapabilities - Request
with mandatory parameters
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server responds to a SOAP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document containing all sections.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a valid WMTS Service Metadata
document containing all sections, wrapped in the SOAP
version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.2. Server SOAP POST - GetCapabilities - Request
with no service parameter
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.NoService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server responds to a SOAP POST
GetCapabilities request with a missing service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request without the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
|
Test type
|
Capability
|
Table 30.3. Server SOAP POST - GetCapabilities - Request
with invalid service parameter
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.InvalidService
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server responds to a SOAP POST
GetCapabilities request with an invalid service parameter
with a valid exception report and HTTP status code.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of BOGUS ;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"service".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
|
Test type
|
Capability
|
Table 30.4. Server SOAP POST - GetCapabilities - Optional
AcceptVersions parameter with valid value
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.AcceptVersions.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains an
<ows:Parameter name="Versions"> element with an
<ows:AllowedValues> element with an <ows:Value>
element with a value that contains three non-negative
integers separated by decimal points, in the form
"x.y.z". The integers y and z shall not exceed 99.
|
Test purpose
|
Test that a WMTS server performs version negotiation with a
client correctly; that it replies to a SOAP POST
GetCapabilities request containing the optional AcceptVersions parameter with a valid
version value(s) that are supported by the server, with a
valid ServiceMetadata document for the first such version.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.5. Server SOAP POST - GetCapabilities - Optional
AcceptVersions parameter with invalid value
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.AcceptVersions.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has an <ows:Capabilities
name="GetCapabilities"> element that contains a
version attribute with a version number value that
contains three non-negative integers separated by
decimal points, in the form "x.y.z". The integers y
and z shall not exceed 99..
|
Test purpose
|
Test that a WMTS server issues a valid exception report and
HTTP status code in response to a SOAP POST GetCapabilities
request containing the optional AcceptVersions
parameter with a version value not supported by the server.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 5 p. 16
-
OGC-06-121r3
: cl. 7.3.1, p. 19
-
OGC-06-121r3
: cl. 7.3.2, p. 19
-
OGC-06-121r3
: cl 7.4.1, pp. 22
-
OGC-06-121r3
: table 8, p. 23
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.3, p. 75
|
Test type
|
Capability
|
Table 30.6. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = All
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.All
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a complete Service Metadata
document in response to a SOAP POST GetCapabilities request
containing the optional Sections
parameter with a value of All .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is All
-
the response entity is a valid WMTS Service Metadata
document containing all sections, wrapped in the SOAP
version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 16.7. Client SOAP POST - GetCapabilities - Optional
parameter - Sections - value = ServiceIdentification
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.ServiceIdentification
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceIdentification
section in response to a SOAP POST GetCapabilities request
containing the optional Sections
parameter with a value of ServiceIdentification .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is ServiceIdentification
-
the
response entity is a valid WMTS Service Metadata
document containing only the ServiceIdentification
section, wrapped in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
contains a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.8. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = ServiceProvider
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.ServiceProvider
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the ServiceProvider
section in response to a SOAP POST GetCapabilities request
containing the optional Sections
parameter with a value of ServiceProvider .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is ServiceProvider
-
the
response entity is a valid WMTS Service Metadata
document containing only the ServiceProvider
section, wrapped in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
contains a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.9. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = OperationsMetadata
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.OperationsMetadata
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the OperationsMetadata
section in response to a SOAP POST GetCapabilities request
containing the optional Sections
parameter with a value of OperationsMetadata .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is OperationsMetadata
-
the
response entity is a valid WMTS Service Metadata
document containing only the OperationsMetadata
section, wrapped in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
contains a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.10. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = Contents
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Reaquest.Sections.Contents
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents
section in response to a SOAP POST GetCapabilities request
containing the optional Sections
parameter with a value of Contents .
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Contents
-
the
response entity is a valid WMTS Service Metadata
document containing only the Contents
section, wrapped in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
contains a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.11. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = Themes
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.Themes
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Themes section
in response to a SOAP POST GetCapabilities request
containing the optional Sections
parameter with a value of Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a valid WMTS Service Metadata
document containing only the Themes
section, wrapped in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
contains a valid WMTS Service Metadata document containing all
sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.12. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = Contents, Themes
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.Multiple
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has one or more <ows:Themes><ows:Theme>
elements.
|
Test purpose
|
Test that a WMTS server returns a Service Metadata document
containing only the Contents and
Themes sections in response to a
SOAP POST GetCapabilities request containing the optional
Sections parameter with a value
containing multiple sections, i.e. Contents,Themes .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Contents,Themes
-
the
response entity is a valid WMTS Service Metadata
document containing only the Contents
and Themes sections, wrapped
in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; set status to "Skip" if the response entity
containing a valid WMTS Service Metadata document containing
all sections; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.13. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = Bogus
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.Invalid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a SOAP POST GetCapabilities
request containing the optional Sections
parameter with a value of Bogus .
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is Themes
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: table 5 p. 16
-
OGC-06-121r3
: cl. 7.3.3, p. 20
-
OGC-07-057r7
: figure 4, p. 12
-
OGC-07-057r7
: table 2, p. 13
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.6, p. 76
|
Test type
|
Capability
|
Table 30.14. Server SOAP POST - GetCapabilities Request -
Optional parameter - Sections - value = Missing
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.Sections.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server returns a valid exception report and
HTTP status code in response to a SOAP POST GetCapabilities
request containing the optional Sections
parameter with a missing value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the optional Sections
parameter;
-
the
value of the Sections
parameter is missing
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
"sections".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: table 5 p. 16
-
OGC-06-121r3
: cl. 7.3.3, p. 20
-
OGC-07-057r7
: figure 4, p. 12
-
OGC-07-057r7
: table 2, p. 13
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.6, p. 76
|
Test type
|
Capability
|
Table 30.15. Server SOAP POST - GetCapabilities Reaquest
- Optional parameter - updateSequence
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.UpdateSequence
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has an <ows:Capabilities element
that contains an updateSequence attribute with a
value.
|
Test purpose
|
Verify that a server satisfies the requirements for
generating and using the updateSequence parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Operation
Request and Service Metadata updateSequence values are
equal
-
the
request entity is a valid SOAP POST
GetCapabilities request with the optional UpdateSequence parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is equal to
the value of the request UpdateSequence
parameter value.
-
the
response entity is a Service Metadata document
with only version and
updateSequence
parameters, wrapped in the SOAP version 1.2
envelope.
-
Operation
Request updateSequence value is less than Service
Metadata updateSequence value.
-
the
request entity is a valid SOAP POST
GetCapabilities request with the optional UpdateSequence parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is greater
than the value of the request UpdateSequence
parameter value.
-
the
response entity is the most recent Service
Metadata document, wrapped in the SOAP version 1.2
envelope.
-
Operation
Request updateSequence value is greater than Service
Metadata updateSequence value.
-
the
request entity is a valid SOAP POST
GetCapabilities request with the optional UpdateSequence parameter;
-
the
bootstrap Service Metadata document <ows:Capabilities
element updateSequence attribute value is less
than the value of the request UpdateSequence
parameter value.
-
the response entity is a a SOAP 1.2 response
message that contains a schema-valid ows:Exception
document in the <soap:Detail> element.
-
the
response entity contains an exceptionCode
attribute value of "InvalidUpdateSequence".
-
the
response entity does not contain a locator
attribute.
-
the
HTTP status code value is set to 400,
corresponding to the message "Bad Request".
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.3.4, p. 21
-
OGC-06-121r3
: table 7, p. 21
-
OGC-07-057r7
: figure 4, p. 12
-
OGC-07-057r7
: table 3, p. 13
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
:table 21, p 39
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.5, p. 76
|
Test type
|
Capability
|
Table 30.16. Server SOAP POST - GetCapabilities Request -
Optional parameter - AcceptFormats
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Request.AcceptFormats.Valid
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains more
than one <Parameter name="AcceptFormats"><AllowedValues><Value>
child elements containing the MIME types that the
server can use to encode a Service Metadata document.
At lease one of these MIME types is not application/xml
|
Test purpose
|
Verify that a server satisfies the requirements for format
selection, if the server implements the AcceptFormats
request parameter.
|
Assertions
|
All of the following sets of assertions must hold for the
test to pass:
-
Request
AcceptFormats parameter value is supported by the
server.
-
the
request entity is a valid SOAP POST
GetCapabilities request with the optional AcceptFormats parameter with a
value that is listed in a <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded in the requested format, wrapped
in the SOAP version 1.2 envelope.
-
Request
AcceptFormats parameter value is not supported by the
server.
-
the
request entity is a valid SOAP POST
GetCapabilities request with the optional AcceptFormats parameter with a
value that is not listed in a <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element in the Service Metadata;
-
the
response entity is a valid Service Metadata
document encoded as application/xml ,
wrapped in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the requests and responses. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.17. Server SOAP POST - GetCapabilities -
Response Service Metadata document XML is well-formed
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.XML.Well.Formed
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetCapabilities"> element that contains a
<ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that a WMTS server responds to a SOAP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that is well-formed XML.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity is a well-formed XML document, wrapped
in the SOAP version 1.2 envelope.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-14
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.1, p. 77
|
Test type
|
Capability
|
Table 30.18. Server SOAP POST - GetCapabilities -
Response Service Metadata document references normative schema
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.SchemaReferenced
|
Prerequisites
|
XML
Well-Formed Server SOAP POST - GetCapabilities
-
the response entity is a well-formed XML document,
wrapped in the SOAP version 1.2 envelope.
|
Test purpose
|
Test that a WMTS server responds to a SOAP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that references the normative XML
schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope references a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-15
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.2, p. 77
|
Test type
|
Capability
|
Table 30.19. Server SOAP POST - GetCapabilities -
Response Service Metadata document is schema-valid
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.SchemaValid
|
Prerequisites
|
Schema
Referenced Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope references a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Test that a WMTS server responds to a SOAP POST
GetCapabilities request with mandatory parameters with a
Service Metadata document that is schema-valid with respect
to the normative XML schema.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-15
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.3, p. 77
|
Test type
|
Capability
|
Table 30.20. Server SOAP POST - GetCapabilities -
Response Advertised Format application/xml
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.AdvertisedFormat
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS server advertises the application/xml
format for the GetCapabilities operation.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope contains an optional <Parameter
name="AcceptFormats"><AllowedValues><Value>
child element with the value application/xml
for the <ows:Operation name="GetCapabilities">
operation.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-15
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.5, p. 78
|
Test type
|
Capability
|
Table 30.21. Server SOAP POST - GetCapabilities -
Response OnlineResource is only resource prefix
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.OnlineResource
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each OnlineResource URL intended for HTTP Get
requests in the ServiceMetadata document is a URL prefix.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <ows:Operation><ows:DCP><ows:HTTP><ows:Get>
xlink:href attribute values that are all URL prefixes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-15
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.4, p. 77
|
Test type
|
Capability
|
Table 30.22. Server SOAP POST - GetCapabilities -
Response includes PostEncoding constraint
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.PostEncoding.Constraint
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that a server satisfies the requirements for using
the ows:Constraint PostEncoding parameter.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has an <ows:Operation><ows:DCP><ows:HTTP><ows:Get><ows:Constraint>
element name attribute that
has a value of "PostEncoding" and a grandchild <ows:AllowedValues><ows:Value>
element with a value of "SOAP".
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-15
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.6, p. 78
|
Test type
|
Capability
|
Table 30.23. Server SOAP POST - GetCapabilities -
Response Layer Identifiers are unique
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Layer.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilites document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Layers advertised in the Service
Metadata document have different non empty identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><Layer><ows:Identifier>
element text values that are all different non empty
identifiers.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.1, pp. 12-15
-
OGC-07-057r7
: table 3, pp. 13-14
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.8, p. 78
|
Test type
|
Capability
|
Table 30.24. Server SOAP POST - GetCapabilities -
Response with no Layers contains otherSource URL
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.No.Layers.OtherSource
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilites document wrapped in a
SOAP 1.2 Envelope is schema-valid with respect to a
normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity Capabilities document wrapped n a
SOAP 1.2 Envelope does not contain any <Layer>
elements.
|
Test purpose
|
Verify that a Service Metadata document with no <Layer>
elements contains an ows:OtherSource
element with an xlink:href URL
attribute value.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in a
SOAP 1.2 Envelope contains an <ows:OtherSource>
element with an xlink:href
URL attribute value.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.25. Server SOAP POST - GetCapabilities -
Response Style Identifiers are unique for each Layer
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Style.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Styles advertised in the Service
Metadata document for each Layer have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><Layer><Style><ows:Identifier>
element text values that are all different non empty
identifiers for each Layer.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.26. Server SOAP POST - GetCapabilities -
Response Layer LegendURLs are correct resources
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Resource
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the metadata for each of the LegendURL resources
is correct.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><Layer><Style><LegendURL>
elements that must have valid values for the following
attributes:
-
format - must be a MIME type supported output
format for the legend image
-
xlink:href - must reference an image
-
minScaleDenominator - must be the denominator of
the minimum scale (inclusive) for which this
legend image is valid
-
maxScaleDenominator - must be the denominator of
the maximum scale (exclusive) for which this
legend image is valid
-
width - must be the width (in pixels) of the
legend image
-
height - must be the height (in pixels) of the
legend image
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-21
-
OGC-07-057r7
: table 8, pp. 21-22
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.9, p. 79
|
Test type
|
Capability
|
Table 30.27. Server SOAP POST - GetCapabilities -
Response Layer LegendURLs are correct formats
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Format (ATTENTION: The implementation of this test in the ETS is fully included in test GetCapabilities.Response.Layer.LegendURL.Correct.Resource)
|
Prerequisites
|
Legend
URL Metadata Server SOAP POST - GetCapabilities
-
the
metadata for each of the LegendURL resources is
correct.
|
Test purpose
|
Verify that the MIME-type returned for the LegendURL
resource is the advertised format.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
legend
images referenced via the response entity Capabilities
document wrapped in the SOAP version 1.2 envelope has
<Contents><Layer><Style><LegendURL>
element xlink:href
attributes that must have the formats specified in the
format attributes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-21
-
OGC-07-057r7
: table 8, pp. 21-22
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.10, p. 79
|
Test type
|
Capability
|
Table 30.28. Server SOAP POST - GetCapabilities -
Response Layer LegendURLs are correct sizes
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Layer.LegendURL.Correct.Size (ATTENTION: The implementation of this test in the ETS is fully included in test GetCapabilities.Response.Layer.LegendURL.Correct.Resource)
|
Prerequisites
|
Legend
URL Metadata Server SOAP POST - GetCapabilities
-
the
metadata for each of the LegendURL resources is
correct.
|
Test purpose
|
Verify that the size of the LegendURL resource is the
advertised width and the advertised height.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
legend
images referenced via the response entity Capabilities
document wrapped in the SOAP version 1.2 envelope has
<Contents><Layer><Style><LegendURL>
element xlink:href
attributes that must have the sizes specified in the
width and heigth
attributes.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-21
-
OGC-07-057r7
: table 8, pp. 21-22
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.11, p. 79
|
Test type
|
Capability
|
Table 30.29. Server SOAP POST - GetCapabilities -
Response Dimension Identifiers are unique for each Layer
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Dimension.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that the WMTS Dimensions advertised in the Service
Metadata document for each Layer have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><Layer><Dimension><ows:Identifier>
element text values that are all different non empty
identifiers for each Layer.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 30.30. Server SOAP POST - GetCapabilities -
Response Layer TileMatrixSets are valid
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Layer.TileMatrixSet.Valid
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope is schema-valid with respect
to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that Layer TileMatrixSet contains a correct
identifier.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><Layer><TileMatrixSetLink><TileMatrixSet>
element text values that refer to <Contents><TileMatrixSet><ows:Identifier>
element text values.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-21
-
OGC-07-057r7
: table 8, pp. 21-22
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.12, p. 79
|
Test type
|
Capability
|
Table 30.31. Server SOAP POST - GetCapabilities -
Response TileMatrixSet identifiers are unique
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.TileMatrixSet.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that TileMatrixSet elements have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><TileMatrixSet><ows:Identifier>
element text values that are non-empty and unique.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-21
-
OGC-07-057r7
: table 8, pp. 21-22
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.13, p. 79
|
Test type
|
Capability
|
Table 30.32. Server SOAP POST - GetCapabilities -
Response TileMatrix identifiers are unique
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.TileMatrix.Identifiers.Unique
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope is schema-valid with respect
to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that TileMatrix elements have different non empty
identifiers.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><TileMatrixSet><TileMatrix><ows:Identifier>
element text values that are non-empty and unique.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-27
-
OGC-07-057r7
: table 14, p. 27
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.14, p. 80
|
Test type
|
Capability
|
Table 30.33. Server SOAP POST - GetCapabilities -
Response TileMatrixSet ScaleDenominators are unique
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.TileMatrixSet.ScaleDenominators.Unique
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope is schema-valid with respect
to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
|
Test purpose
|
Verify that each tileMatrix of a tileMatrixSet has a unique
(different) scaleDenominator.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Contents><TileMatrixSet><TileMatrix><ScaleDenominator>
element text values that are non-empty and unique for
each <TileMatrixSet>.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-26
-
OGC-07-057r7
: table 14, p. 27
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.15, p. 80
|
Test type
|
Capability
|
Table 30.34. Server SOAP POST - GetCapabilities -
Response TileMatrixSet WellKnownScaleSets are compatible with CRS and
ScaleDenominator values
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.TileMatrixSet.WellKnownScaleSet
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope is schema-valid with respect
to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope must contain at least one
<Contents><TileMatrixSet><WellKnownScaleSet>
element with one of the following values:
-
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Scale
-
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Pixel
-
urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad
-
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible
|
Test purpose
|
Verify that a WellKnownScaleSet is compatible with
ScaleDenominator values.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope <TileMatrixset><SupportedCRS>
element value must match the CRS for the well known
scale set:
Well Known Scale Set
|
Coordinate Reference System (CRS)
|
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Scale
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GlobalCRS84Pixel
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GoogleCRS84Quad
|
urn:ogc:def:crs:OGC:1.3:CRS84
|
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible
|
urn:ogc:def:crs:EPSG:6.18:3:3857
|
-
each
<Contents><TileMatrixSet> in the response
entity Capabilities document wrapped in the SOAP
version 1.2 envelope that contains a <WellKnownScaleSet>
must have <TileMatrix> elements with <ScaleDenominator>
element text values for each <TileMatrixSet>
starting from the largest scale denominator in the
WellKnownScaleSet table in Annex E, and all
intermediate scales denominators down to some
ScaleDenominator minimum value for Layers that
reference the TileMatrixSet.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 6.2, pp. 10-11
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-26
-
OGC-07-057r7
: table 13, pp. 26-27
-
OGC-07-057r7
: table 14, p. 27
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.16, p. 80
-
OGC-07-057r7
: Annex E, pp. 102-105
|
Test type
|
Capability
|
Table 30.35. Server SOAP POST - GetCapabilities -
Response Theme LayerRef valid
Test case identifier
|
Server.SOAP.POST.GetCapabilities.Response.Theme.LayerRef.Valid
|
Prerequisites
|
Schema
Valid Server SOAP POST - GetCapabilities
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope is schema-valid with
respect to a normative(wmts.xsd or
wmtsGetCapabilities_response.xsd) XML schema.
-
the response entity Capabilities document wrapped in
the SOAP version 1.2 envelope contains at least one
<Theme><LayerRef> element.
|
Test purpose
|
Verify that each Theme LayerRef element text value is equal
to a Layer identifier in the content section.
|
Assertions
|
All of the following assertions must hold for the response
to be valid:
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory request
parameter with a value of GetCapabilities ;
-
the
request entity is a valid SOAP POST GetCapabilities
request with the mandatory service
parameter with a value of WMTS ;
-
the
response entity Capabilities document wrapped in the
SOAP version 1.2 envelope has <Themes><Theme><LayerRef>
element text values that refer to <Contents><Layer><ows:Identifier>
element text values.
|
Test method
|
Check the content of the request and response. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 7.2, p. 13
-
OGC-06-121r3
: table 3, p. 14
-
OGC-07-057r7
: cl 7.1.1.2, pp. 16-29
-
OGC-07-057r7
: table 15, p. 29
-
OGC-07-057r7
: cl 17.1.2.1, pp. 36-37
-
OGC-07-057r7
: table 17, pp. 36-37
-
OGC-07-057r7
: cl 9.1, pp. 54-55
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.2.2, p. 75
-
OGC-07-057r7
: cl. A.3.4.17, p. 80
|
Test type
|
Capability
|
31. Server SOAP POST Interface -
Mandatory GetTile Operation
Purpose
The Server SOAP POST Interface - Mandatory
GetTile
test group includes SOAP POST GetTile requests to
the WMTS server to exercise all supported parameters.
Table 31.1. Server SOAP POST - GetTile - Mandatory
parameters
Test case identifier
|
Server.SOAP.POST.GetTile.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid SOAP POST
GetTile requests with valid values for mandatory parameters
as specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
|
Test type
|
Capability
|
Table 31.2. Server SOAP POST - GetTile - Optional
Parameter - sample dimensions
Test case identifier
|
Server.SOAP.POST.GetTile.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with three or more
<Dimension>s.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid SOAP POST
GetTile requests with optional sample dimensions parameter
valid values from the range specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2.2.1, p. 40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
|
Test type
|
Capability
|
Table 31.3. Server SOAP POST - GetTile - Missing
mandatory parameters
Test case identifier
|
Server.SOAP.POST.GetTile.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Verify that if a mandatory SOAP POST GetTile parameter is
missing from an otherwise valid request, the server throws
an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no sample
dimensions or with every sample dimension having a
default value, except when tested as missing;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document,
except when tested as missing;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameterwith a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
|
Test type
|
Capability
|
Table 31.4. Server SOAP POST - GetTile - Invalid Layer
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Verify that when a GetTile request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.1, p. 81
|
Test type
|
Capability
|
Table 31.5. Server SOAP POST - GetTile - Invalid
TileMatrixSet
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has one or more <TileMatrixSet>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrixSet
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.3, p. 81
|
Test type
|
Capability
|
Table 31.6. Server SOAP POST - GetTile - Invalid
TileMatrix
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has two or more <TileMatrix>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrix
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.4, p. 81
|
Test type
|
Capability
|
Table 31.7. Server SOAP POST - GetTile - Invalid Row - no
TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 31.8. Server SOAP POST - GetTile - Invalid Col - no
TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 31.9. Server SOAP POST - GetTile - Invalid Row -
TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 31.10. Server SOAP POST - GetTile - Invalid Col -
TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow parameter with a TileRow
index value within the TileMatrixLimits MinTileRow and
MaxTileRow values for the TileMatrix of the tile in
the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.5, p. 82
|
Test type
|
Capability
|
Table 31.11. Server SOAP POST - GetTile - Invalid Style
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Verify that when GetTile a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.6, p. 82
|
Test type
|
Capability
|
Table 31.12. Server SOAP POST - GetTile - Missing
Optional Parameters
Test case identifier
|
Server.SOAP.POST.GetTile.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
tthe
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with no <Default> value.
|
Test purpose
|
Verify that when a GetTile request for a tile from a layer
with a sample dimension with no default sample dimension
value is missing a request parameter for the sample
dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetTile request
without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.7, p. 82
|
Test type
|
Capability
|
Table 31.13. Server SOAP POST - GetTile - Invalid Sample
Dimension Name
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains the name not
defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetTile request
with an optional sample dimensions
parameter with a name that is not specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with an optional sample dimensions
parameter with any value.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.7, p. 82
|
Test type
|
Capability
|
Table 31.14. Server SOAP POST - GetTile - Invalid Sample
Dimension Value
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains a parameter name
defined as a sample dimension with a value that is not
defined for that dimension in the Service Metadata document,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetTile request
with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetTile request
with an optional sample dimensions
parameter with a name that is specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetTile request
with an optional sample dimensions
parameter with a value that is not specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.7, p. 82
|
Test type
|
Capability
|
Table 31.15. Server SOAP POST - GetTile - Default Sample
Dimension
Test case identifier
|
Server.SOAP.POST.GetTile.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Default> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid SOAP POST GetTile requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
default tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.2.2.1, p. 40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.5.8, p. 82
|
Test type
|
Capability
|
Table 31.16. Server SOAP POST - GetTile - Current Sample
Dimension
Test case identifier
|
Server.SOAP.POST.GetTile.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Current> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid SOAP POST GetTile requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
current tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.2.2.1, p. 40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.8, p. 82
|
Test type
|
Capability
|
Table 31.17. Server SOAP POST - GetTile - Valid Tile
Format
Test case identifier
|
Server.SOAP.POST.GetTile.Valid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid SOAP POST GetTile requests with the tile formats
advertised in the Service Metadata Document for each layer,
and each sample dimension if applicable, are in the MIME
types of the requested formats.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources in MIME types corresponding to the requested
formats. Pass if all assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.10, p. 83
|
Test type
|
Capability
|
Table 31.18. Server SOAP POST - GetTile - Invalid Tile
Format
Test case identifier
|
Server.SOAP.POST.GetTile.Invalid.Tile.Format
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that the responses returned by a WMTS server to SOAP
POST GetTile requests with tile formats not advertised in
the Service Metadata Document for each layer, and each
sample dimension if applicable, are valid exception reports.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document, and formats not in the Service
Metadata document. Check that responses contain valid
exception reports and HTTP status codes. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: table 24, p 43
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.9, p. 83
|
Test type
|
Capability
|
Table 31.19. Server SOAP POST - GetTile - Valid Tile Size
Test case identifier
|
Server.SOAP.POST.GetTile.Valid.Tile.Size
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid SOAP POST GetTile requests with the tile sizes (TileWidth and TileHeight )
advertised in the Service Metadata Document for each
TileMatrix in the TileMatrixSet of a Layer, and for each
sample dimension of Layers with Dimensions, are the
advertised sizes.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources of the correct sizes. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.11, p. 83
|
Test type
|
Capability
|
Table 31.20. Server SOAP POST - GetTile - Valid Tile
Transparency
Test case identifier
|
Server.SOAP.POST.GetTile.Valid.Tile.Transparency
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetTile"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
|
Test purpose
|
Verify that the returned tile has transparent color for
NODATA values.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Send a correct request for a Layer in a format that supports
transparency and in a tile where NODATA values are expected
and test for transparent color there. Pass if all assertions
hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.2, pp. 39-40
-
OGC-07-057r7
: table 22, p. 42
-
OGC-07-057r7
: cl. 8.2.1, p. 51
-
OGC-07-057r7
: table 29, p. 51
-
OGC-07-057r7
: cl. 8.2.3, p. 52
-
OGC-07-057r7
: cl. 9.2, pp. 55-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.5.12, p. 83
|
Test type
|
Capability
|
32. Server SOAP POST
Interface - Optional GetFeatureInfo Operation
Purpose
The Server SOAP POST Interface - Optional
GetFeatureInfo
test group includes SOAP POST
GetFeatureInfo requests to the WMTS server to exercise all
supported parameters.
Table 32.1. Server SOAP POST - GetFeatureInfo - Mandatory
parameters
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Mandatory
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid SOAP POST GetFeatureInfo requests with
valid values for mandatory parameters as specified in the
Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl 9.3, pp. 57-59
-
OGC-07-057r7
: cl. A.2.6, p. 73
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
|
Test type
|
Basic
|
Table 32.2. Server SOAP POST - GetFeatureInfo - Optional
Parameter - sample dimensions
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid SOAP POST GetFeatureInfo requests with
optional sample dimensions parameter valid values from the
range specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl 9.3, pp. 57-59
-
OGC-07-057r7
: cl. A.2.6, p. 73
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
|
Test type
|
Basic
|
Table 32.3. Server SOAP POST - GetFeatureInfo - Missing
mandatory parameters
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Missing
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that if a mandatory SOAP POST GetFeatureInfo
parameter is missing from an otherwise valid request, the
server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements and with no sample dimensions or with every
sample dimension having a default value;, except when
tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document, except when
tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document, except when tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document, except
when tested as missing;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document, except when tested as
missing;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Layer
-
Style
-
Format
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
-
J
-
I
-
InfoFormat
Check that responses contain valid exception reports. Pass if
all assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.2.6, p. 73
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
|
Test type
|
Capability
|
Table 32.4. Server SOAP POST - GetFeatureInfo - Invalid
Layer
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value not equal to a
<Layer><ows:Identifier> value from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.5. Server SOAP POST - GetFeatureInfo - Invalid
TileMatrixSet
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrixSet incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for a TileMatrixSet from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.6. Server SOAP POST - GetFeatureInfo - Invalid
TileMatrix
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrix incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value not
listed in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for some
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for some TileMatrix
from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.7. Server SOAP POST - GetFeatureInfo - Invalid
Row - no TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value greater than the
MatrixHeight in the TileMatrix for the tile in the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.8. Server SOAP POST - GetFeatureInfo - Invalid
Col - no TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value greater than the
MatrixWidth for the TileMatrix of the tile in the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.9. Server SOAP POST - GetFeatureInfo - Invalid
Row - TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileRow".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.10. Server SOAP POST - GetFeatureInfo - Invalid
Col - TileMatrixSetLimits
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value outside of the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileCol".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.11. Server SOAP POST - GetFeatureInfo - Invalid
Style
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when GetFeatureInfo a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"Style".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.12. Server SOAP POST - GetFeatureInfo - Missing
Optional Parameters
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with no <Default> value.
|
Test purpose
|
Verify that when a GetFeatureInfo request for a tile from a
layer with a sample dimension with no default sample
dimension value is missing a request parameter for the
sample dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter parameter with a MIME type format value
equal to an <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.13. Server SOAP POST - GetFeatureInfo - Invalid
Sample Dimension Name
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.SampleDimension.Name
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains the name
not defined as a sample dimension, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is not
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with any value.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.14. Server SOAP POST - GetFeatureInfo - Invalid
Sample Dimension Value
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
parameter name defined as a sample dimension with a value
that is not defined for that dimension in the Service
Metadata document, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name that is
specified in a <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value that is not
specified in a <Contents><Layer><Dimension><Value>
in the Service Metadata document for that sample
dimension.
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension for which an invalid
value was supplied in the request.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.15. Server SOAP POST - GetFeatureInfo - Default
Sample Dimension
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Default.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Default> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid SOAP POST GetFeatureInfo requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "default".
-
the
server returns a FeatureInfo document wrapped in the
SOAP version 1.2 envelope from a Layer with a sample
dimension with a default value in response to the SOAP
POST GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.3, pp. 57-59
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.16. Server SOAP POST - GetFeatureInfo - Current
Sample Dimension
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Current.SampleDimension
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
response entity has an <ows:Operation
name="GetFeatureInfo"> element that contains a <ows:DCP><ows:HTTP><ows:Post><ows:Constraint
name="PostEncoding"><ows:AllowedValues><ows:Value>
child element with a value of "SOAP".
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Current> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid SOAP POST GetFeatureInfo requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a name specified in
the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with an optional sample
dimensions parameter with a value of "current".
-
the
server returns a FeatureInfo document wrapped in the
SOAP version 1.2 envelope from a Layer with a sample
dimension with a current value in response to the SOAP
POST GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.3, pp. 57-59
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 32.17. Server SOAP POST - GetFeatureInfo -
Non-Queryable Layer
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.NonQueryable.Layer
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request is made for a
non-queryable layer, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter wwith a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with no <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid KVP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with any value;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6.1, p. 84
|
Test type
|
Capability
|
Table 20.18. Server SOAP POST - GetFeatureInfo - Valid
InfoFormat
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Valid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that for each GetFeatureInfo format, when the
InfoFormat parameter is set to that format or URLtemplate
having a format parameter, the MIME type of the response
matches that format.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
server returns a FeatureInfo document wrapped in the
SOAP version 1.2 envelope in response to a valid SOAP
POST GetFeatureInfo request for each offered
InfoFormat for each Layer with a FeatureInfo document
of the requested InfoFormat MIME type.
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.3, pp. 57-57
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6.3, p. 85
|
Test type
|
Capability
|
Table 32.19. Server SOAP POST - GetFeatureInfo - Invalid
InfoFormat
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.InfoFormat
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains an InfoFormat
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <InfoFormat>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is not one of
the <InfoFormat>s for the specified Layer from
the Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "OperationNotSupported".
-
the
response entity contains a locator attribute value of
"GetFeatureInfo".
-
the
HTTP status code value is set to 501, corresponding to
the message "Not Implemented".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6.2, p. 84
|
Test type
|
Capability
|
Table 32.20. Server SOAP POST - GetFeatureInfo - Invalid
Pixel.Row.J
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Pixel.Row.J
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Row J
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Row.J>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value greater than the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"J".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
Table 32.21. Server SOAP POST - GetFeatureInfo - Invalid
Pixel.Col.I
Test case identifier
|
Server.SOAP.POST.GetFeatureInfo.Invalid.Pixel.Col.I
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Col I
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with <Pixel.Col.I>
elements;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory format
parameter with a MIME type format value equal to a
<Layer><Format> value for the specified
Layer from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory I
parameter with a column index value greater than the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid SOAP POST GetFeatureInfo
request with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
response entity is a a SOAP 1.2 response message that
contains a schema-valid ows:Exception document in the
<soap:Detail> element.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"I".
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
35. Server RESTful Interface -
Mandatory GetTile Operation
Purpose
The Server RESTful Interface - Mandatory
GetTile
test group includes RESTful GetTile requests to
the WMTS server to exercise all supported parameters.
Table 35.1. Server RESTful - GetTile - Mandatory
parameters
Test case identifier
|
Server.RESTful.GetTile.Mandatory
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid RESTful
GetTile requests with valid values for mandatory parameters
as specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value for a layer with no sample dimensions
or with every sample dimension having a default value,
provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the server
returns a tile in response to a valid RESTful GetTile
request for each tile from each Layer, in each style
for the layer, in each image format for the layer,
from each TileMatrix from each TileMatrixSet for the
layer offered by the server.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.2. Server RESTful - GetTile - Optional Parameter
- sample dimensions
Test case identifier
|
Server.RESTful.GetTile.Optional
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetTile" operation with a
name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with three or more
<Dimension>s.
|
Test purpose
|
Test that a WMTS server can return tiles advertised in its
Service Metadata document in response to valid RESTful
GetTile requests with optional sample dimensions parameter
valid values from the range specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.3. Server RESTful - GetTile - Missing mandatory
parameters
Test case identifier
|
Server.RESTful.GetTile.Missing
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity has one or more <wmts:Layer>s
with no <wmts:Dimension> or with every <wmtsDimension>
with a <wmts:Default> dimension value.
|
Test purpose
|
Verify that if a mandatory RESTful GetTile parameter is
missing from an otherwise valid request, the server throws
an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value for a layer with no sample dimensions
or with every sample dimension having a default value,
provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable, except when tested as missing;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template, except when tested as missing;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable, except when
tested as missing;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable, except when tested
as missing;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable, except when tested as
missing;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable, except when tested as
missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing;
-
the HTTP
status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Style
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
Check that responses are HTTP error status codes. Pass if all
assertions hold; BestPractice if all best practice assertions
also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.4. Server RESTful - GetTile - Invalid Layer
Test case identifier
|
Server.RESTful.GetTile.Invalid.Layer
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
|
Test purpose
|
Verify that when a GetTile request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with an invalid mandatory Layer
identifier value not provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.5. Server RESTful - GetTile - Invalid
TileMatrixSet
Test case identifier
|
Server.RESTful.GetTile.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity has one or more <TileMatrixSet>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrixSet
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
identifier value not listed in the Service Metadata
document substituted in place of the "TileMatrixSet"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.6. Server RESTful - GetTile - Invalid TileMatrix
Test case identifier
|
Server.RESTful.GetTile.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity has two or more <TileMatrix>
elements.
|
Test purpose
|
Verify that when a GetTile request contains a TileMatrix
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
identifier value not listed in the Service Metadata
document substituted in place of the "TileMatrix" URL
template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.7. Server RESTful - GetTile - Invalid Row - no
TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetTile.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value greater than the MatrixHeight in the
TileMatrix for the tile in the Service Metadata
document substituted in place of the "TileRow" URL
template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileRow".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.8. Server RESTful - GetTile - Invalid Col - no
TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetTile.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity advertises a Layer with no
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with no TileMatrixSetLimits,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value greater than the MatrixWidth for the
TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileCol" URL
template variable;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileCol".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.9. Server RESTful - GetTile - Invalid Row -
TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetTile.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Row incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileRow" URL
template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileCol" URL
template variable;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileRow".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.10. Server RESTful - GetTile - Invalid Col -
TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetTile.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity advertises a Layer with
TileMatrixSetLimits.
|
Test purpose
|
Verify that when a GetTile request contains a Col incorrect
value for a tile in a Layer with TileMatrixSetLimits, then
the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
parameter with a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileRow" URL
template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
parameter with a TileCol index value outside the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileCol" URL
template variable;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileRow".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.11. Server RESTful - GetTile - Invalid Style
Test case identifier
|
Server.RESTful.GetTile.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
|
Test purpose
|
Verify that when GetTile a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document substituted in place of
the "style" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "Style".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.12. Server RESTful - GetTile - Missing Optional
Parameters
Test case identifier
|
Server.RESTful.GetTile.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
-
the
response entity has a <Layer> with one or more
<Dimension>s with no <Default> value.
|
Test purpose
|
Verify that when a GetTile request for a tile from a layer
with a sample dimension with no default sample dimension
value is missing a request parameter for the sample
dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request with
the mandatory request
parameter with a value of GetTile ;
-
the
request entity is a valid RESTful GetTile request with
the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid RESTful GetTile request with
the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid RESTful GetTile request with
the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid RESTful GetTile request with
the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid RESTful GetTile request with
the mandatory format
parameter parameter with a MIME type format value
equal to a <Layer><Format> value for the
specified Layer from the Service Metadata document
-
the
request entity is a valid RESTful GetTile request with
the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid RESTful GetTile request with
the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid RESTful GetTile request with
the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid RESTful GetTile request with
the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetTile request
without an optional sample
dimensions parameter for each sample dimension
that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "MissingParameterValue" for each
sample dimension.
-
the response entity contains a locator attribute value
equal to the name of each sample dimension.
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.13. Server RESTful - GetTile - Invalid Sample
Dimension Value
Test case identifier
|
Server.RESTful.GetTile.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetTile" operation with a
name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with one or more
<Dimension>s.
|
Test purpose
|
Verify that when a GetTile request contains a parameter name
defined as a sample dimension with a value that is not
defined for that dimension in the Service Metadata document,
then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetTile request URL
with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetTile request URL
with an optional sample dimensions
parameter with a with a name from a <Dimension><ows:Identifier>
value for the specified Layer from the Service
Metadata document;
-
the
request entity is a valid RESTful GetTile request URL
with an optional sample dimensions
parameter with a value that is not specified in one of
the <Dimension><Value> elements for the
specified Dimension from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of the name of the sample dimension for which an
invalid value was supplied in the request.
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.14. Server RESTful - GetTile - Default Sample
Dimension
Test case identifier
|
Server.RESTful.GetTile.Default.SampleDimension
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetTile" operation with a
name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Default> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid RESTful GetTile requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
default tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.15. Server RESTful - GetTile - Current Sample
Dimension
Test case identifier
|
Server.RESTful.GetTile.Current.SampleDimension
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetTile" operation with a
name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with one or more
<Dimension>s with a <Current> element text
value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid RESTful GetTile requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain the
current tile resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.16. Server RESTful - GetTile - Valid Tile Format
Test case identifier
|
Server.RESTful.GetTile.Valid.Tile.Format
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid RESTful GetTile requests with the tile formats
advertised in the Service Metadata Document for each layer,
and each sample dimension if applicable, are in the MIME
types of the requested formats.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources in MIME types corresponding to the requested
formats. Pass if all assertions hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.17. Server RESTful - GetTile - Valid Tile Size
Test case identifier
|
Server.RESTful.GetTile.Valid.Tile.Size
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
|
Test purpose
|
Test that the tiles returned by a WMTS server in response to
valid RESTful GetTile requests with the tile sizes (TileWidth and TileHeight )
advertised in the Service Metadata Document for each
TileMatrix in the TileMatrixSet of a Layer, and for each
sample dimension of Layers with Dimensions, are the
advertised sizes.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain tile
resources of the correct sizes. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 35.18. Server RESTful - GetTile - Valid Tile
Transparency
Test case identifier
|
Server.RESTful.GetTile.Valid.Tile.Transparency
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetTile" operation for each
advertised Layer.
|
Test purpose
|
Verify that the returned tile has transparent color for
NODATA values.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
|
Test method
|
Send a correct request for a Layer in a format that supports
transparency and in a tile where NODATA values are expected
and test for transparent color there. Pass if all assertions
hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
20. Server RESTful
Interface - Optional GetFeatureInfo Operation
Purpose
The Server RESTful Interface - Optional
GetFeatureInfo
test group includes RESTful GetFeatureInfo
requests to the WMTS server to exercise all supported
parameters.
Table 36.1. Server RESTful - GetFeatureInfo - Mandatory
parameters
Test case identifier
|
Server.RESTful.GetFeatureInfo.Mandatory
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid RESTful GetFeatureInfo requests with valid
values for mandatory parameters as specified in the Service
Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value for a layer with no sample dimensions
or with every sample dimension having a default value,
provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
server returns FeatureInfo in response to a valid
RESTful GetFeatureInfo request for sample pixels from
each tile from each Layer with InfoFormats, in each
style for the layer, in each image format for the
layer, in each InfoFormat for the Layer, from each
TileMatrix from each TileMatrixSet for the Layer
offered by the server.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 36.2. Server RESTful - GetFeatureInfo - Optional
Parameter - sample dimensions
Test case identifier
|
Server.RESTful.GetFeatureInfo.Optional
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Test that a WMTS server can return FeatureInfo for pixels in
tiles advertised in its Service Metadata document in
response to valid RESTful GetFeatureInfo requests with
optional sample dimensions parameter valid values from the
range specified in the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the request to
be valid:
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo resources. Pass if all assertions hold; fail
otherwise.
|
Reference
|
|
Test type
|
Basic
|
Table 36.3. Server RESTful - GetFeatureInfo - Missing
mandatory parameters
Test case identifier
|
Server.RESTful.GetFeatureInfo.Missing
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that if a mandatory RESTful GetFeatureInfo parameter
is missing from an otherwise valid request, the server
throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value for a layer with no sample dimensions
or with every sample dimension having a default value,
provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable, except when tested as missing;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template, except when tested as missing;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable, except when
tested as missing;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable, except when tested
as missing;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable, except when tested as
missing;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable, except when tested as
missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values,
except when tested as missing;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values,
except when tested as missing;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the missing parameter.
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate test requests with one of the following parameters
missing, and other parameter values valid using the contents
of Service Metadata document.
-
Style
-
TileMatrixSet
-
TileMatrix
-
Row
-
Col
-
J
-
I
-
InfoFormat
Check that responses are HTTP error status codes. Pass if all
assertions hold; BestPractice if all best practice assertions
also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.4. Server RESTful - GetFeatureInfo - Invalid
Layer
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Layer
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Layer
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an invalid mandatory Layer identifier value not
provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"layer".
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.5. Server RESTful - GetFeatureInfo - Invalid
TileMatrixSet
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.TileMatrixSet
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrixSet incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
identifier value not listed in the Service Metadata
document substituted in place of the "TileMatrixSet"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrixSet".
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.6. Server RESTful - GetFeatureInfo - Invalid
TileMatrix
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.TileMatrix
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
TileMatrix incorrect value, then the server throws an
exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
identifier value not listed in the Service Metadata
document substituted in place of the "TileMatrix" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "InvalidParameterValue".
-
the
response entity contains a locator attribute value of
"TileMatrix".
-
the
HTTP status code value is set to 404, corresponding to
the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.7. Server RESTful - GetFeatureInfo - Invalid Row
- no TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Tile.Row.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetFeatureInfo" operation for each
advertised Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value greater than the MatrixHeight in the
TileMatrix for the tile in the Service Metadata
document substituted in place of the "TileRow" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileRow".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.8. Server RESTful - GetFeatureInfo - Invalid Col
- no TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Tile.Col.No.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetFeatureInfo" operation for each
advertised Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with no <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with no
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value greater than the MatrixWidth for the
TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileCol" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileCol".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.9. Server RESTful - GetFeatureInfo - Invalid Row
- TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Tile.Row.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetFeatureInfo" operation for each
advertised Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Row
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
parameter with a TileRow index value outside of the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileRow" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
parameter with a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileCol" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileRow".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.10. Server RESTful - GetFeatureInfo - Invalid
Col - TileMatrixSetLimits
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Tile.Col.TileMatrixSetLimits
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a <ResourceURL> template
element for the "GetFeatureInfo" operation for each
advertised Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and a <TileMatrixSetLink>
with <TileMatrixSetLimits>.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a Col
incorrect value for a tile in a Layer with
TileMatrixSetLimits, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
parameter with a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileRow" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
parameter with a TileCol index value outside the
TileMatrixLimits MinTileCol and MaxTileCol values for
the TileMatrix of the tile in the Service Metadata
document substituted in place of the "TileCol" URL
template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "TileRow".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.11. Server RESTful - GetFeatureInfo - Invalid
Style
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Tile.Style
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that when GetFeatureInfo a request contains a Style
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
parameter with a style identifier value not listed in
the Service Metadata document substituted in place of
the "style" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "Style".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.12. Server RESTful - GetFeatureInfo - Missing
Optional Parameters
Test case identifier
|
Server.RESTful.GetFeatureInfo.Missing.Optional
|
Prerequisites
|
Bootstrap
KVP GET - GetCapabilities
-
the
resonse entity has a <ResourceURL> template
element for the "GetFeatureInfo" operation for each
advertised Layer..
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with no <Default> value.
|
Test purpose
|
Verify that when a GetFeatureInfo request for a tile from a
layer with a sample dimension with no default sample
dimension value is missing a request parameter for the
sample dimension name, that the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory request
parameter with a value of GetFeatureInfo ;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory service
parameter with a value of WMTS ;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory Version
parameter with a value of 1.0.0 ;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory Layer
parameter with a layer identifier value equal to a
<Layer><ows:Identifier> value from the
Service Metadata document for a layer with a sample
dimension with no default value;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory Style
parameter with a style identifier value equal to a
<Layer><Style><owsIdentifier> value
for the specified Layer from the Service Metadata
document;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory format
parameter parameter with a MIME type format value
equal to an <Layer><InfoFormat> value for
the specified Layer from the Service Metadata document
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory TileMatrixSet
parameter with a TileMatrixSet identifier value equal
to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory TileMatrix
parameter with a TileMatrix identifier value equal to
a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory TileRow
parameter with a TileRow index value from zero to the
value of <MatrixHeight> minus 1 for the
specified TileMatrix from the Service Metadata
document;
-
the
request entity is a valid RESTful GetFeatureInfo
request with the mandatory TileCol
parameter with a TileCol index value from zero to the
value of <MatrixWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid KVP GET GetFeatureInfo
request with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request without an optional sample
dimensions parameter for a sample dimension
without a default value that is specified in the <Contents><Layer><Dimension><ows:Identifier>
in the Service Metadata document for the specified
layer.
-
the
response entity is a schema-valid ows:Exception
document.
-
the
response entity contains an exceptionCode attribute
value of "MissingParameterValue".
-
the
response entity contains a locator attribute value of
the name of the sample dimension.
-
the
HTTP status code value is set to 400, corresponding to
the message "Bad Request".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: cl 7.1.1.1.1, pp. 14-15
-
OGC-07-057r7
: cl. 7.1.1.1.2 p. 22
-
OGC-07-057r7
: cl. 7.3.2.1, p. 45
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl 9.4, pp. 59-60
-
OGC-07-057r7
: cl. A.3.1.4, p. 74
-
OGC-07-057r7
: cl. A.3.6, p. 84
|
Test type
|
Capability
|
Table 36.13. Server RESTful - GetFeatureInfo - Invalid
Sample Dimension Value
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.SampleDimension.Value
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetFeatureInfo" operation
with a name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s.
|
Test purpose
|
Verify that when a GetFeatureInfo request contains a
parameter name defined as a sample dimension with a value
that is not defined for that dimension in the Service
Metadata document, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a with a name from a
<Dimension><ows:Identifier> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a value that is not
specified in one of the <Dimension><Value>
elements for the specified Dimension from the Service
Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of the name of the sample dimension for which an
invalid value was supplied in the request.
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.14. Server RESTful - GetFeatureInfo - Default
Sample Dimension
Test case identifier
|
Server.RESTful.GetFeatureInfo.Default.SampleDimension
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetFeatureInfo" operation
with a name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Default> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid RESTful GetFeatureInfo requests with optional sample
dimensions parameter with the "default" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a with a name from a
<Dimension><ows:Identifier> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a value of "default";
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a default value in response to the
RESTful GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.15. Server RESTful - GetFeatureInfo - Current
Sample Dimension
Test case identifier
|
Server.RESTful.GetFeatureInfo.Current.SampleDimension
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
-
the resonse entity has a separate <ResourceURL>
template element for the "GetFeatureInfo" operation
with a name for each <Dimension><ows:Identifier>
element defined for each Layer.
-
the
response entity has a <Layer> with one or more
<InfoFormat>s and one or more <Dimension>s
with a <Current> element text value.
|
Test purpose
|
Test that a WMTS server can return tiles in response to
valid RESTful GetFeatureInfo requests with optional sample
dimensions parameter with the "current" values specified in
the Service Metadata document.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a with a name from a
<Dimension><ows:Identifier> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a value of "current";
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
server returns FeatureInfo from a Layer with a sample
dimension with a current value in response to the
RESTful GetFeatureInfo request.
|
Test method
|
Generate parameter values in the requests with contents of
Service Metadata document. Check that responses contain
FeatureInfo for the specified pixel for the specified tile for
the default sample dimension. Pass if all assertions hold;
fail otherwise.
|
Reference
|
|
Test type
|
Capability
|
Table 36.16. Server RESTful - GetFeatureInfo - Valid
InfoFormat
Test case identifier
|
Server.RESTful.GetFeatureInfo.Valid.InfoFormat
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that for each GetFeatureInfo format, when the
InfoFormat parameter is set to that format or URLtemplate
having a format parameter, the MIME type of the response
matches that format.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a with a name from a
<Dimension><ows:Identifier> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a value from one of
the <Dimension><Value> elements for the
specified Dimension from the Service Metadata
document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value from one of the
<InfoFormat>s for the specified Layer provided
in the ResourceURL template from the Service Metadata
document;
-
the
server returns FeatureInfo in response to a valid
RESTful GetFeatureInfo request for each offered
InfoFormat for each Layer with a FeatureInfo document
of the requested InfoFormat MIME type.
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that response contains a
valid exception report and HTTP status code. Pass if all
assertions hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: cl. 10.3, pp. 65-68
-
OGC-07-057r7
: table 34, pp. 66-67
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.3, p. 85
|
Test type
|
Capability
|
Table 36.17. Server RESTful - GetFeatureInfo - Invalid
Pixel.Row.J
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Pixel.Row.J
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Row J
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a with a name from a
<Dimension><ows:Identifier> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a value from one of
the <Dimension><Value> elements for the
specified Dimension from the Service Metadata
document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value greater than the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value from zero to the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid ows:Exception
document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator attribute value
of "J".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: cl. 10.3, pp. 65-68
-
OGC-07-057r7
: table 34, pp. 66-67
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|
Table 36.18. Server RESTful - GetFeatureInfo - Invalid
Pixel.Col.I
Test case identifier
|
Server.RESTful.GetFeatureInfo.Invalid.Pixel.Col.I
|
Prerequisites
|
Bootstrap
RESTful - GetCapabilities
|
Test purpose
|
Verify that when a GetFeature request contains a Pixel Col I
incorrect value, then the server throws an exception.
|
Assertions
|
All of the following assertions must hold for the responses
to be valid:
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Layer
identifier value provided in the ResourceURL template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory Style
identifier value equal to a <Layer><Style><owsIdentifier>
value for the specified Layer from the Service
Metadata document substituted in place of the "style"
URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory format
MIME type format value provided in the ResourceURL
template;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrixSet
identifier value equal to a <Layer><TileMatrixSetLink><TileMatrixSet>
value for the specified Layer from the Service
Metadata document substituted in place of the
"TileMatrixSet" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileMatrix
identifier value equal to a <TileMatrixSet><TileMatrix><owsIdentifier>
value for the specified TileMatrixSet from the Service
Metadata document substituted in place of the
"TileMatrix" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileRow
index value from zero to the value of <MatrixHeight>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileRow" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory TileCol
index value from zero to the value of <MatrixWidth>
minus 1 for the specified TileMatrix from the Service
Metadata document substituted in place of the
"TileCol" URL template variable;
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileRow index value within the
TileMatrixLimits MinTileRow and MaxTileRow values.
-
the
request entity for a tile from a Layer with
TileMatrixSetLimits with TileMatrixLimits that
references the identifier of the TileMatrix for the
tile specifies a TileCol index value within the
TileMatrixLimits MinTileCol and MaxTileCol values.
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a with a name from a
<Dimension><ows:Identifier> value for the
specified Layer from the Service Metadata document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with an optional sample
dimensions parameter with a value from one of
the <Dimension><Value> elements for the
specified Dimension from the Service Metadata
document;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory J
parameter with a row index value from zero to the
value of <TileHeight> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "J" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory I
parameter with a column index value greater than the
value of <TileWidth> minus 1 for the specified
TileMatrix from the Service Metadata document
substituted in place of the "I" URL template variable;
-
the
request entity is a valid RESTful GetFeatureInfo
request URL with the mandatory infoFormat
parameter with an InfoFormat value that is one of the
<InfoFormat>s for the specified Layer from the
Service Metadata document;
-
the
HTTP status code value is set to indicate an error.
|
BestPracticeAssertions
|
In addition to the assertions above, all of the following
assertions must hold for the responses to be Best Practice:
-
the response entity is a schema-valid
ows:Exception document.
-
the response entity contains an exceptionCode
attribute value of "InvalidParameterValue".
-
the response entity contains a locator
attribute value of "I".
-
the HTTP status code value is set to 404,
corresponding to the message "File Not Found".
|
Test method
|
Generate parameter values in the request with contents of
Service Metadata document. Check that responses are HTTP error
status codes. Pass if all assertions hold; BestPractice if all
best practice assertions also hold; fail otherwise.
|
Reference
|
-
OGC-06-121r3
: cl. 9.2, p. 46
-
OGC-07-057r7
: cl. 6.1, pp. 7-10
-
OGC-07-057r7
: table 6, pp. 19-20
-
OGC-07-057r7
: cl. 7.3.2.2, pp, 47-48
-
OGC-07-057r7
: figure 11, p. 46
-
OGC-07-057r7
: table 25, p. 47
-
OGC-07-057r7
: cl. 8.3.1, p. 52
-
OGC-07-057r7
: table 30, pp. 52-53
-
OGC-07-057r7
: cl. 8.3.3, p. 53
-
OGC-07-057r7
: cl. A.3.6.4, p. 85
|
Test type
|
Capability
|