Forum Discussion

benson8's avatar
benson8
Visitor
2 years ago

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!

No RepliesBe the first to reply