Forum Discussion

Claddaghduff's avatar
Claddaghduff
Occasional Contributor
3 years ago
Solved

How to set the status of a test using the Zephyr Scale api

I want to create a test execution and post it to Zephyr Scale via the api (from within TestComplete). I can see how I can create the testexecution via https://api.zephyrscale.smartbear.com/v2/testexecutions using a http post but the documentation in https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createTestExecution doesn't show a field for setting the status of the test. I'm assuming I should use the "testexecutions" api but it doesn't appear to set it. I've had a look through the other api calls but can't any other api I would use to to create a test execution and set the test execution status. Can someone tell me the API to use and the payload field to use?

3 Replies