Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Fixed
-
Xray Cloud - v4.10.8
-
None
-
N/A
-
Standard
-
XRAYCLOUD 2025 Sprint 2
-
Description
Description
When importing Junit Results using API, <properties/> tags inside the Test Cases are not being ignored.
Currently, if the tag is present, the API request throws an error and the import can't be completed.
Pre-conditions
- Sample file: JUnit_Results_Sample.xml
How to reproduce
- Make sure the <properties/> tag is placed inside a Test Case in the xml file
- Import the xml results file using the JUnit XML results or JUnit XML results Multipart endpoint.
Â
Actual result/Attachments
API request fails with a "error": "Result is not format junit"
The API request will only work if the <properties/> tag is removed from inside the Test Case in the xml file.
Expected result
The process should ignore the <properties/> tag and import the Junit Results, as it does in Xray DC version.
Workaround
Removing the <properties/> tag from the xml file will prevent the error from happening and allow the import to proceed.