Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

XRAY import multiple results to one Test Execution for Cucumber

we would like to be able to import multiple results to one Test Execution for Cucumber. 

https://jira.xpand-it.com/browse/XRAYJENKINS-5 was added to Jenkins R1.3.0 but does not support cucumber. Are there any plans to extend this feature to Cucumber ?

1 answer

0 votes

Hi Lucy, 

We support this feature but under a different name (and only for Xray Server/DC). In Jenkins, if you are to import several Cucumber result files by using the "Compressed .zip file" option.

 

If that doesn't fit your needs, you can use the Xray Cloud/Server Rest API by using a bash script step in your Jenkins project.

Best regards,

Xray Team

hi @José Domingues [Xray] 

In my project there is 2 feature files and its generating a single cucmber.json file with two arrays for each feature file.I splitted this cucmber json to 2 seperate json file json1&json2 for each feature file.i zipped this file to a single folder.

My intention is to import these two results in separate execution keys through a single curl command.initially i posted the cucumber.json with below curl command and then whole results are posting in one execution key(test execution key)

POST /rest/raven/1.0/import/execution/cucumber

Then i tried with zip file of above Json1&json2 with below bundle command.Its not throwing any messages in curl terminal and no updates in execution  key

POST /rest/raven/1.0/import/execution/bundle

can some one advice me on this?

@rgnair Did you found any solution to this ? I am also looking for the same. 

Hi @rgnair and @bhuv sai ,

Since the two reports are found inside the same file, and there is not tag referring Test Executions keys, they will be imported in a single Test Execution.

The only alternative is to have in each report a tag referencing a different Test Execution key, that already exists in Jira. In this case, Xray will map the report to the respective Test Execution key.

If you need additional help, please contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

144 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you