source:
branches/ms-style/testing/README
@
829
Last change on this file since 829 was 348, checked in by neteler, 13 years ago | |
---|---|
|
|
File size: 1.3 KB |
Line | |
---|---|
1 | Please use the following syntaxe: |
2 | |
3 | ./run.sh <WPSInstance> <ServiceName> |
4 | |
5 | where <WPSInstance> should be the url to a WPS Server and <ServiceName> should |
6 | be the service name you want to run tests with. |
7 | |
8 | For instance to test the Buffer service on a localhost WPS server, use the |
9 | following command: |
10 | |
11 | ./run.sh http://localhost/cgi-bin/zoo_loader.cgi Buffer |
12 | |
13 | |
14 | Important note: sometimes XML validation failed because xmllint is unable to download |
15 | a file required to validate. In such case, you can use the file /etc/xml/catalog on your |
16 | local machine to use a local copy of the missing file. |
17 | |
18 | For instance, in case xml.xsd can't be downloaded, then you can download a copy using |
19 | this url http://www.w3.org/2001/xml.xsd, store it in /etc/schemas directory and then |
20 | use the following /etc/xml/catalog file: |
21 | |
22 | <?xml version="1.0"?> |
23 | <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> |
24 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> |
25 | <rewriteSystem systemIdStartString="http://www.w3.org/2001/xml.xsd" |
26 | rewritePrefix="file:///etc/schemas/xml.xsd" /> |
27 | </catalog> |
28 | |
29 | Obviously, you can do similar manipulation for the OGC schemas to use local files |
30 | rather than downloading them for each tests. |
Note: See TracBrowser
for help on using the repository browser.