Forum Discussion

tanandserrala's avatar
tanandserrala
New Member
52 minutes ago

Can I fetch Zephyr Test Execution Status value Directly with API

I am using the Zephyr Scale API to fetch the test execution from test cycle using endpoint "/v2/testexecutions/nextgen"

https://support.smartbear.com/zephyr-scale-cloud/api-docs/#tag/Test-Executions/operation/listTestExecutionsNextgen

In response I am getting execution like below format

"testExecutionStatus": {
                "id": 9635655,
                "self": "https://api.zephyrscale.smartbear.com/v2/statuses/9635655"
            },


So, To fetch the execution status value I need to make another API call endpoint "v2/statuses/9635655"

that return the response with value of status

 "name": "Not Executed",

instead of making multiple call for statuses can I fetch the status of test execution with single call?

No RepliesBe the first to reply