Overall result: Passed

Version: master

Commit: 8a3eefd0a599dd75b3a260c23a7eb5ccfae742c5

Level tests: BASIC, QUERYABLE, RECOMMENDATIONS

Exhaustive description for Test Suite: here

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

Content

test: main:main-auto

Assertion

The implementation under test complies with the WMS 1.3.0 specification.

Test result

Passed

Executed tests

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS


test: main:data-independent

Assertion

Dataset independent request behaves properly.

Test result

Passed

Executed tests

test: basic_elements:basic_elements

Assertion

The basic service elements behave properly.

Test result

Passed

Executed tests

test: basic_elements:reserved-chars

Assertion

Reserved characters in HTTP GET URLs are hanled properly.

Test result

Passed

Executed tests

test: basic_elements:escaped-chars

Assertion

The server can decode escaped hex values.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=%47%65%74%43%61%70%61%62%69%6C%69%74%69%65%73&
VeRsIoN=1.3.0&
SeRvIcE=WMS&


test: basic_elements:escaped-space

Assertion

The server can decode the "+" character as a space.

Message

Can't check since no layer names contain spaces.

Test result

Passed

test: basic_elements:version-negotiation

Assertion

Version negotiation behaves properly.

Test result

Passed

Executed tests

test: basic_elements:negotiate-no-version

Assertion

When a GetCapabilities request is made without a version number, then the response is not lower than 1.3.0.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetCapabilities&
SeRvIcE=WMS&


test: basic_elements:negotiate-basic_elements-version

Assertion

When a GetCapabilities request is made for version 1.3.0, then the response is version 1.3.0.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetCapabilities&
VeRsIoN=1.3.0&
SeRvIcE=WMS&


test: basic_elements:negotiate-higher-version

Assertion

When a GetCapabilities request is made for version 100.0.0, then the response is not lower than 1.3.0.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetCapabilities&
VeRsIoN=100.0.0&
SeRvIcE=WMS&


test: basic_elements:negotiate-lower-version

Assertion

When a GetCapabilities request is made for version 0.0.0, the response is not higher than 1.3.0.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetCapabilities&
VeRsIoN=100.0.0&
SeRvIcE=WMS&


test: basic_elements:param-rules

Assertion

The request parameter rules behave properly.

Test result

Passed

Executed tests

test: basic_elements:extra-GetFeatureInfo-param

Assertion

When a GetFeatureInfo request contains a parameter which is not defined by the spec, the result is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetFeatureInfo&
StYlEs=&
FoRmAt=image%2Fjpeg&
J=64&
CrS=CRS%3A84&
InFo_fOrMaT=text%2Fplain&
LaYeRs=cite%3ALakes&
I=188&
VeRsIoN=1.3.0&
HeIgHt=200&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=200&
QuErY_LaYeRs=cite%3ALakes&
BoGuS=ignored&


test: basic_elements:extra-GetCapabilities-param

Assertion

When a GetCapabilities request contains a parameter which is not defined by the spec, the result is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BoGuS=ignored&
ReQuEsT=GetCapabilities&
VeRsIoN=1.3.0&
SeRvIcE=WMS&


test: basic_elements:extra-GetMap-param

Assertion

When a GetMap request contains a parameter which is not defined by the spec, the result is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=image%2Fjpeg&
ReQuEsT=GetMap&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
CrS=CRS%3A84&
WiDtH=200&
StYlEs=&
HeIgHt=200&
LaYeRs=cite%3ALakes&
BoGuS=ignored&


test: getcapabilities:getcapabilities

Assertion

The GetCapabilities request behaves properly.

Test result

Passed

Executed tests

test: getcapabilities:requests

Assertion

Each request parameter behaves properly.

Test result

Passed

Executed tests

test: getcapabilities:updatesequence-lower

Assertion

When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to a value lower than the current update sequence value, then the server returns capabilities XML.

Message

No updateSequence number is advertised in the Capabilities XML.

Test result

Passed

test: getcapabilities:updatesequence-current

Assertion

When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to the current update sequence value, then the server returns a valid exception (code=CurrentUpdateSequence).

Message

No updateSequence number is advertised in the Capabilities XML.

Test result

Passed

test: getcapabilities:updatesequence-higher

Assertion

When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to a value higher than the current update sequence value, then the server returns an exception (code=InvalidUpdateSequence).

Message

No updateSequence number is advertised in the Capabilities XML.

Test result

Passed

test: getcapabilities:no-format

Assertion

When no FORMAT parameter is supplied, the response is capabilities XML with MIME type text/xml.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetCapabilities&
VeRsIoN=1.3.0&
SeRvIcE=WMS&


test: getcapabilities:each-format

Assertion

For format "text/xml", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=text%2Fxml&
ReQuEsT=GetCapabilities&
VeRsIoN=1.3.0&
SeRvIcE=WMS&


test: getcapabilities:updatesequence-ignored

Assertion

When no updateSequence number is advertised in the Capabilities XML, The UPDATESEQUENCE parameter is ignored.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetCapabilities&
SeRvIcE=WMS&
VeRsIoN=1.3.0&
UpDaTeSeQuEnCe=ignored&


test: getcapabilities:invalid-format

Assertion

When an invalid FORMAT parameter is supplied, the response is capabilities XML with MIME type text/xml.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=invalid&
ReQuEsT=GetCapabilities&
VeRsIoN=1.3.0&
SeRvIcE=WMS&


test: getcapabilities:xml-validation

Assertion

The Capabilities XML validates.

Test result

Passed

Executed tests

test: getcapabilities:normative-schema

Assertion

The normative content of the schema document referred to by the schemaLocation attribute in the capabilities document is identical to the normative content of the on-line schema referred to in Annex E.1.

Test result

Passed

test: getcapabilities:validate-using-schemaLocation

Assertion

The response to a GetCapabilities request validates against the schema(s) provided with the schemaLocation attribute.

Test result

Passed

test: getcapabilities:capability-metadata

Assertion

The capability metadata is advertised correctly.

Test result

Passed

Executed tests

test: getcapabilities:capability-xml-exception-format

Assertion

The server advertises the XML service exception format.

Test result

Passed

test: getcapabilities:capability-onlineresource

Assertion

Each OnlineResource URL intended for HTTP Get requests in the capabilities document is a URL prefix

Test result

Passed

test: getcapabilities:capability-xml-getcapabilities-format

Assertion

The server advertises the text/xml format for the GetCapabilities operation.

Test result

Passed

test: getcapabilities:dimensions

Assertion

Dimensions are declared properly.

Test result

Passed

Executed tests

test: getcapabilities:dims-time

Assertion

All declarations for the time dimension use 'ISO8601' for units.

Test result

Passed

test: getcapabilities:dims-no-redeclarations

Assertion

There are no Dimension elements in the capabilities document that are redeclared using conflicting unit or unitSymbol attributes.

Test result

Passed

test: getcapabilities:dims-elevation-crs88

Assertion

No declarations for the elevation dimension using the vertical datum CRS:88 use a unitSymbol other than 'm'.

Test result

Passed

test: getcapabilities:layer-extents

Assertion

A layer extent must be consistent with its CRS reference. In particular, the following constraints apply to every extent: 1) coordinates shall be listed in accord with the CRS definition; 2) ordinates are represented as decimal degrees; and 3) area > 0. Currently only the commonly used geographic CRS definitions CRS:84 and EPSG:4326 are supported.

Test result

Passed

test: getcapabilities:layer-properties

Assertion

The layer properties are advertised correctly.

Test result

Passed

Executed tests

test: getcapabilities:bbox-distinct-crs

Assertion

For each of the layer elements in the capabilities document, each BoundingBox on the layer states a different CRS.

Test result

Passed

test: getcapabilities:identifier-matches-authorityurl

Assertion

There are no Layer elements in the capabilities document that declare an Identifier without also declaring or inheriting a corresponding AuthorityURL.

Test result

Passed

test: getcapabilities:featurelisturls

Assertion

For each of the FeatureListURL elements in the capabilities document, the MIME-type returned by the resource is the same as the Format element.

Message

No FeatureListURL elements

Test result

Passed

test: getcapabilities:logourls

Assertion

The metadata for each of the LogoURL resources is correct.

Message

No LogoURL elements

Test result

Passed

test: getcapabilities:crs-present

Assertion

Every named layer in the capabilities document has at least one CRS element that is either stated explicitly or inherited from a parent Layer.

Test result

Passed

test: getcapabilities:crs-auto2-declarations

Assertion

None of the CRS declarations in the AUTO2 namespace contain factor, longitude, or latitude variables.

Test result

Passed

test: getcapabilities:bbox-present

Assertion

Every named layer in the capabilities document has at least one BoundingBox element (direct or inherited).

Test result

Passed

test: getcapabilities:crs-for-all-layers

Assertion

The root layer lists all CRSs that are common to all subsidiary layers.

Test result

Passed

test: getcapabilities:bbox-crs-advertised

Assertion

There are no BoundingBoxes provided for a CRS that is not advertised.

Test result

Passed

test: getcapabilities:ex_geobbox-present

Assertion

Every named layer in the capabilities document has an EX_GeographicBoundingBox element that is either stated explicitly or inherited from a parent Layer.

Test result

Passed

test: getcapabilities:authorityurl-unique

Assertion

There are no child Layer elements in the capabilities document that define an AuthorityURL with the same name attribute as one inherited from a parent layer.

Test result

Passed

test: getcapabilities:dataurls

Assertion

For each of the DataURL elements in the capabilities document, the MIME-type returned by the resource is the same as the Format element.

Message

No DataURL elements

Test result

Passed

test: getcapabilities:ex_geobbox-coordinates

Assertion

For each EX_GeographicBoundingBox element, westBoundLongitude is less than eastBoundLongitude and southBoundLatitude is less than northBoundLatitude.

Test result

Passed

test: getcapabilities:style-unique

Assertion

There are no child layers in the capabilities document that redefine a Style with the same name as one inherited from one of its parents.

Test result

Passed

test: getcapabilities:style-legendurls

Assertion

The metadata for each LegendURL resource in each Style element is correct.

Test result

Passed

Executed tests

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Streams&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:RoadSegments&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Ponds&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:NamedPlaces&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:MapNeatline&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:LakesWithElevation&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Lakes&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Forests&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:DividedRoutes&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Buildings&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:BuildingCenters&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Bridges&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:BasicPolygons&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=cite:Autos&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0


test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:DividedRoutes is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:LakesWithElevation is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Buildings is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:RoadSegments is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Lakes is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:BuildingCenters is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Autos is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:MapNeatline is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Forests is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Streams is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:BasicPolygons is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Ponds is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:NamedPlaces is image/png.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the LegendURL for Style default in Layer cite:Bridges is image/png.

Test result

Passed

test: getcapabilities:style-styleurls

Assertion

The metadata for the StyleURL resource in each Style element is correct.

Message

No StyleURL elements

Test result

Passed

test: getcapabilities:metadataurls

Assertion

For each of the MetadataURL elements in the capabilities document, the MIME-type returned by the resource is the same as the Format element.

Test result

Passed

Executed tests

Submitted request

Method
get

URL
http://nginx/wms13/metadata/Streams.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/RoadSegments.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/Ponds.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/NamedPlaces.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/MapNeatline.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/LakesWithElevation.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/Lakes.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/Forests.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/DividedRoutes.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/Buildings.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/BuildingCenters.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/Bridges.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/BasicPolygons.xml


Submitted request

Method
get

URL
http://nginx/wms13/metadata/Autos.xml


test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:RoadSegments is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Ponds is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Streams is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Buildings is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Forests is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:MapNeatline is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:DividedRoutes is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Bridges is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:BasicPolygons is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:NamedPlaces is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Autos is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:Lakes is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:BuildingCenters is text/xml.

Test result

Passed

test: getcapabilities:resource-format

Assertion

The MIME-type returned for the MetadataURL for Layer cite:LakesWithElevation is text/xml.

Test result

Passed

test: getcapabilities:style-stylesheeturls

Assertion

The metadata for the StyleSheetURL resource in each Style element is correct.

Message

No StyleSheetURL elements

Test result

Passed

test: getmap:getmap

Assertion

The GetMap request behaves properly.

Test result

Passed

Executed tests

test: getmap:format

Assertion

The FORMAT parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:each-format

Assertion

For format "image/png", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
LaYeRs=cite%3ALakes&
FoRmAt=image%2Fpng&
ReQuEsT=GetMap&
StYlEs=&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&


test: getmap:each-format

Assertion

For format "image/png; mode=1bit", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
LaYeRs=cite%3ALakes&
FoRmAt=image%2Fpng%3B%20mode%3D1bit&
ReQuEsT=GetMap&
StYlEs=&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&


test: getmap:each-format

Assertion

For format "image/png; mode=16bit", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
LaYeRs=cite%3ALakes&
FoRmAt=image%2Fpng%3B%20mode%3D16bit&
ReQuEsT=GetMap&
StYlEs=&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&


test: getmap:each-format

Assertion

For format "image/png; mode=8bit", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
LaYeRs=cite%3ALakes&
FoRmAt=image%2Fpng%3B%20mode%3D8bit&
ReQuEsT=GetMap&
StYlEs=&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&


test: getmap:invalid-format

Assertion

When a GetMap request contains a Format that is not advertised, then the server throws a Service Exception (code=InvalidFormat).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
FoRmAt=UnknownFormat&
WiDtH=100&
CrS=CRS%3A84&
StYlEs=&
ReQuEsT=GetMap&
VeRsIoN=1.3.0&
LaYeRs=cite%3ALakes&
BbOx=-0.0025,-0.0025,0.0025,0.0025&


test: getmap:each-format

Assertion

For format "application/dxf", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
LaYeRs=cite%3ALakes&
FoRmAt=application%2Fdxf&
ReQuEsT=GetMap&
StYlEs=&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&


test: getmap:each-format

Assertion

For format "image/jpeg", when the FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
LaYeRs=cite%3ALakes&
FoRmAt=image%2Fjpeg&
ReQuEsT=GetMap&
StYlEs=&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&


test: getmap:bbox

Assertion

The BBOX parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:bbox-above-scale

Assertion

When a map is requested where the scale is above the appropriate range as indicated by the MaxScaleDenominator element, then the response is not an exception.

Message

No named CRS:84 layers with a maximum scale denominator.

Test result

Passed

test: getmap:bbox-outside-crs

Assertion

When a request contains a Bounding Box that falls outside of the defined range of the CRS, then the server returns empty content for the area.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BbOx=-10,90,10,110&
LaYeRs=cite%3AStreams&
VeRsIoN=1.3.0&
CrS=CRS:84&
WiDtH=100&
FoRmAt=image%2Fpng&
ReQuEsT=GetMap&
HeIgHt=100&
StYlEs=&


test: getmap:bbox-miny-gt-maxy

Assertion

When the BBOX parameter's minimum Y is greater than the maximum Y, then the server throws an exception.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetMap&
StYlEs=&
FoRmAt=image%2Fjpeg&
WiDtH=100&
BbOx=0,1,1,0&
VeRsIoN=1.3.0&
CrS=CRS%3A84&
LaYeRs=cite%3ABasicPolygons&
HeIgHt=100&


test: getmap:bbox-inherited

Assertion

When a GetMap request contains a layer whose BoundingBox is inherited from a parent layer, then the response is valid.

Message

No named layers with an inherited BoundingBox.

Test result

Passed

test: getmap:bbox-below-scale

Assertion

When a map is requested where the scale is below the appropriate range as indicated by the MinScaleDenominator element, then the response is not an exception.

Message

No named CRS:84 layers with a minimum scale denominator greater than 0.

Test result

Passed

test: getmap:bbox-miny-eq-maxy

Assertion

When the BBOX parameter's minimum Y is equal to the maximum Y, then the server throws an exception.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BbOx=0,0,1,0&
StYlEs=&
ReQuEsT=GetMap&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&
WiDtH=100&
LaYeRs=cite%3ABasicPolygons&
CrS=CRS%3A84&
HeIgHt=100&


test: getmap:bbox-direct

Assertion

When a GetMap request contains a layer whose BoundingBox is contained directly in the layer, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AStreams&
BbOx=-44.528,-267.167,400.751,267.167&
WiDtH=200&
CrS=EPSG%3A3857&
ReQuEsT=GetMap&
VeRsIoN=1.3.0&
HeIgHt=200&
StYlEs=&
FoRmAt=image%2Fjpeg&


test: getmap:bbox-minx-eq-maxx

Assertion

When the BBOX parameter's minimum X is equal to the maximum X, then the server throws an exception.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=image%2Fjpeg&
WiDtH=100&
VeRsIoN=1.3.0&
StYlEs=&
LaYeRs=cite%3ABasicPolygons&
CrS=CRS%3A84&
ReQuEsT=GetMap&
HeIgHt=100&
BbOx=0,0,0,1&


test: getmap:bbox-no-overlap

Assertion

When a request contains a Bounding Box whose area does not overlap at all with the BoundingBox advertised, then the server returns empty content.

Message

No named CRS:84 layers that don't cover the entire world.

Test result

Passed

test: getmap:bbox-minx-gt-maxx

Assertion

When the BBOX parameter's minimum X is greater than the maximum X, then the server throws an exception.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?StYlEs=&
WiDtH=200&
CrS=CRS%3A84&
BbOx=1,0,0,1&
ReQuEsT=GetMap&
HeIgHt=200&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&
LaYeRs=cite%3ABasicPolygons&


test: getmap:crs

Assertion

The CRS parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:crs-direct

Assertion

When a GetMap request contains a single layer and a CRS where the CRS is contained directly in the layer in the capabilities document, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AAutos&
BbOx=0,0,1,1&
CrS=CRS%3A84&
WiDtH=200&
FoRmAt=image%2Fjpeg&
HeIgHt=200&
VeRsIoN=1.3.0&
StYlEs=&
ReQuEsT=GetMap&


test: getmap:each-crs

Assertion

For CRS "EPSG:4326", when the CRS parameter is set to that CRS, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AStreams&
BbOx=-0.0024%2C-0.0004%2C0.0024%2C0.0036&
CrS=EPSG%3A4326&
WiDtH=100&
FoRmAt=image%2Fjpeg&
HeIgHt=100&
VeRsIoN=1.3.0&
StYlEs=&
ReQuEsT=GetMap&


test: getmap:each-crs

Assertion

For CRS "CRS:84", when the CRS parameter is set to that CRS, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AStreams&
BbOx=0%2C0%2C1%2C1&
CrS=CRS%3A84&
WiDtH=100&
FoRmAt=image%2Fjpeg&
HeIgHt=100&
VeRsIoN=1.3.0&
StYlEs=&
ReQuEsT=GetMap&


test: getmap:each-crs

Assertion

For CRS "EPSG:3857", when the CRS parameter is set to that CRS, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AStreams&
BbOx=-44.528%2C-267.167%2C400.751%2C267.167&
CrS=EPSG%3A3857&
WiDtH=100&
FoRmAt=image%2Fjpeg&
HeIgHt=100&
VeRsIoN=1.3.0&
StYlEs=&
ReQuEsT=GetMap&


test: getmap:invalid-crs

Assertion

When the CRS parameter in a GetMap request contains a CRS that is not valid for any of the layers being requested, then the server shall throw a Service Exception (code=InvalidCRS).

Test result

Passed

Submitted request

Method
GET

URL
http://192.168.160.3/qgisserver?StYlEs=&
ReQuEsT=GetMap&
HeIgHt=200&
FoRmAt=image%2Fjpeg&
BbOx=-1,-1,1,1&
CrS=UndefinedCRS&
WiDtH=200&
LaYeRs=cite%3AStreams&
VeRsIoN=1.3.0&


test: getmap:crs-inherited

Assertion

When a GetMap request contains a single layer and a CRS where the CRS is inherited from a parent layer in the capabilities document, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=200&
LaYeRs=cite%3AStreams&
CrS=CRS%3A84&
BbOx=0,0,1,1&
StYlEs=&
ReQuEsT=GetMap&
WiDtH=200&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&


test: getmap:exceptions

Assertion

The EXCEPTIONS parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:exceptions-xml

Assertion

When an exception is raised and EXCEPTIONS=XML, then the response is a valid exception with a Content-type header of text/xml.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?WiDtH=100&
HeIgHt=100&
BbOx=0,0,1,1&
CrS=CRS:84&
FoRmAt=image%2Fjpeg&
LaYeRs=NonExistant&
ExCePtIoNs=XML&
VeRsIoN=1.3.0&
ReQuEsT=GetMap&
StYlEs=&


test: getmap:exceptions-default

Assertion

When an exception is raised without specifying the EXCEPTIONS parameter, then the response is a valid exception with a Content-type header of text/xml.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BbOx=0,0,1,1&
VeRsIoN=1.3.0&
WiDtH=100&
StYlEs=&
FoRmAt=image%2Fjpeg&
HeIgHt=100&
LaYeRs=NonExistant&
ReQuEsT=GetMap&
CrS=CRS:84&


test: getmap:width-and-height

Assertion

The WIDTH and HEIGHT parameters behaves properly.

Test result

Passed

Executed tests

test: getmap:small-size

Assertion

When a request is made with WIDTH=8 and HEIGHT=5, the image returned is exactly the size requested.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
FoRmAt=image%2Fjpeg&
HeIgHt=5&
CrS=CRS%3A84&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=8&
ReQuEsT=GetMap&
StYlEs=&


test: getmap:large-size

Assertion

When a request is made for a large map (1024x768 or largest map supported), the image returned is exactly the size requested.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
FoRmAt=image%2Fjpeg&
HeIgHt=768&
CrS=CRS%3A84&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=1024&
ReQuEsT=GetMap&
StYlEs=&


test: getmap:layers

Assertion

The LAYERS parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:invalid-layer

Assertion

When the layer in a GetMap request is invalid, then the response is an exception (code=LayerNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?HeIgHt=100&
ReQuEsT=GetMap&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
StYlEs=&
FoRmAt=image%2Fjpeg&
LaYeRs=NonExistant&
WiDtH=100&
CrS=CRS%3A84&


test: getmap:two-layers

Assertion

When a GetMap request contains two valid layer names (separated by a comma), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?ReQuEsT=GetMap&
WiDtH=100&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
CrS=CRS%3A84&
HeIgHt=100&
StYlEs=&
FoRmAt=image%2Fjpeg&
LaYeRs=cite%3ALakes,cite%3AStreams&


test: getmap:three-layers

Assertion

When a GetMap request contains three valid layer names (separated by commas), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
StYlEs=&
LaYeRs=cite%3ALakes,cite%3AStreams,cite%3ABridges&
HeIgHt=100&
VeRsIoN=1.3.0&
ReQuEsT=GetMap&
CrS=CRS%3A84&
FoRmAt=image%2Fjpeg&


test: getmap:first-layer-invalid

Assertion

When a GetMap request contains two layers where the first is invalid and the second is valid, then the response is an exception (code=LayerNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
ReQuEsT=GetMap&
LaYeRs=NonExistant,cite%3ALakes&
StYlEs=&
WiDtH=100&
CrS=CRS%3A84&
FoRmAt=image%2Fjpeg&
HeIgHt=100&


test: getmap:each-layer

Assertion

For layer "cite:Autos", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AAutos&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:LakesWithElevation", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakesWithElevation&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:Lakes", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:Forests", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AForests&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:DividedRoutes", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ADividedRoutes&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:Ponds", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3APonds&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:BasicPolygons", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABasicPolygons&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:NamedPlaces", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ANamedPlaces&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:RoadSegments", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ARoadSegments&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:BuildingCenters", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABuildingCenters&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:layerlimit

Assertion

If the service advertises a LayerLimit, it can handle a GetMap request that includes that many layers.

Test result

Passed

test: getmap:each-layer

Assertion

For layer "cite:Buildings", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABuildings&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:second-layer-invalid

Assertion

When a GetMap request contains two layers where the first is valid and the second is invalid, then the response is an exception (code=LayerNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?WiDtH=100&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
StYlEs=&
CrS=CRS%3A84&
HeIgHt=100&
ReQuEsT=GetMap&
LaYeRs=cite%3ALakes,NonExistant&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:Bridges", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABridges&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:Streams", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AStreams&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:each-layer

Assertion

For layer "cite:MapNeatline", when the LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AMapNeatline&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&


test: getmap:transparent

Assertion

The TRANSPARENT parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:transparent-default

Assertion

When a GetMap request is made with no TRANSPARENT parameter and a FORMAT that supports transparency over a layer that is not opaque, then the response contains no transparent pixels.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BbOx=-0.0025,-0.0025,0.0025,0.0025&
ReQuEsT=GetMap&
StYlEs=&
LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
FoRmAt=image%2Fpng&
CrS=CRS%3A84&
HeIgHt=100&
WiDtH=100&


test: getmap:transparent-false

Assertion

When a GetMap request is made with TRANSPARENT=FALSE and a FORMAT that supports transparency over a layer that is not opaque, then the response contains no transparent pixels.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
WiDtH=100&
ReQuEsT=GetMap&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
FoRmAt=image%2Fpng&
CrS=CRS%3A84&
StYlEs=&
HeIgHt=100&
TrAnSpArEnT=FALSE&


test: getmap:transparent-opaque-layer

Assertion

Clients may request TRANSPARENT=TRUE on a layer that is opaque.

Message

No named opaque layers.

Test result

Passed

test: getmap:styles

Assertion

The STYLES parameter behaves properly.

Test result

Passed

Executed tests

test: getmap:two-styles

Assertion

When a GetMap request contains two valid layers and two valid styles (separated by a comma), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AAutos,cite%3AAutos&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
HeIgHt=100&
StYlEs=default,default&
FoRmAt=image%2Fjpeg&
ReQuEsT=GetMap&
CrS=CRS%3A84&


test: getmap:first-style-invalid

Assertion

When a GetMap request contains two layers, where the first style is not valid and the second style is, then the response is an exception (code=StyleNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
StYlEs=UndefinedStyle,default&
VeRsIoN=1.3.0&
LaYeRs=cite%3ALakes,cite%3AAutos&
HeIgHt=100&
CrS=CRS%3A84&
FoRmAt=image%2Fjpeg&


test: getmap:three-styles

Assertion

When a GetMap request contains three valid layers and three valid styles (separated by commas), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?CrS=CRS%3A84&
ReQuEsT=GetMap&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
HeIgHt=100&
LaYeRs=cite%3AAutos,cite%3AAutos,cite%3AAutos&
StYlEs=default,default,default&
FoRmAt=image%2Fjpeg&
WiDtH=100&
VeRsIoN=1.3.0&


test: getmap:each-style

Assertion

For style "default", when the STYLES parameter is set to that style name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?StYlEs=default&
BbOx=-0.0025%2C-0.0025%2C0.0025%2C0.0025&
CrS=CRS%3A84&
LaYeRs=cite%3AAutos&
WiDtH=100&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&
HeIgHt=100&
ReQuEsT=GetMap&


test: getmap:styles-direct

Assertion

When a GetMap request contains a single layer and a single style where the style is contained directly in the layer in the capabilities document, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?WiDtH=100&
ReQuEsT=GetMap&
StYlEs=default&
HeIgHt=100&
FoRmAt=image%2Fjpeg&
VeRsIoN=1.3.0&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
CrS=CRS%3A84&
LaYeRs=cite%3AAutos&


test: getmap:styles-default-commas

Assertion

When a GetMap request contains multiple layers and requests all layers to be shown in the default style by using null values between commas (as in "STYLES=,,,"), then the response is valid.

Test result

Passed

Submitted request

Method


URL
http://192.168.160.3/qgisserver?CrS=CRS%3A84&
VeRsIoN=1.3.0&
LaYeRs=cite%3ABridges,cite%3ARoadSegments,cite%3ADividedRoutes,cite%3ABuildings&
FoRmAt=image%2Fjpeg&
WiDtH=100&
StYlEs=,,,&
ReQuEsT=GetMap&
HeIgHt=100&
BbOx=-0.0025,-0.0025,0.0025,0.0025&


test: getmap:second-style-invalid

Assertion

When a GetMap request contains two layers, where the first style is valid and the second style is not, then the response is an exception (code=StyleNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=image%2Fjpeg&
StYlEs=default,UndefinedStyle&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
WiDtH=100&
ReQuEsT=GetMap&
HeIgHt=100&
LaYeRs=cite%3AAutos,cite%3ALakes&
CrS=CRS%3A84&
VeRsIoN=1.3.0&


test: getmap:styles-default-single-layer

Assertion

When a GetMap request contains a single layer and a null style value (as in "STYLES="), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?VeRsIoN=1.3.0&
HeIgHt=100&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
CrS=CRS%3A84&
FoRmAt=image%2Fjpeg&
ReQuEsT=GetMap&
LaYeRs=cite%3ALakes&
StYlEs=&
WiDtH=100&


test: getmap:styles-default-multiple-layers

Assertion

When a GetMap request contains multiple layers and requests all layers to be shown in the default style by using a single null value (as in "STYLES="), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?WiDtH=100&
HeIgHt=100&
LaYeRs=cite%3ABridges,cite%3ARoadSegments,cite%3ADividedRoutes,cite%3ABuildings&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&
CrS=CRS%3A84&
ReQuEsT=GetMap&
StYlEs=&


test: getmap:invalid-style

Assertion

When a GetMap request contains an unadvertised Style, then the response is an exception (code=StyleNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
CrS=CRS%3A84&
ReQuEsT=GetMap&
HeIgHt=100&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
VeRsIoN=1.3.0&
WiDtH=100&
FoRmAt=image%2Fjpeg&
StYlEs=UndefinedStyle&


test: getmap:styles-some-default

Assertion

When a GetMap request contains multiple layers and a mixture of named and default styles (as in "STYLES=style1,,style2,,"), then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=image%2Fjpeg&
LaYeRs=cite%3AAutos,cite%3ABridges,cite%3AAutos,cite%3ARoadSegments,cite%3ADividedRoutes&
ReQuEsT=GetMap&
WiDtH=100&
VeRsIoN=1.3.0&
StYlEs=default,,default,,&
CrS=CRS%3A84&
BbOx=-0.0025,-0.0025,0.0025,0.0025&
HeIgHt=100&


test: getmap:styles-inherited

Assertion

When a GetMap request contains a single layer and a single style where the style is inherited by the layer in the capabilities document, then the response is valid.

Message

No named layers with a style inherited from a parent layer.

Test result

Passed

test: getfeatureinfo:getfeatureinfo

Assertion

The GetFeatureInfo request behaves properly.

Test result

Passed

Executed tests

test: getfeatureinfo:exceptions

Assertion

The EXCEPTIONS parameter behaves properly.

Test result

Passed

Executed tests

test: getfeatureinfo:exceptions-xml

Assertion

When an exception is raised and EXCEPTIONS=XML, then the response is a valid exception with a Content-type header of text/xml.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?WiDtH=200&
ExCePtIoNs=XML&
CrS=CRS:84&
InFo_fOrMaT=text%2Fplain&
ReQuEsT=GetFeatureInfo&
QuErY_LaYeRs=UndefinedLayer&
J=100&
BbOx=0,0,1,1&
I=100&
LaYeRs=UndefinedLayer&
VeRsIoN=1.3.0&
HeIgHt=200&
StYlEs=&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:exceptions-default

Assertion

When an exception is raised and the EXCEPTIONS parameter is absent from the request, then the response is a valid exception with a Content-type header of text/xml.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?StYlEs=&
InFo_fOrMaT=text%2Fplain&
J=100&
CrS=CRS:84&
QuErY_LaYeRs=UndefinedLayer&
I=100&
LaYeRs=UndefinedLayer&
WiDtH=200&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&
HeIgHt=200&
BbOx=0,0,1,1&
ReQuEsT=GetFeatureInfo&


test: getfeatureinfo:i-and-j

Assertion

The I and J parameters behaves properly.

Test result

Passed

Executed tests

test: getfeatureinfo:invalid-i

Assertion

When a GetFeatureInfo request is made with an invalid I parameter, then the response is an exception (code=InvalidPoint).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=250&
J=60&
HeIgHt=100&
InFo_fOrMaT=text%2Fplain&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:invalid-j

Assertion

When a GetFeatureInfo request is made with an invalid J parameter, then the response is an exception (code=InvalidPoint).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=150&
HeIgHt=100&
InFo_fOrMaT=text%2Fplain&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:info_format

Assertion

The FORMAT parameter behaves properly.

Test result

Passed

Executed tests

test: getfeatureinfo:each-info_format

Assertion

For format "text/plain", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=text%2Fplain&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:each-info_format

Assertion

For format "text/html", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=text%2Fhtml&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:each-info_format

Assertion

For format "text/xml", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=text%2Fxml&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:each-info_format

Assertion

For format "application/vnd.ogc.gml", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=application%2Fvnd.ogc.gml&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:each-info_format

Assertion

For format "application/vnd.ogc.gml/3.1.1", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=application%2Fvnd.ogc.gml%2F3.1.1&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:invalid-info_format

Assertion

When a GetFeatureInfo request is made with an invalid INFO_FORMAT parameter, then the server returns an exception (code=InvalidFormat).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=InvalidInfoFormat&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:each-info_format

Assertion

For format "application/json", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=application%2Fjson&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:each-info_format

Assertion

For format "application/geo+json", when the INFO_FORMAT parameter is set to that format, the MIME type of the response matches that format.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=application%2Fgeo%2Bjson&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:query-layers

Assertion

The QUERY_LAYERS parameter behaves properly.

Test result

Passed

Executed tests

test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Autos", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AAutos&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3AAutos&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:MapNeatline", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AMapNeatline&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3AMapNeatline&
VeRsIoN=1.3.0&


test: getfeatureinfo:invalid-query_layers

Assertion

When a layer requested is not contained in the Capabilities XML of the WMS, then the server issues a Service Exception (code=LayerNotDefined).

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
ReQuEsT=GetFeatureInfo&
BbOx=0,-0.0020,0.0040,0&
WiDtH=200&
CrS=CRS%3A84&
QuErY_LaYeRs=InvalidLayer&
VeRsIoN=1.3.0&
StYlEs=&
I=60&
J=60&
HeIgHt=100&
InFo_fOrMaT=text%2Fplain&
FoRmAt=image%2Fjpeg&


test: getfeatureinfo:less-query_layers

Assertion

When a GetFeatureInfo request contains fewer layers in the QUERY_LAYERS parameter than it does in the LAYERS parameter, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ANamedPlaces,cite%3AStreams,cite%3ALakes&
WiDtH=200&
HeIgHt=100&
I=60&
BbOx=0,-0.0020,0.0040,0&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=60&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ANamedPlaces,cite%3ALakes&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Lakes", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakes&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ALakes&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Ponds", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3APonds&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3APonds&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Forests", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AForests&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3AForests&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:DividedRoutes", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ADividedRoutes&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ADividedRoutes&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:LakesWithElevation", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ALakesWithElevation&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ALakesWithElevation&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:BasicPolygons", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABasicPolygons&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ABasicPolygons&
VeRsIoN=1.3.0&


test: getfeatureinfo:two-query_layers

Assertion

When a GetFeatureInfo request contains two layers, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ANamedPlaces,cite%3ALakes&
WiDtH=200&
HeIgHt=100&
I=60&
BbOx=0,-0.0020,0.0040,0&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=60&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ANamedPlaces,cite%3ALakes&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:RoadSegments", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ARoadSegments&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ARoadSegments&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Bridges", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABridges&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ABridges&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Streams", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3AStreams&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3AStreams&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:BuildingCenters", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABuildingCenters&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ABuildingCenters&
VeRsIoN=1.3.0&


test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:Buildings", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ABuildings&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ABuildings&
VeRsIoN=1.3.0&


test: getfeatureinfo:three-query_layers

Assertion

When a GetFeatureInfo request contains three layers, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ANamedPlaces,cite%3ALakes,cite%3AForests&
WiDtH=200&
HeIgHt=100&
I=60&
BbOx=0,-0.0020,0.0040,0&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=60&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ANamedPlaces,cite%3ALakes,cite%3AForests&
VeRsIoN=1.3.0&


test: getfeatureinfo:query_layers-not-queryable

Assertion

When GetFeatureInfo is requested on a Layer that is not queryable, then the server issues a Service Exception (code=LayerNotQueryable).

Message

No non-queryable layers found.

Test result

Passed

test: getfeatureinfo:each-queryable-layer

Assertion

For layer "cite:NamedPlaces", when the QUERY_LAYERS parameter is set to that layer name, the MIME type of the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite%3ANamedPlaces&
WiDtH=100&
HeIgHt=100&
I=50&
BbOx=0,0,1,1&
CrS=CRS%3A84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
J=50&
StYlEs=&
FoRmAt=image%2Fjpeg&
QuErY_LaYeRs=cite%3ANamedPlaces&
VeRsIoN=1.3.0&


test: dims:dims

Assertion

Support for dimensional data is correct.

Test result

Passed

Executed tests

test: dims:missing-no-default

Assertion

When a layer that has a dimension without a default value is requested without supplying the dimension parameter, the response is an exception with code=MissingDimensionValue.

Message

No Named layers that have a dimension without a default value.

Test result

Passed

test: basic:basic

Assertion

Basic request behaves properly.

Test result

Passed

Executed tests

test: basic:getmap

Assertion

The GetMap request behaves properly.

Test result

Passed

Executed tests

test: basic:bbox

Assertion

The BBOX parameter behaves properly.

Test result

Passed

Executed tests

test: basic:bbox-pixel-interpretation

Assertion

The server interprets the bounding box as going around the "outside" of the pixels of the image rather than through the centers of the border pixels.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?StYlEs=&
HeIgHt=7&
CrS=CRS:84&
BbOx=0.0016,-0.0012,0.0026,-0.0005&
WiDtH=10&
FoRmAt=image%2Fpng&
ReQuEsT=GetMap&
VeRsIoN=1.3.0&
LaYeRs=cite:Lakes&


test: basic:bbox-exponential

Assertion

When a GetMap request uses exponential notation values for the BBOX parameter, then the response is valid.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?LaYeRs=cite:Streams,cite:Lakes,cite:Ponds,cite:Bridges,cite:RoadSegments,cite:DividedRoutes,cite:Buildings,cite:MapNeatline&
FoRmAt=image%2Fpng&
CrS=CRS:84&
VeRsIoN=1.3.0&
WiDtH=400&
StYlEs=&
HeIgHt=200&
BbOx=-0.005,-0.0025,0.005,0.0025&
ReQuEsT=GetMap&


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?VeRsIoN=1.3.0&
HeIgHt=200&
WiDtH=400&
CrS=CRS:84&
LaYeRs=cite:Streams,cite:Lakes,cite:Ponds,cite:Bridges,cite:RoadSegments,cite:DividedRoutes,cite:Buildings,cite:MapNeatline&
StYlEs=&
FoRmAt=image%2Fpng&
ReQuEsT=GetMap&
BbOx=-.0005E1,-25E-4,%2B05E-3,.00025E%2B1&


test: basic:transparent

Assertion

The TRANSPARENT parameter behaves properly.

Test result

Passed

Executed tests

test: basic:transparent-true

Assertion

When a GetMap request is made with TRANSPARENT=TRUE and a FORMAT that supports transparency over a BBOX that is not completely covered, then the response contains transparent pixels.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?TrAnSpArEnT=TRUE&
CrS=CRS:84&
FoRmAt=image%2Fpng&
VeRsIoN=1.3.0&
HeIgHt=100&
WiDtH=200&
StYlEs=&
LaYeRs=cite%3ALakes&
ReQuEsT=GetMap&
BbOx=0,-0.0020,0.0040,0&


test: basic:bgcolor

Assertion

The BGCOLOR parameter behaves properly.

Test result

Passed

Executed tests

test: basic:blue-bgcolor

Assertion

When a GetMap request is made with a BGCOLOR parameter, then areas which are not covered are set to the value of BGCOLOR.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?BgCoLoR=0x0000FF&
StYlEs=&
VeRsIoN=1.3.0&
BbOx=0,-0.0020,0.0040,0&
HeIgHt=100&
ReQuEsT=GetMap&
WiDtH=200&
CrS=CRS:84&
FoRmAt=image%2Fpng&
LaYeRs=cite%3ALakes&


test: basic:no-bgcolor

Assertion

When a GetMap request is made with no BGCOLOR parameter, then areas which are not covered contain white (0xFFFFFF) pixels.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?StYlEs=&
WiDtH=200&
BbOx=0,-0.0020,0.0040,0&
ReQuEsT=GetMap&
FoRmAt=image%2Fpng&
VeRsIoN=1.3.0&
LaYeRs=cite%3ALakes&
CrS=CRS:84&
HeIgHt=100&


test: basic:options-requirements

Assertion

The requirements for testing the selected options are met.

Test result

Passed

Executed tests

test: basic:gif-or-png

Assertion

The server supports GetMap format image/gif and/or image/png.

Test result

Passed

test: queryable:queryable

Assertion

Queryable request behaves properly.

Test result

Passed

Executed tests

test: queryable:getfeatureinfo

Assertion

The GetFeatureInfo request behaves properly.

Test result

Passed

Executed tests

test: queryable:feature_count

Assertion

The FEATURE_COUNT parameter behaves properly.

Test result

Passed

Executed tests

test: queryable:feature_count-default

Assertion

When the FEATURE_COUNT parameter is not specified, then less data is returned than when FEATURE_COUNT is 2.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?QuErY_LaYeRs=cite:BasicPolygons&
I=50&
LaYeRs=cite:BasicPolygons&
StYlEs=&
WiDtH=100&
CrS=CRS:84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
BbOx=-2,2,2,6&
HeIgHt=100&
J=50&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=image%2Fjpeg&
BbOx=-2,2,2,6&
FeAtUrE_CoUnT=2&
StYlEs=&
J=50&
LaYeRs=cite:BasicPolygons&
QuErY_LaYeRs=cite:BasicPolygons&
CrS=CRS:84&
HeIgHt=100&
WiDtH=100&
InFo_fOrMaT=text%2Fplain&
VeRsIoN=1.3.0&
I=50&
ReQuEsT=GetFeatureInfo&


test: queryable:feature_count-1

Assertion

When the FEATURE_COUNT parameter is 1, then less data is returned than when FEATURE_COUNT is 2.

Test result

Passed

Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?QuErY_LaYeRs=cite:BasicPolygons&
I=50&
LaYeRs=cite:BasicPolygons&
StYlEs=&
WiDtH=100&
CrS=CRS:84&
ReQuEsT=GetFeatureInfo&
InFo_fOrMaT=text%2Fplain&
BbOx=-2,2,2,6&
HeIgHt=100&
J=50&
VeRsIoN=1.3.0&
FoRmAt=image%2Fjpeg&
FeAtUrE_CoUnT=1&


Submitted request

Method
get

URL
http://192.168.160.3/qgisserver?FoRmAt=image%2Fjpeg&
BbOx=-2,2,2,6&
FeAtUrE_CoUnT=2&
StYlEs=&
J=50&
LaYeRs=cite:BasicPolygons&
QuErY_LaYeRs=cite:BasicPolygons&
CrS=CRS:84&
HeIgHt=100&
WiDtH=100&
InFo_fOrMaT=text%2Fplain&
VeRsIoN=1.3.0&
I=50&
ReQuEsT=GetFeatureInfo&


test: queryable:options-requirements

Assertion

The requirements for testing the selected options are met.

Test result

Passed

Executed tests

test: queryable:getfeatureinfo-supported

Assertion

GetFeatureInfo requests are supported.

Test result

Passed

test: queryable:std-data-queryable

Assertion

The CITE standard dataset layers containing polygons are queryable.

Test result

Passed

test: main:data-preconditions

Assertion

The server implements the CITE standard dataset in subsettable, resizable layers that support CRS:84.

Test result

Passed

test: recommendations:recommendations

Assertion

If the "Check Recommendations" option was selected, the server supports fuctionality which is recommended in the spec, but not required.

Test result

Passed

Executed tests

test: recommendations:dims-no-whitespace

Assertion

No dimension name values in the capabilities document contain whitespace.

Test result

Passed

test: recommendations:dims-defaults

Assertion

Each dimension declaration in the capabilities document contains a default value.

Test result

Passed

test: recommendations:png-getmap-format

Assertion

The server advertises the image/png format for the GetMap operation.

Test result

Passed

test: recommendations:service-keywords

Assertion

The capabilities document includes a list of keywords or keyword phrases describing the server.

Test result

Passed

test: recommendations:layer-crs

Assertion

All layers in the capabilities document are available in the CRS:84 and/or EPSG:4326 CRS.

Test result

Passed

test: recommendations:service-contact-info

Assertion

The capabilities document includes contact information.

Test result

Passed

test: recommendations:layer-keywordlists

Assertion

Each Layer in the capabilities document contains a keyword list.

Test result

Passed

test: recommendations:layer-abstracts

Assertion

Each Layer in the capabilities document contains an abstract.

Test result

Passed

test: recommendations:metadataurls

Assertion

Every named Layer in the capabilities document contains a MetadataURL element.

Test result

Passed