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
Community Members
Community Events
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.

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:

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


Like Kathryn Bowles likes this

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

339 views 0 7
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