Skip to main content
Zephyr
Zephyr Enterprise questions

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

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

https://support.smartbear.com/kb/sample-soap-api-gettestschedulesby-criteria/

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+

Was this page helpful?