Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

 Add a Test Cycle to a Test Plan

POST /rest/testray/latest/public/testPlan/{testPlanIssueKey}/addCycle

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/addCycle

REQUEST BODY

{
    "name":"REST API Cycle 1",
    "environment":"Firefox",
    "build":"v9.0",
    "plannedStartDate":"2021-10-10",
    "plannedEndDate":"2025-11-11"
}
 Get Test Cycles from a Test Plan

GET /rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycles

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycles

REQUEST BODY NULL

 Update Test Cycle Status

PUT /rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{cycleName}/wf/{action}

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/Cycle 1/wf/Start

REQUEST BODY NULL

ACTIONS

  • Start

  • Complete

  • Abort

  • Resume

 Delete a Test Cycle from a Test Plan by Cycle ID

DELETE /rest/testray/latest/public/testPlan/{testPlanIssueKey}/deleteCycleById

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/deleteCycleById

REQUEST BODY

{ 
    "id": "1000"
}
 Get Defects Reported from a Test Plan

GET /rest/testray/latest/public/testPlan/{testPlanIssueKey}/defects

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/defects

REQUEST BODY NULL

  • No labels