Experiencing difficulties in executing test cases in Zephyr For Jira Cloud ?.Please click here for root cause and solution .
Support | Zephyr

Sample REST API - Update execution status of a testcase (JAVA)

Created on

Attached code is used to update the execution status of a testcase. The required parameter is the ScheduleID  which can be founded by using method getTestScheduleByCriteria.The program for getschedulesbycriteria is given on the following link


Also the execution status in this code is set to "2" which is "FAIL" and is passed as payload. You can use id 1= PASS and 3 = WIP


See attached for downloadable copy

Zephyr Enterprise/Community Javadocs : http://support.yourzephyr.com/api_help/4.7/javadocs/index.html

Sourced software:

- Java

- Zephyr Socket Server Library 4.6.X+


Title:  API Sample - Update Execution with Results (Java)

Product:  Zephyr Enterprise, Community

Version:  4.6.X+

Summary:  Sample REST API - Update execution status of a testcase (JAVA)

Was this article helpful?
1 out of 2 found this helpful
Have more questions? Submit a request
Powered by Zendesk