Forum Discussion
Hi,
Here's a link to the official Scale API for Cloud and Server (depending on which version you have).
For Cloud, it's POST - Create test execution
For Server/DC, it's POST - /testrun/{testRunKey}/testresults
Hope that helps.
Hi MisterB
Thanks for the quick reply
I am using JIRA cloud. I have referred to POST- Test Case creation API. It have following endpoint https://api.zephyrscale.smartbear.com/v2/testexecutions
Below are the endpoints used:
For adding test cycle in zephyr: POST: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle
For adding folder to test cycle: POST: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/folder
For adding tests to cycle: POST: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/executions/add/cycle/ <cycleID is passed>
Creating execution: POST: https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/execution
But the status is UNEXECUTED in response for the testID provided.
The base URL that you have provided and I am using for APIs is different. Can you please provide your insights on this.
Related Content
- 2 years ago
- 2 years ago
Recent Discussions
- 15 days ago