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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,752
Community Members
 
Community Events
176
Community Groups

error message when trying to upload testcafe execution JSON output file to Xray for Jira (Cloud)

We are doing automation testing in TestCafe, JSON file has been provided by the test team, error message received stating "File in wrong format" when trying to upload, does anyone have experience of uploading execution results from testCafe to Xray for Jira, are there any other methods that can be used?

1 answer

1 accepted

0 votes
Answer accepted

It could be that the JSON file provided was created for the Xray Server version rather than Xray Cloud version.

I'm presently building a TestCafe Xray Cloud JSON reporter plugin and have found that the Cloud JSON format differs from the Server JSON format.

Also, the JSON file has to be uploaded using the API, not imported through the Jira Xray client UI.

https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST+v2

can you please advise if this plug in needs to be installed at testcafe side or Xray/Jira?  I am assuming this is at testcafe side which leads me to the next question, is this compatible with the free version of Testcafe or would this only work with testcafe studio. Thanks in advance for your help 

Like Paul M Edwards likes this

Hello Kathryn,

Yes, it needs to be added to the TestCafe project as a dependency, then configured to be used. It can be configured to automatically upload the JSON report to your Xray Cloud instance.

I just published it to NPM, so you can start using it easily immediately:
https://www.npmjs.com/package/testcafe-reporter-xray-cloud-json

It is certainly compatible with the free version of TestCafe as that's what I'm using! :)

Paul

Like Kathryn Bowles likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events