HomeAPIExecutionsExecution Case Logs View

6.6. Execution Case Logs View

URL: /project/{project_id}/execution_case_logs/index/{execution_case_log_id}

/project/1/

Example Request:

curl http://your-testcollab-url.com/index.php/project/1/execution_case_logs/index/2.json?API_KEY=yourapikey

Example Response:

{
    "data": {
        "executionCaseLogs": [
        {
            "ExecutionCaseLog": {
                "id": "2",
                "type": "1",
                "execution_case_id": "2",
                "params": [],
                "created": "2015-01-22 00:29:51",
                "comment": "test",
                "project_id": "1",
                "user_id": "1",
                "execution_run_id": "2",
                "remote_executor_id": null,
                "type_text": "Execution Run"
            },
            "ExecutionRun": {
                "id": "2",
                "execution_case_id": "2",
                "user_id": "1",
                "started": "2015-01-22 00:29:44",
                "ended": "2015-01-22 00:29:51",
                "result": "0",
                "notes": "test",
                "created": "2015-01-22 00:29:51",
                "defect_id": null,
                "time_taken": "6",
                "project_id": "1",
                "remote_executor_id": null,
                "test_case_revision_id": "2",
                "result_label": "Fail"
            },
            "Attachment": [],
            "TestCaseRevision": {
                "id": "2",
                "test_case_id": "2",
               "created": "2015-01-22 00:28:29",
               "user_id": "1",
               "revision_number": "1",
               "comment": null
           }
    },
    {
        "ExecutionCaseLog": {
            "id": "3",
            "type": "6",
            "execution_case_id": "2",
            "params": [],
            "created": "2015-01-22 00:32:01",
            "comment": "Bulk action - reassign",
            "project_id": "1",
            "user_id": "1",
            "execution_run_id": null,
            "remote_executor_id": null,
            "type_text": "Retest"
        },
        "Attachment": []
    },
    {
        "ExecutionCaseLog": {
            "id": "4",
            "type": "1",
            "execution_case_id": "2",
            "params": [],
            "created": "2015-01-22 00:32:17",
            "comment": "test",
            "project_id": "1",
            "user_id": "1",
            "execution_run_id": "3",
            "remote_executor_id": null,
            "type_text": "Execution Run"
        },
        "ExecutionRun": {
            "id": "3",
            "execution_case_id": "2",
            "user_id": "1",
            "started": "2015-01-22 00:32:11",
            "ended": "2015-01-22 00:32:17",
            "result": "0",
            "notes": "test",
            "created": "2015-01-22 00:32:17",
            "defect_id": "1",
            "time_taken": "4",
            "project_id": "1",
            "remote_executor_id": null,
            "test_case_revision_id": "2",
            "result_label": "Fail"
        },
        "Attachment": [],
        "TestCaseRevision": {
            "id": "2",
            "test_case_id": "2",
            "created": "2015-01-22 00:28:29",
            "user_id": "1",
            "revision_number": "1",
            "comment": null
        }
    }
    ]
}
}

Notice the value of "type" under "ExecutionCaseLog", the value here represents the type of activity which has performed on execution case : 

1 indicates that execution case has been run

2 indicates that execution case has been reassigned

3 indicates that execution case has been commented on

4 indicates that execution case has been marked as passed

indicates that execution case has been marked as failed

indicates that execution case has been marked for retest

 

This page was: Helpful | Not Helpful
Test Case Management
Test Collab Support
Product Tour