opengeospatial / ets-wmts10

WMTS Test suite
Other
1 stars 3 forks source link

Test wmts:Server.KVP.GET.InvalidQueryString is flawed #54

Closed pomakis closed 3 years ago

pomakis commented 5 years ago

The wmts:Server.KVP.GET.InvalidQueryString test throws a garbage query string at the WMTS GetCapabilities base URL and expects to get an ows:ExceptionReport back. However, a WMTS GetCapabilities base URL isn't a complete URL to a WMTS service. It needs a valid SERVICE=WMTS query parameter. This mechanism allows multiple services (WMS, WMTS, WFS, WCS, etc.) to be handled by a single base URL.

Therefore, any test that uses a WMTS base URL without a SERVICE=WMTS query parameter isn't testing the WMTS service, and is therefore out of scope of the test suite. The endpoint handler would have no way of knowing which service is being invoked.

dstenger commented 5 years ago

Thank you for reporting. We will check if the test can be adjusted according to your proposal (SERVICE=WMTS is existent).

ghobona commented 4 years ago

@keshav-nangare

I agree with @pomakis that the test should include a SERVICE=WMTS query parameter.

keshavnangare commented 4 years ago

Fixed with #64 PR.