You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


This article provides a guide to troubleshooting common issues and optimizing your testing workflow when importing and executing tests using the Xray API on both Jira Data Center and Jira Cloud.

JUnit Integration

Ensure that your tests are integrated with JUnit and that the JUnit XML output of your test runner is correctly configured.


Xray API Authentication

Verify that you have the correct authentication credentials for the Xray API2. This typically involves a client ID and client secret.


JUnit Report Generation

Make sure your tests are generating JUnit reports in the correct format. Xray can import these reports to create Test Executions


API Endpoint

Check that you’re using the correct API endpoint for importing JUnit results2. For Xray Cloud, the endpoint is different from the one used for Xray Server


Error Messages

Understand common error messages and their solutions. For example, a 404 error might indicate that you’re trying to import results to the wrong server.


JUnit Extensions

Consider using Xray’s JUnit extensions for enhanced JUnit 5 integration.

  • No labels