We are performing a phasewise scheduled maintenance of our Zephyr for Jira Cloud and Capure for Jira Cloud instances to be compliant with GDPR- Atlassian privacy policy (https://www.atlassian.com/trust/privacy) .Please expect a downtime during this phase of maintenance from Saturday, 01/12/2019, 9:30 PM PST up until Sunday 01/13/2019, 9:30 AM PST.This will be for our phasewise deployment of infrastructure changes, migration utility verification and customer data migration, as part of our GDPR and Atlassian privacy policy compliance efforts.For any further queries regarding this please rasie a ticket by using the option 'Submit a Ticket' below
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

https://support.getzephyr.com/hc/en-us/articles/205042155

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