cbkarma Package

rest_client Module

class cbtestlib.cbkarma.rest_client.CbKarmaClient(hostname, port='80')

Bases: cbtestlib.membase.api.rest_client.RestConnection

Performance dashboard (cbkarma) REST API

histo(id=None, description='', attachment='')

Attach latency histogram to the test

init()

Get initial test id (optional)

report(id, filename, url)

Sumbit link to pdf report

update(id=None, build='', spec='', ini='', phase='', status='')

Post test progress updates.

Keyword arguments: id – unique test id biuld – build version spec – configuration filename ini – resource filename phase – phase name status – latest phase status (‘started’ or ‘done’)

Return tuple with status and test id.

Table Of Contents

Previous topic

builds Package

Next topic

couchbase Package

This Page