Forum Discussion

IMeeme's avatar
IMeeme
New Contributor
3 years ago
Solved

Upload test execution results in Bulk zephyr scale api

Hello,
I am trying to use the `/testexecutions` endpoint to upload test results in bulk but am getting an invalid payload error. Here is a sample pay load 

[
{
    "projectKey": "S22",
    "statusName": "Fail",
    "testCaseKey": "S22-T491",
    "testCycleKey": "S22-R5",
    "comment": "Test failed user could not login"
},
{
    "projectKey": "S22",
    "statusName": "Pass",
    "testCaseKey": "S22-T455",
    "testCycleKey": "S22-R5",
    "comment": "Test user could login"
}
]
  • I was able to get a response from the Support team. Unfortunately one can not parse multiple results via `/testexecutions` endpoint. You can only execute/add results to one test case at a time. Hope this helps someone in the future

4 Replies