Basic client-side components for performance testing. Typical clients
should only need to use the report_results function (and optionally get_test
, but watch this space for functions to use
with your metrics.
|
get_or_create_test(name,
description,
product_name,
username=None)
Get or create a single test from the performance database. |
|
|
|
report_results(test_dict,
build_id,
buildtype=None,
username=None,
**metrics) |
|
|
|
api_url(resource_name,
item_id=None,
host=None)
Get an address on the core server |
|
|
|
performance_api_url(resource_name,
item_id=None,
host=None)
Get an address in the performance bit of the server. |
|
|
|
resource_id(uri)
Get the resource's ID number from a uri |
|
|
|
get_or_create(url,
auth,
params)
Get or create a resource matching the parameters. |
|
|
|
system_information(host)
System information required to report results. |
|
|
|
|
|
post_system(auth)
Post the current host's system information to the performance test
server. |
|
|
|
install_information(build_id=None,
buildtype=None)
Execution environment information required to report results. |
|
|
|
|