Below are the list of REST APIs we developed related to test cycle.
Expand |
---|
title | Add Test Cases to a Test Cycle |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleName or testCycleID}/addMembers http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/Cycle 10/addMembers Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
|
Code Block |
---|
| {
"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 |
---|
title | Get Test Case Members from Test Cycle by Cycle Name |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleName}/members http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/Cycle 10/members Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | Get Test Case Members from Test Cycle by Cycle ID |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleID}/membershttp://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/600/members Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | Get Test Runs from a Test Cycle by Cycle Name |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleName}/testRuns http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/Cycle 10/testRuns Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | Get Test Runs in a Test Cycle by Cycle ID |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/testRuns http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/testRuns Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | Create Test Runs from a Test Cycle |
---|
|
/rest/testray/latest/public/testRun/{testCycleID}/createTestRuns http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/600/createTestRuns Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
|
Code Block |
---|
| [
{
"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 |
---|
title | Get Test Runs from a Test Cycle by Cycle Name |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleName}/testRuns http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/Cycle 10/testRuns Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | Get Test Runs in a Test Cycle by Cycle ID |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/testRuns http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/testRuns Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | Delete Test Runs from a Test Cycle |
---|
|
/rest/testray/latest/public/testRun/delete http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/delete Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
|
Code Block |
---|
| {
"testCycleId": 600,
"testRunIds": [60000, 60001]
} |
|
Expand |
---|
title | Get Defects Reported from a Test Cycle |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/defects http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/defects Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |