QGIS Server Certification Report for WFS 1.1.0
2023-01-26 06:15:52
Overall result:
Failed
Version: master
Commit: 19d7edcfedd492b3489260aaf8febe78fcb882e5
Level tests: BASIC
Exhaustive description for Test Suite: here
This report is automatically generated thanks to QGIS-Server-CertifSuite.
Content
Assertion
WFS 1.1.0 Tests
Test result
FailedExecuted tests
Assertion
Assess readiness of the IUT. Check the retrieved capabilities document for
available service endpoints; determine if the service is available and
is ready to undergo further testing.
Test result
FailedExecuted tests
Assertion
Validate an XML instance against a Schematron schema using the given phase.
Test result
Failed
Assertion
Tests the WFS 1.1.0 basic capabilities and operations.
Test result
FailedExecuted tests
Assertion
Run basic conformance class test group for GetCapabilities
requests using the GET method. Target endpoint is
{$wfs.GetCapabilities.document//ows:OperationsMetadata/ows:Operation[@name='GetCapabilities']/ows:DCP/ows:HTTP/ows:Get/@xlink:href}.
Test result
FailedExecuted tests
Assertion
The GET method request must be supported (using HTTP GET).
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Version number specified in a given request must correspond to a version supported by the service
(1.1.0).
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Host names in a URI are case-insensitive.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
The response entity must be valid and have wfs:WFS_Capabilities as the document element.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Unrecognized parameters in KVP-encoded query strings shall be ignored.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Parameter ordering in KVP-encoded query strings is not significant.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A valid http URL value shall conform to the syntax specified in RFC 2616. http_URL = 'http:' '//' host [
':' port ] [ abs_path [ '?' query ]]
Test result
FailedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Parameter names in KVP strings shall be handled in a case-insensitive manner.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A response message containing an entity body must contain a Content-Type entity header field that
correctly indicates the media type of the message body.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
All OGC web services must implement the GetCapabilities request to provide an XML representation of
service metadata.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A KVP-encoded GetCapabilities request shall include the following query parameters: service=WxS
request=GetCapabilities, where WxS is a mnemonic label for a service type. See Table 2 for definitions of optional
query parameters.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
If AcceptVersion is not specified, the service must respond with highest supported version.
Test result
PassedSubmitted request
Method
get
URL
http://nginx/qgisserver_master?MAP=/data/teamengine_wfs_110.qgs&
service=WFS&
request=GetCapabilities
Assertion
In the event that a GetCapabilities request cannot be processed for any reason, the response entity shall
include an exception report. The exception code must be one of those listed in Table 5.
Test result
FailedSubmitted request
Method
get
URL
http://nginx/qgisserver_master?MAP=/data/teamengine_wfs_110.qgs&
version=1.1.0&
request=GetCapabilities
Message
Response from parser p:XMLValidatingParser.OWS:
Messages from parser p:XMLValidatingParser.OWS:
Validation error:
cvc-elt.1.a: Cannot find the declaration of element 'ServiceExceptionReport'.
1 validation error detected.
Assertion
A valid service metadata document must conform to a content model based on the ows:CapabilitiesBaseType
definition. Additional service-specific elements may be defined as needed.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A complete service metadata document must include mandatory parameters and constraints in the
OperationsMetadata section.
Test result
FailedExecuted tests
Assertion
Validate an XML instance against a Schematron schema using the given phase.
Test result
Failed
Assertion
Run basic conformance class test group for DescribeFeatureType requests using the POST method.
Target endpoint is
{$wfs.GetCapabilities.document//ows:OperationsMetadata/ows:Operation[@name='DescribeFeatureType']/ows:DCP/ows:HTTP/ows:Post/@xlink:href}.
Test result
PassedExecuted tests
Assertion
The following attributes are required for all XML request entities: @version (default '1.1.0');
@service (default 'WFS').
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Application schemas that comply with GML 3.1.1 must be a supported. These are presented if no
outputFormat is specified.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A request with no TypeName elements shall produce a response that includes definitions of all supported
feature types in the requested schema language.
Test result
Passed
Assertion
Run basic conformance class test group for DescribeFeatureType requests using the GET method.
Target endpoint is
{$wfs.GetCapabilities.document//ows:OperationsMetadata/ows:Operation[@name='DescribeFeatureType']/ows:DCP/ows:HTTP/ows:Get/@xlink:href}.
Test result
FailedExecuted tests
Assertion
The following query parameters are required for all KVP-encoded service requests except GetCapabilities:
service, request, version.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Application schemas that comply with GML 3.1.1 must be a supported. These are presented if no
outputFormat is specified.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A request with no TypeName elements shall produce a response that includes definitions of all supported
feature types in the requested schema language.
Test result
Passed
Assertion
Run basic conformance class test group for GetFeature requests using the
POST method. Target endpoint is
{$wfs.GetCapabilities.document//ows:OperationsMetadata/ows:Operation[@name='GetFeature']/ows:DCP/ows:HTTP/ows:Post/@xlink:href}.
Test result
FailedExecuted tests
Assertion
The default output format is XML that complies with GML 3.1.1.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
If @resultType='hits', then only the size of the resulting feature collection and a timestamp is returned
(i.e. @numberOfFeatures, @timeStamp). Only instances of requested feature types are included in the total
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
If @maxFeatures > 0, then the number of features included in the response shall not exceed the specified
number. Members of a feature collection do NOT count toward the total.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
The response entity must be schema valid and include any optional feature properties requested by the
client. The document element must be a wfs:FeatureCollection.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
The response entity must include the @xsi:schemaLocation attribute to identify the set of GML application
schemas against which the matching features are valid.
Test result
PassedSubmitted request
Method
get
URL
http://nginx/qgisserver_master?MAP=/data/teamengine_wfs_110.qgs
Assertion
If a request is unrecognizable or the service cannot process the request, a valid exception report must
be returned.
Test result
FailedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Failed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Failed
Assertion
The following attributes are required for all XML request entities: @version (default '1.1.0'); @service
(default 'WFS').
Test result
FailedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Failed
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
The @typeName attribute must identify a list of known feature types. Aliases may be declared for use in a
filter expression.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
Run basic conformance class test group for GetFeature requests using the GET method.
Target endpoint
is
{$wfs.GetCapabilities.document//ows:OperationsMetadata/ows:Operation[@name='GetFeature']/ows:DCP/ows:HTTP/ows:Get/@xlink:href}.
Test result
FailedExecuted tests
Assertion
The MIME returned for a GetFeature request where no specific output format is requested is "text/xml;subtype=gml/3.1.1".
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A valid HTTP Get request with an extra parameter not recognized by the WFS does not return an
exception.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
A GetFeature request with resultType=Results returns the actual features, not just the count of number of
hits.
Test result
PassedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
The following query parameters are required for all KVP-encoded service requests except GetCapabilities:
service, request, version.
Test result
FailedExecuted tests
Assertion
Evaluates the given XPath expression against the input document and
returns a boolean result according to the XPath specification (see
http://www.w3.org/TR/xpath#section-Boolean-Functions).
Test result
Passed
Assertion
XPath 1.0 shall be used to address parts of an XML representation using ogc:PropertyName. Support for
the AbbreviatedRelativeLocationPath construct is required. A valid filter expression must conform to the content
model declared for the ogc:Filter element.
Test result
Passed