Here are some examples of
stilts taplint http://dc.g-vo.org/tap
stilts taplint tapurl=http://gaia.esac.esa.int/tap-server/tap examplesurl=file://localhost/tmp/examples.xml stages='TME CAP EXA'
EXAmples stage against the GACS TAP service at ESAC. Most of the service endpoints (tables, capabilities, availability etc) are found at their default locations relative to the given
tapurl. However, the Examples document is loaded instead from the local file at the URL that has been specified by the
examplesurlparameter. This makes is possible to test a non-deployed examples document against a deployed TAP service. It may also be used if certain capabilities have been deployed at non-default locations to satisfy multiple security models or for other reasons. You can play similar tricks with the other
tablesurl, as listed in the documentation.
TME (table metadata)
CAP (service capabilities)
stages have been executed along with
since taplint needs to pick up the metadata and capabilities in order
to be able to do some of the checks on the examples it finds.
If those stage names are not included in the
parameter, the output will include some messages noting that fact,
and the tests will be less rigorous.
stilts taplint tapurl=http://example.com/tap report=EW stages='TMS UWS' truncate=80 maxrepeat=4
The output of this invocation might look like this:
Section TMS: Check content of tables metadata from TAP_SCHEMA E-TMS-CINT-1 Column principal in TAP_SCHEMA.columns has wrong type char not int E-TMS-CINT-2 Column std in TAP_SCHEMA.columns has wrong type char not int W-TMS-CLUN-1 Unused entry in TAP_SCHEMA.columns table: ivoa.obscore Section UWS: Test asynchronous UWS/TAP behaviour E-UWS-GMIM-1 Incorrect Content-Type text/xml != text/plain for http://exampl.... E-UWS-GMIM-2 Incorrect Content-Type text/xml != text/plain for http://exampl.... E-UWS-GMIM-3 Incorrect Content-Type text/xml != text/plain for http://exampl.... E-UWS-GMIM-4 Incorrect Content-Type text/xml != text/plain for http://exampl.... E-UWS-GMIM-x (3 more) Totals: Errors: 9; Warnings: 1