report_metrics($response, $header_format, $data_format, @fields)

Generates a printed report from the SOAP response. Checks the error return from SOAP and prints an error msg to STDERR if there is an error, otherwise generates a data table for the given @fields.

NAME

stp-metrics - returns metrics about the testing system

SYNOPSIS

stp-metrics

DESCRIPTION

This script generates a set of metrics about usage of the test system.

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.

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.11 $