Import Execution Results:: Cucumber XRAY Api

Ashwin January 27, 2025

Two different Scenarios. Any help will be much appreciated.

1. In Jira UI we have a option "Import Execution Results" under More Dropdown to import Cucumber.json.  If this is used, Tests Status with evidences are updated successfully. This is feature is available for TEST EXECUTION type.

Now, I want the same scenario to be done using API, but in the Cucumber XRAY documentation it is not provided to my knowledge. If there is any API for upload Import Execution Results Jira please provide. 

2 .

The provided API  https://jira.broadridge.net/rest/raven/1.0/import/execution/cucumber is creating new Test Execution, I do not want that. I want to upload the cucumber.json results to already created Test Execution.

Thanks

1 answer

0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2025

Hi @Ashwin 

did you create cucumber tests in xray upfront and exported them to feature files? This is nscessary in order for te api to map results to tests.

see the following link:
https://docs.getxray.app/pages/viewpage.action?pageId=27537924#TestingwithCucumber-SubmissionofCucumberresultssays%22Notestsfoundinexecutionresult%22

This page (at the very top) perfectly describes the whole cucmber- ray workflow and further steps to import results

Best
Stefan

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2025

Any feedback, @Ashwin ?

Suggest an answer

Log in or Sign up to answer