Zephyr Scale Server/DC Ideas

Search, vote, comment and create ideas for Zephyr Scale improvements here. For more information on our review process, see here.

Ability to add test results status (PASS/FAIL) using the cloud APi

I recently started to use the API to evaluate out API automation. The API automation shall retrieve the test cases and then run the automation and then write the test results to the test executions.


I have been exploring the documentation here --> https://support.smartbear.com/zephyr-scale-cloud/api-docs/#tag/Test-Cycles/operation/getTestCycleLinks.


I was able to create tests cases in JIRA/Zephyr Scale and test executions. from the API using Python. Now the respective tests ran and it passed. However, I was not able to find any way to update the test results (PASS/FAIL).


When I look under the hood by pressing F12 on the chrome browser while I am on JIRA/Zephyr Scale, when I update the test result for a test execution, I see this below:

Request:

PUT https://app.tm4j.smartbear.com/backend/rest/tests/2.0/testresult

Body:

[{"id":1234567,"testResultStatusId":123456,"userKey":"1234567890","executionDate":"2022-05-01T02:26:03.941Z"}]


So my question is, do we have a similar endpoint to update the tests results from API as I am not able to find information here -->

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

  • Vivek Chauhan
  • May 5 2022
  • New
API
As a... Test Engineer
I would like... Updated test results from the API
So that I... can mark tests as PASS/FAIL
  • Attach files