Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Updating Test Execution with Xray Cloud API

Edited

Hello,


Our team has been looking to implement Xray in our workflow and we want to be able to run SpecFlow tests in our pipeline.

I've been trying to update my Test Executions from Test Runs, by using the REST API, as specified in your documentation:
https://docs.getxray.app/pages/viewpage.action?pageId=62269785
https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST
https://docs.getxray.app/display/XRAY/Import+Execution+Results

But the problem I'm facing is that it keeps generating a new Test Execution for each run, instead of updating the existing one.
The tags seem to be correct, my .json (cucumber) looks quite identical to the one in the docs, but still it keeps making new Test Executions.

I was wondering whether this could be functionality that is only available in the Server+DC version?  As we are using the Cloud version of Xray, and the docs of the Cloud version don't really specify this scenario.

 

Another thing that strikes me is that the docs say: "When using the REST API, you can specify an existing Test Execution issue in Jira; if the Test Execution key is missing, Xray will create a new Test Execution issue based on the information provided." --> But in the cucumber JSON output format, there's no way to specify this, other than using the Tags

 

If not, I'd be happy to supply more detailed information on my issue.

1 answer

1 accepted

0 votes
Answer accepted
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 14, 2020

Hi @Vincent Keltjens

In order to help you with this, we will need to request some more information, so we suggest that you create a ticket in our support desk so that we can help you the best we can. 

Best Regards, 

Sérgio Freire, Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Hi,

I am also facing the same issue, looking for some help.

Also created a support ticket

In the end, it didn't work out how we wanted to, so we gave up on this way...

Like Yanet Morales likes this

Thanks for the update

Do we have solution for this?

Suggest an answer

Log in or Sign up to answer