HomeAPITest CasesList

4.2. List

URL: /project/{project_id}/test_cases/index/{test_suite_id}.json

Example Request:

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

Example Response:

{
    "data": {
        "testCases": [
            {
                "TestCase": {
                    "id": "429",
                    "title": "Test case 1",
                    "created": "2013-12-13 12:47:13",
                    "user_id": "1",
                    "suite_id": "67",
                    "sort_order": "0",
                    "test_case_skip_condition_count": "0",
                    "description": "",
                    "steps": "",
                    "expected_result": "",
                    "priority": "1",
                    "avg_execution_time": "16",
                    "deleted": "0",
                    "use_mutli_steps": "1",
                    "raw_steps": "a:0:{}",
                    "source_project_id": "16",
                    "priorityLabel": "Normal",
                    "url": "/project/16/test_cases/view/429",
                    "tags": []
                },
                "Suite": {
                    "id": "67",
                    "title": "s11",
                    "status": "0",
                    "created": "2013-12-13 12:47:04",
                    "user_id": "1",
                    "suite_skip_condition_count": "0",
                    "deleted": "0",
                    "parent_id": "65",
                    "lft": "120",
                    "rght": "123",
                    "description": "",
                    "suite_count": "1",
                    "test_case_count": "2",
                    "source_project_id": "16"
                },
                "Attachment": [],
                "TestCaseSkipCondition": [],
                "TestCaseStep": []
            }
        ],
        "paging": {
            "page": 1,
            "count": 1,
            "limit": 10,
            "pageCount": 1
        }
    }
}

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