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!

2 Replies

  • I am hoping to do the same thing to speed up the efficiency and time of our automated results. Are there any updates here? Thank you!

     

  • MisterB's avatar
    MisterB
    Champion Level 3

    Hi, we don't often see replies for API questions.  For speed, I suggest contacting SmartBear Support - they're quick to respond and you'll get the answer you need.