Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Below are the list of REST APIs we developed related to test cycle.

Expand
titleAdd Test Cases to a Test Cycle

Status
colourGreen
titlePOST
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleName or testCycleID}/addMembers

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/Cycle 10/addMembers

Status
colourBlue
titleREQUEST body

Code Block
languagejson
{
    "testSuitePaths": [],
    "testCaseAndPath": [
        {
            "testCaseKey": "TPB-1699",
            "suitePath": "20230116 Test Suite"
        },
        {
            "testCaseKey": "TPB-1704",
            "suitePath": "20230116 Test Suite/20230120 Sub Suite 1/120 Sub Suite 1-1"
        }
    ]
}

OR

{
    "testSuitePaths": ["20230214 Test Suite", "20230116 Test Suite/20230120 Sub Suite 1"],
    "testCaseAndPath": []
}
Expand
titleGet Test Case Members from Test Cycle by Cycle Name

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleName}/members

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/Cycle 10/members

Status
colourBlue
titleREQUEST body
NULL

Expand
titleGet Test Case Members from Test Cycle by Cycle ID

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleID}/members

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/600/members

Status
colourBlue
titleREQUEST body
NULL

Expand
titleGet Test Runs from a Test Cycle by Cycle Name

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleName}/testRuns

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/Cycle 10/testRuns

Status
colourBlue
titleREQUEST body
NULL

Expand
titleGet Test Runs in a Test Cycle by Cycle ID

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/testRuns

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/testRuns

Status
colourBlue
titleREQUEST body
NULL

Expand
titleCreate Test Runs from a Test Cycle

Status
colourGreen
titlePOST
/rest/testray/latest/public/testRun/{testCycleID}/createTestRuns

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/600/createTestRuns

Status
colourBlue
titleREQUEST body

Code Block
languagejson
[
    {
        "testCaseKey":"TPB-1745",
        "configurations":
        {
            "OS":"macOS",
            "DB":"MySQL"
        },
        "urgency":"High",
        "assigneeId":"5f115539e5efc1001bbd5051"
    },
    {
        "testCaseKey":"TPB-1745",
        "configurations":
        {
            "OS":"macOS",
            "DB":"OracleDB"
        },
        "urgency":"Low",
        "assigneeId":"5f115539e5efc1001bbd5051"
    }

]
Expand
titleGet Test Runs from a Test Cycle by Cycle Name

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleName}/testRuns

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/Cycle 10/testRuns

Status
colourBlue
titleREQUEST body
NULL

Expand
titleGet Test Runs in a Test Cycle by Cycle ID

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/testRuns

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/testRuns

Status
colourBlue
titleREQUEST body
NULL

Expand
titleDelete Test Runs from a Test Cycle

Status
colourGreen
titledelete
/rest/testray/latest/public/testRun/delete

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/delete

Status
colourBlue
titleREQUEST body

Code Block
languagejson
{
    "testCycleId": 600, 
    "testRunIds": [60000, 60001]
}
Expand
titleGet Defects Reported from a Test Cycle

Status
colourGreen
titleget
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/defects

Status
colourYellow
titleSAMPLE
http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/defects

Status
colourBlue
titleREQUEST body
NULL