Purpose: Test that service metadata is referenced through the MetadataURL element within the ExtendedCapabilities section.
Prerequisites
This test only applies to Scenario 1. Otherwise the test case is skipped.
Test method
-
Send a GetCapabilities request.
- Check that MetadataUrl element contains a valid URL:
- Send a request to get the metadata document.
- Check that the metadata document obtained is correct.
- Check that MetadataUrl element contains a valid URL:
Reference(s):
- TG VS, Chapter 4.2.3.3.1, Requirement 6 - Section 1
Test type: Automated
Notes
Contextual XPath references
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression (relative to /wms:WMS_Capabilities) |
---|---|
MetadataUrl | /wms:WMS_Capabilities/wms:Capability/inspire_vs:ExtendedCapabilities/inspire_common:MetadataUrl |