Ask a Question

add test execution for several testcases at the same time in 1 call

esteban_ark
Frequent Visitor

add test execution for several testcases at the same time in 1 call

Hi. is there a way to push several statuses to a execution of several test cases. In this case, the endpoint  https://api.zephyrscale.smartbear.com/v2/testexecutions only accepts one test key in the payload like 

{
        "projectKey""projectjey",
        "testCaseKey""example-T7",
        "testCycleKey""example-R8",
        "statusName""Pass"
    }

I want to add statuses to several testcases that belongs to the cycle R8 but the endpoint does not allow to send it as an array of object example
[
    {
        "projectKey""projectjey",
        "testCaseKey""example-T7",
        "testCycleKey""example-R8",
        "statusName""Pass"
    },
    {
        "projectKey""projectjey",
        "testCaseKey""example-T8",
        "testCycleKey""STMexampleM-R8",
        "statusName""Pass"
    }
]
 
I dont want to use the JUNIT way to do it, because I want to have a internal logic to grab dynamically read the ids from playwright and then append it to the call to the exeecution
2 REPLIES 2
MisterB
Champion Level 3

I see you've not had a reply.  I'm unable to answer your question, but Smartbear will be able to help you if you contact them here: SmartBear Support

 

 


------------------------------------------
Please give kudos if I have helped or accept as solution if appropriate
Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/
MisterB
Champion Level 3

Were you able to resolve this request?


------------------------------------------
Please give kudos if I have helped or accept as solution if appropriate
Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/
cancel
Showing results for 
Search instead for 
Did you mean: