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 Runs in a Test CycleCycle by Cycle ID |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/{testCycleID}/members http://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/{testCycleIDtestCycleName}/testRunsByCycleIdtestRunshttp://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600Cycle 10/testRunsByCycleIdtestRuns Status |
---|
colour | Blue |
---|
title | REQUEST body |
---|
| NULL |
Expand |
---|
title | TBDGet Test Runs in a Test Cycle by Cycle ID |
---|
|
/rest/testray/latest/public/testPlan/{testPlanIssueKey}/addCyclecycle/{testCycleID}/testRunshttp://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/addCycle/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":
{
"nameOS":"REST API Cycle 1"macOS",
"DB":"MySQL"
},
"environmenturgency":"FirefoxHigh",
"buildassigneeId":"v9.0",5f115539e5efc1001bbd5051"
},
{
"plannedStartDatetestCaseKey":"2021-10-10TPB-1745",
"configurations":
{
"OS":"macOS",
"DB":"OracleDB"
},
"urgency":"Low",
"plannedEndDate":"2025-11-11" "assigneeId":"5f115539e5efc1001bbd5051"
}
] |
|
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]
} |
|