[CITE-Forum] Failed WMS Tests

Richard Martell rmartell at galdosinc.com
Fri Nov 7 11:59:13 EST 2014


Bruce,

I forgot to mention that one other test is failing: wmsops-getmap-each-style.

"A sequence of more than one item is not allowed as the first argument of string() (<Name/>, <Name/>, ...)"

This almost always indicates an problem in the test script. There are two test arguments:

1. capabilities = {capabilities doc}
2. style = "default" 

The problem arises with this expression:

string($capabilities/Capability//Layer[Name and Style/Name = $style]/Name)

which generates a sequence (of layer names) because every layer has a 'default' style.
If this is legal then it's a bug in the script.


-- Richard


-----Original Message-----
From: Richard Martell 
Sent: Friday, 07 November, 2014 08:43
To: Bruce Dietrich; cite-forum at lists.opengeospatial.org
Subject: RE: [CITE-Forum] Failed WMS Tests

Bruce,

I confirmed that those two tests are passing in the latest dev build (8-SNAPSHOT).

-- Richard


-----Original Message-----
From: CITE-Forum [mailto:cite-forum-bounces+rmartell=galdosinc.com at lists.opengeospatial.org] On Behalf Of Richard Martell
Sent: Thursday, 06 November, 2014 14:22
To: Bruce Dietrich; cite-forum at lists.opengeospatial.org
Subject: Re: [CITE-Forum] Failed WMS Tests

Hi Bruce,

You may have noted that the failing tests showed an empty response/content element. 
For some reason a NullParser was configured for these tests; but it looks like this has been fixed for the next release (8).

-- Richard


-----Original Message-----
From: CITE-Forum [mailto:cite-forum-bounces at lists.opengeospatial.org] On Behalf Of Bruce Dietrich
Sent: Tuesday, 04 November, 2014 04:58
To: cite-forum at lists.opengeospatial.org
Subject: [CITE-Forum] Failed WMS Tests

I am working on OGC WMS 1.1.1 compliance testing at http://cite.opengeospatial.org/teamengine/ version r7.  Currently there are two tests failing, both in the same manner.  The tests verify that proper OGC exceptions are returned "LayerNotDefined" when and invalid layer name is requested "NonExistant".  There are three such tests listed below:

#1) GetMapParams Layers-5 s0004/d1e1711_1   LaYeRs=NonExistant
#2) GetMapParams Layers-6 s0004/d1e1723_1   LaYeRs=cite:Lakes,NonExistant
#3) GetMapParams Layers-7 s0004/d1e1737_1   LaYeRs=NonExistant,cite:Lakes

All three are similar GetMap requests but contain an invalid Layers= parameter that should cause the OGC service exception LayerNotDefined.  The Layers parameter is shown for each test above.  Debug code within our WMS indicate that all three of these requests return the same service exception "LayerNotDefined".  The OGC Team Engine results indicate that test #3 above succeeds with the proper service exception shown below:

=======================
Request d1e9419_1:
   Method: get
   URL: http://70.33.182.104:80/nuiwms?map=default.map&profile=&loosebbox=false&reverselayers=false&naturalscale=false&usescale=true&&FoRmAt=image/jpeg&WiDtH=168&HeIgHt=96&ReQuEsT=GetMap&SrS=EPSG:4326&VeRsIoN=1.1.1&BbOx=-0.0042,-0.0024,0.0042,0.0024&StYlEs=&LaYeRs=NonExistant,cite:Lakes
   Response from parser ::
      <ServiceExceptionReport version="1.1.1">
   <ServiceException code="LayerNotDefined"><error>Invalid parameter LAYER.</error><description>The layer nonexistant is not defined.</description></ServiceException>
   <!--Response received in [125] milliseconds--></ServiceExceptionReport>

Result: Passed
==========================

However, both tests #1 and #2 above fail with the following output in the OGC Team Engine results.  In both cases, debug code in the WMS indicate the same service exception was returned as in #3.

=========================
Request d1e9328_1:
   Method: get
   URL: http://70.33.182.104:80/nuiwms?map=default.map&profile=&loosebbox=false&reverselayers=false&naturalscale=false&usescale=true&&WiDtH=168&ReQuEsT=GetMap&BbOx=-0.0042,-0.0024,0.0042,0.0024&FoRmAt=image/jpeg&VeRsIoN=1.1.1&SrS=EPSG:4326&HeIgHt=96&StYlEs=&LaYeRs=cite:Lakes,NonExistant
   Response from parser parsers:HTTPParser:
      <response>
   <status code="200" protocol="HTTP/1.1">OK</status>
   <headers>
      <header name="Server">HiPER LOOK Web Server</header>
      <header name="Date">Tue, 04 Nov 2014 12:29:02 GMT</header>
      <header name="Content-Type">application/vnd.ogc.se_xml</header>
      <header name="Content-Length">399</header>
   </headers>
   <content/>
   <!--Response received in [76] milliseconds--></response>

Result: Failed
==========================


Has this been seen before? Is this a problem with the test script or is there something in our response that could trigger this?

Thanks,

Bruce Dietrich
Pixia Corporation
_______________________________________________
CITE-Forum mailing list
CITE-Forum at lists.opengeospatial.org
https://lists.opengeospatial.org/mailman/listinfo/cite-forum
_______________________________________________
CITE-Forum mailing list
CITE-Forum at lists.opengeospatial.org
https://lists.opengeospatial.org/mailman/listinfo/cite-forum


More information about the CITE-Forum mailing list