HomeAPITest CasesView

4.5. View

URL: /project/{project_id}/test_cases/view/{test_case_id}

Example Request:

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

Example Response:

{
"data": {
"testCase": {
"TestCase": {
"id": "1",
"title": "T1",
"created": "2015-01-22 00:27:54",
"user_id": "1",
"suite_id": "1",
"sort_order": "0",
"test_case_skip_condition_count": "0",
"description": "",
"steps": "",
"expected_result": "",
"priority": "1",
"avg_execution_time": "13",
"deleted": "0",
"use_mutli_steps": "0",
"raw_steps": "",
"source_project_id": "1",
"priorityLabel": "Normal",
"url": "/project/1/test_cases/view/1",
"tags": [],
"avg_execution_time_display": "00 hrs 00 mins 13 sec",
"requirements": [
"7257"
]
},
"Suite": {
"id": "1",
"title": "S1",
"description": "",
"status": "0",
"created": "2015-01-22 00:27:48",
"user_id": "1",
"suite_skip_condition_count": "0",
"deleted": "0",
"parent_id": null,
"lft": "1",
"rght": "4",
"suite_count": "1",
"test_case_count": "2",
"source_project_id": "1"
},
"Attachment": [],
"TestCaseSkipCondition": [],
"TestCaseStep": []
}
}
}

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