I am currently exporting my jUnit test results to Xray via REST API V2.
All is fine and as expected, except when a test fails there is no error logged, the Output field is blank:
I am importing the jUnit xml file after running Android tests. I have not modified it. It's a typical jUnit xml file. Is there an additional step required in order to get the error message to display in the execution details ticket?
Thanks in advance.
The JUnit XML is a "de facto standard" but there is no accurate specification for it. Different frameworks may produce slightly different XML reports. In Xray for Jira server/DC, how Xray processes the JUnit XMl report is described, at least to a certain point, here. There may be some limitations though. One of them is related to the "message" attribute on the element; as of v4.x, is is not processed as detailed here. On the concrete problem you reported, that seems to be related to the presence of "type" attribute, that is currently required. I see two ways moving forward: