Ask a Question

Post multiple test executions in single payload

benson8
Visitor

Post multiple test executions in single payload

Hi,

 

I am trying to use the Zephyr Scale Cloud API to post multiple test executions in a single payload. I don't have the benefit of Junit-formatted results, unfortunately. I've tried something like:

 

POST https://api.zephyrscale.smartbear.com/v2/testexecution

{
 "projectKey": "PROJ",
 "testCaseKey": "PROJ-T1",
 "testCycleKey": "PROJ-R1",
 "statusName": "Pass",
 "comment": "Test comment"
},
{
 "projectKey": "PROJ",
 "testCaseKey": "PROJ-2",
 "testCycleKey": "PROJ-R1",
 "statusName": "Pass",
 "comment": "Test comment"
}

 

I noticed that there is another endpoint, https://api.zephyrscale.smartbear.com/v2/automations/executions/custom, which might help, but I'm not sure what that upload would need to look like. Has anyone accomplished this in a single payload? Thank you!

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: