Document toolboxDocument toolbox

Test Run Resource

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

get /rest/testray/latest/public/testRun/{testRunID}

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/60000

REQUEST body NULL

PUT /rest/testray/latest/public/testRun/update

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/update

REQUEST body

{ "runId":60000, "result": "Failed", "comment": "REST API Comment", "bugs":["TPB-1278", "TPB-1279"], "testRunFields": { "Run Field 1":["Run Field 1 - Value 1", "Run Field 1 - Value 2"], "Run Field 2":["Run Field 2 - Value 1", "Run Field 2 - Value 2"] }, "executorId": "5f115539e5efc1001bbd5051" }

PUT /rest/testray/latest/public/testRun/updateStep

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testRun/updateStep

REQUEST body

{ "runStepId": 392720, "result": "Passed", "actualResult": "REST API Updated Actual Result, Step 1", "bugs":["TPB-1212"], "executorId": "5f115539e5efc1001bbd5051" }

post /rest/testray/latest/public/testPlan/{testPlanIssueKey}/bulkStatusUpdate

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

REQUEST body

{ "testCycleId":600, "status":"Passed", "runIds":[60000,60001] }

post /rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{testCycleID}/linkBugToTestRun

SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/600/linkBugToTestRun

REQUEST body

Related pages