NAME

stp-trsearch - performs a search against existing test requests and test runs.

SYNOPSIS

stp-trsearch [options]

Options:

  --search field=value
  --fields=[field1,field2,...]
  --field-width field1=width

DESCRIPTION

trqueue searches through a list of test requests and test runs and displays the results to the commandline. The user can specify various search criteria and indicate which fields to be included in the report.

OPTIONS

-V, --version

Displays the version number of the script and exits.

-h, --help

Displays a brief usage message

--man

Displays the man page

-s server_url, --server=server_url

The URL of the WebService::TestSystem server to connect to. By default, it uses 'http://localhost:8081'.

-r resource_uri, --resource=resource_uri

The URI of the service provided by the server. By default, it uses 'http://www.osdl.org/WebService/TestSystem'. Users should not typically need to alter this setting.

Allows specifying additional search criteria. Uses % as wildcard character.

Example:

  stp-trsearch --search host='stp4%'
--fields

Allows overriding the default set of fields shown in the report.

Example:

  stp-trsearch --fields=id,test,priority
--field-width

Allows overriding the default column widths.

Example:

  stp-trsearch --field-width id='%-4d' --field-width priority='%-12s'
debug = NUM

Print debug messages. The larger the number, the more verbose the debug messages will be (typical range is 0-5).

PREREQUISITES

SOAP::Lite, Pod::Usage, Getopt::Long

AUTHOR

Bryce Harrington <bryce@osdl.org>

COPYRIGHT

Copyright (C) 2004 Open Source Development Labs All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

REVISION

Revision: $Revision: 1.10 $