Applies to QAComplete 14.4, last modified on May 20, 2024

Returns information on a specific test run item from QAComplete.

Use the operation to get information on the test run item specified by its ID, the ID of the test run, and the ID of the project to which the test run belongs.

To get information on all items the test run contains, use the …/testruns/{Id}/items (GET) operation.


Basic authentication using a user’s login and password. See Authentication for details.

Security Rights

The authenticating user must belong to a security group that has the Read privilege for Test Library.

Request Format

To get information on a test run item, send a GET request to the following URL:


ProjectId  :  integer, required

The ID of the project, to which the test run belongs.

Id  :  integer, required

The ID of the test run whose item you want to get.

ItemId  :  integer, required

The ID of the test run item you want to get

A sample request:

Connection: keep-alive
Accept: application/json
Authorization: Basic am9obkBleGFtcGxlLmNvbTpwQHNzd29yZA==

A sample request made by using cURL:

curl -u [email protected]:p@ssword -H "Accept: application/json"

Response Format

If successful, the operation responds with HTTP status code 200 and returns a JSON object with the test run item information.

A sample response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1354

  "id": 3623363,
  "test_set_id": 277294,
  "project_id": 98393,
  "test_run_id": 647894,
  "test_id": 3218458,
  "test_name": "Add new user with valid name and details",
  "version": 2,
  "sequence_number": 1,
  "seq_token": 0,
  "status_code": "Passed",
  "date_started": "2015-07-29T12:35:44.0200000",
  "date_finished": "2015-07-29T12:35:44.0200000",
  "run_time": 57,
  "run_time_formated": "00:00:57",
  "is_stopped_on_fail": false,
  "last_run_by_name": "Smith, John "
  "release_id": 112537,
  "release_name": "eCommerce Application: Release 1.0/Sprint 1",
  "test_config_id": 57081,
  "configuration_name": "IE10, Win 8",
  "test_set_name": "User Login Processes",
  "avg_run_time": 57,
  "avg_run_time_formated": "00:00:57",
  "folder_name": "eCommerce Tests/Log in page",
  "test_description": "Add new user with valid name and details",
  "last_run_date": "2015-07-29T12:35:44.0200000",
  "is_tokenized": false,
  "test_run_started": "2015-07-29T12:34:41.1170000",
  "run_by_user_id": 130457,
  "last_run_status": "Passed",
  "status_updated_by": 130457,
  "status_updated_by_user_name: "Smith, John "
  "test_run_results": [],
  "file_report": "",
  "file_log": "",
  "automated": false,
  "test_host": ""
  "update_user_id": 0

Error responses

If the operation fails, it returns the appropriate status code and (optionally) the error description in the response body.

If the project with the specified ProjectId does not exist or the authenticating user does not have rights to access the project, the operation returns the Access is denied error.

If the test run item with the specified Id does not exist, the operation returns the File or directory not found error.

See Also

Test Runs Resources

Highlight search results