Ask a Question

Upload test execution results in Bulk zephyr scale api

SOLVED
IMeeme
New Contributor

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"
}
]
4 REPLIES 4
MisterB
Community Hero

Does the content of this post help?

 

Solved: Zephyr Scale server testResult POST publishes only... - SmartBear Community



Need more help? Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/
IMeeme
New Contributor

Hi @MisterB 
Thanks for your reply, But unfortunately no! I am trying to update multiple test cases at a time I get an invalid payload error. Updating 1 test case at a time works but not multiple test cases 

MisterB
Community Hero

Sorry I can't help with that.  There are others here who could help, but no idea if/when they would reply.  You might get a quicker answer going to the support team at SmartBear here: SmartBear Support



Need more help? Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/
IMeeme
New Contributor

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

cancel
Showing results for 
Search instead for 
Did you mean: