Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Fixed
-
None
-
None
-
XRAYCLOUD 2024 Sprint 5, XRAYCLOUD 2024 Sprint 6
-
Description
Whenever importing a JUnit XML file having custom properties where the values are escaped (due to the rules of XML encoding), Xray Cloud gives error processing it.
To replicate:
- submit the JUnit XML file TEST-junit-jupiter.xmlto the Junit endpoint
it will return an error:
{"error":"Invalid JQL query"}
This seems to happen as the JUnit XML report contains a property with a value such as the following (which is sintatically correct):
.. <property name="test_summary" value="Error "Login or/and password are incorrect""/> ...
This will come as consequence of using a test such as the following one, together with the xray-junit-extensions package.
@Test @DisplayName("Error \"Login or/and password are incorrect\"") public void annotatedWithDisplayNameCharsToBeEscaped() { fail("with DisplayName"); }
Attachments
Issue Links
- mentioned in
-
Page Loading...