Skip to content

insbruk/performance-center-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

performance-center-python-rest-api

Performance Center (12.5^) REST API Library

Performance Center REST API Reference

Performance_Center_REST_API

Installation

pip install git+https://github.com/insbruk/performance-center-rest-api.git

Examples

from microfocus.perfcenter import PerfCenter

prfctr = PerfCenter(
    host='http://<<HOST>>',
    domain="<<DOMAIN>>",
    project="<<PROJECT>>"
)

prfctr.login(
    login='<<login>>',
    password='<<password>>'
)

r = prfctr.get_test_run_status(798)
print(r.status_code)

Response:

{
  "ID": 798,
  "Duration": 347,
  "RunState": "Finished",
  "RunSLAStatus": "Not Completed",
  "TestID": 257,
  "TestInstanceID": 109,
  "PostRunAction": "Do Not Collate",
  "TimeslotID": 6599,
  "VudsMode": false
}

For contributors

I am happy for any PR requests, let's fork and provide your changes. Please look into contribution guidelines.

About

Performance Center (12.5^) REST API Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages