Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-5133

As a system, when importing execution results if the report generated doesn't have tests executed a different HTTP status should be returned

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: New
    • Resolution: Unresolved
    • R3.6.2
    • None
    • REST_API
    • None
    • UNCOVERED

    Description

      When using the Xray REST API to import Execution results, if the report generated doesn't contain any test executed, the endpoint returns Status:400.
      If using a CI environment the build fails, due that response in the task to import the execution results.

      Example:

      Step Result
      Use a XML report that doesn't contain tests executed
      When importing the execution results using a CI environment, the build fails

      Attachments

        Activity

          People

            helder.ferreira Helder Ferreira
            maaf Miguel Fernandes
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: