Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-5704

When importing a JUnit XML file that only has TestSuites cycle and any TestSuite and Test, the import falls with error 500, Internal Application Error!

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2022 Sprint 18, XRAYCLOUD 2023 Sprint 1

    Description

      Description

      When importing a JUnit XML file that only has TestSuites cycle and any TestSuite and Test, the import falls with error 500, Internal Application Error!

      How to reproduce

      1. Import via REST API the following XML file: error-1.xml

      Actual result/Attachments

      The import throws an error: Internal Application Error!

      Please note that we ignore the import when we also have a JUnit XML file without any Test but with the structure TestSuites >> TestStuite.

      Test with this file: noerror.xml

      Expected result

      Xray should have the same behavior for both JUnit XML without any Test. It just simply must ignore them and not interrupt the import with an Internal Application error.

      Attachments

        1. error-1.xml
          0.1 kB
        2. image-2022-11-28-16-28-36-652.png
          image-2022-11-28-16-28-36-652.png
          64 kB
        3. image-2022-11-28-16-29-49-906.png
          image-2022-11-28-16-29-49-906.png
          32 kB
        4. noerror.xml
          0.3 kB

        Activity

          People

            afpc Andreia Costa
            amgt Ana Teixeira
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: