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

        1. image-2020-02-26-23-17-26-298.png
          17 kB
          Miguel Fernandes
        2. image-2020-02-26-23-18-50-925.png
          96 kB
          Miguel Fernandes
        3. image-2020-02-26-23-19-17-145.png
          99 kB
          Miguel Fernandes

        Activity

          People

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

            Dates

              Created:
              Updated: