StarterTemplate ASP.NET Host

<back to all web services

RequestTestRunGetById

TestRun Service

The following routes are available for this service:
GET/service/api/v2/projects/{ProjectId}/testruns/{Id}Returns the test runThe authenticating user must have the Read privilege for the Test Library.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe project that contains the test run
IdpathintYesThe ID of the test run you need to get

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/RequestTestRunGetById HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/json
Content-Length: length

{"project_id":0,"id":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id":0,"test_set_id":0,"test_set_name":"String","run_by_host_id":0,"test_config_id":0,"configuration_name":"String","release_id":0,"project_id":0,"run_by_user_id":0,"run_by_user_name":"String","is_sequential":false,"status_code":"String","execution_type":"String","date_started":"0001-01-01T00:00:00.0000000","date_finished":"0001-01-01T00:00:00.0000000","nbr_tests":0,"nbr_passed":0,"nbr_failed":0,"nbr_blocked":0,"nbr_awaiting_run":0,"run_time":0,"run_time_formatted":"String","release_name":"String","agents":"String","schedule_id":"String","running_since":"0001-01-01T00:00:00.0000000","test_host":"String"}