Conformance and Performance Testing of WPS Server
Shell XSLT
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


To use the script both CPTESTING and GEOSERVER environment variables
should be defined. CPTESTING define the URL to download the cptesting requests
and GEOSERVER is the URL of your WFS Server. 

For instance, you may use the following:

export CPTESTING=http://localhost/cptesting/requests/
export GEOSERVER=http://localhost:8082/geoserver/ows

Please use the following syntaxe:

  ./ <WPSInstance> <ServiceNames> <RequestTypes> <Requests> <Concurents>

where <WPSInstance> should be the url to a WPS Server and <ServiceName> should 
be the service name you want to run tests with, <RequestTypes> the types of 
requests you want to test, <Requests> is the number of requests to run during
the performance tests and <Concurents> is the number of concurrent requests to 

For instance to test the Buffer service on a localhost WPS server, using the
GetCapabilties tests, run performance testing using 5000 requests with 100 
concurents use the following command:

  ./ http://localhost/cgi-bin/zoo_loader.cgi Buffer GetCapabilities 5000 100

Important note:  sometimes XML validation failed because xmllint is unable to download
a file required to validate. In such case, you can use the file /etc/xml/catalog on your
local machine to use a local copy of the missing file.

For instance, in case xml.xsd can't be downloaded, then you can download a copy using
this url, store it in /etc/schemas directory and then 
use the following /etc/xml/catalog file:

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteSystem systemIdStartString=""
                rewritePrefix="file:///etc/schemas/xml.xsd" />

Obviously, you can do similar manipulation for the OGC schemas to use local files 
rather than downloading them for each tests.