QGIS Server Certification Report for WFS 1.1.0

2019-04-21 05:32:13

Overall result: Failed

Version: master

Commit: 8c21a9e848278218fcf76021ba121fbab9d52194

Level tests: BASIC

Exhaustive description for Test Suite: here

This report is automatically generated thanks to QGIS-Server-CertifSuite.

Content

test: wfs:wfs-main

Assertion

WFS 1.1.0 Tests

Test result

Failed

Executed tests

test: wfs:readiness-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

Failed

Executed tests

test: ctl:SchematronValidatingParser

Assertion

Validate an XML instance against a Schematron schema using the given phase.

Test result

Failed

test: wfs:basic-main

Assertion

Tests the WFS 1.1.0 basic capabilities and operations.

Test result

Failed

Executed tests

test: wfs:run-GetCapabilities-basic-cc-GET

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

Failed

Executed tests

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc1

Assertion

The GET method request must be supported (using HTTP GET).

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc2

Assertion

Version number specified in a given request must correspond to a version supported by the service (1.1.0).

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc3

Assertion

Host names in a URI are case-insensitive.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc4

Assertion

The response entity must be valid and have wfs:WFS_Capabilities as the document element.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc5

Assertion

Unrecognized parameters in KVP-encoded query strings shall be ignored.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc6

Assertion

Parameter ordering in KVP-encoded query strings is not significant.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc7

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

Failed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc8

Assertion

Parameter names in KVP strings shall be handled in a case-insensitive manner.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc9

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc10

Assertion

All OGC web services must implement the GetCapabilities request to provide an XML representation of service metadata.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc11

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc12

Assertion

If AcceptVersion is not specified, the service must respond with highest supported version.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.128.3/qgisserver_master?MAP=/data/teamengine_wfs_110.qgs&
service=WFS&
request=GetCapabilities

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc13

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

Failed

Submitted request

Method
get

URL
http://192.168.128.3/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.


test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc14

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetCapabilities-tc15

Assertion

A complete service metadata document must include mandatory parameters and constraints in the OperationsMetadata section.

Test result

Failed

Executed tests

test: ctl:SchematronValidatingParser

Assertion

Validate an XML instance against a Schematron schema using the given phase.

Test result

Failed

test: wfs:run-DescribeFeatureType-basic-cc-POST

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

Passed

Executed tests

test: wfs:wfs-1.1.0-Basic-DescribeFeatureType-POST-tc1

Assertion

The following attributes are required for all XML request entities: @version (default '1.1.0'); @service (default 'WFS').

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-DescribeFeatureType-POST-tc2

Assertion

Application schemas that comply with GML 3.1.1 must be a supported. These are presented if no outputFormat is specified.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-DescribeFeatureType-POST-tc3

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

test: wfs:run-DescribeFeatureType-basic-cc-GET

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

Failed

Executed tests

test: wfs:wfs-1.1.0-Basic-DescribeFeatureType-tc1

Assertion

The following query parameters are required for all KVP-encoded service requests except GetCapabilities: service, request, version.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-DescribeFeatureType-tc2

Assertion

Application schemas that comply with GML 3.1.1 must be a supported. These are presented if no outputFormat is specified.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-DescribeFeatureType-tc3

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

test: wfs:run-GetFeature-basic-cc-POST

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

Failed

Executed tests

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc1

Assertion

The default output format is XML that complies with GML 3.1.1.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc2

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc3

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc4

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc5

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

Passed

Submitted request

Method
get

URL
http://192.168.128.3/qgisserver_master?MAP=/data/teamengine_wfs_110.qgs

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc6

Assertion

If a request is unrecognizable or the service cannot process the request, a valid exception report must be returned.

Test result

Failed

Executed tests

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc7

Assertion

The following attributes are required for all XML request entities: @version (default '1.1.0'); @service (default 'WFS').

Test result

Failed

Executed tests

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-POST-tc8

Assertion

The @typeName attribute must identify a list of known feature types. Aliases may be declared for use in a filter expression.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:run-GetFeature-basic-cc-GET

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

Failed

Executed tests

test: wfs:wfs-1.1.0-Basic-GetFeature-tc1

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

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-tc2

Assertion

A valid HTTP Get request with an extra parameter not recognized by the WFS does not return an exception.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-tc3

Assertion

A GetFeature request with resultType=Results returns the actual features, not just the count of number of hits.

Test result

Passed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-tc4

Assertion

The following query parameters are required for all KVP-encoded service requests except GetCapabilities: service, request, version.

Test result

Failed

Executed tests

test: ctl:assert-xpath

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

test: wfs:wfs-1.1.0-Basic-GetFeature-tc5

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