Error while importing XML results to Xray JIRA

Kelly Estrada
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2023

Hello community, first time here.

I'm having some issues trying to import an XML file with the results of a POC test. Xray is saying to me that the description field is missing but the XML file had been generated using mocha-junit-reporter, so I don't know where should I put that field. Also, I already saw a lot of similar issues here but the solutions of neither of them have worked for me. Could you help me here?

Thanks in advance!

Here the XML

 

<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="19.799" tests="2" failures="1">
<testsuite name="Root Suite" timestamp="2023-10-24T17:17:58" tests="0" time="0.000" failures="0">
</testsuite>
<testsuite name="My First Test" timestamp="2023-10-24T17:17:58" tests="2" file="/Users/kzapa/Documents/BC_POC_Codecept_Mocha_Xray/example_test.js" time="19.798" failures="1">
<testcase name="My First Test: Should load github page" time="3.237" classname="Should load github page">
</testcase>
<testcase name="My First Test: google welcome page" time="15.888" classname="google welcome page">
<failure message="expected web application to include &quot;GmailImágenes Acceder Colombia Sobre Google Publicidad Negocios Cómo funciona la Búsqueda Privacidad Condiciones Preferencias&quot;" type="Error"><![CDATA[expected web application to include "GmailImágenes Acceder Colombia Sobre Google Publicidad Negocios Cómo funciona la Búsqueda Privacidad Condiciones Preferencias"

+ expected - actual

-About Store GmailImages Sign in Advertising Business How Search works Our third decade of climate action: join us Privacy Terms Settings
+GmailImágenes Acceder Colombia Sobre Google Publicidad Negocios Cómo funciona la Búsqueda Privacidad Condiciones Preferencias
]]></failure>
</testcase>
</testsuite>
</testsuites>

1 answer

0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 3, 2023

Hi @Kelly Estrada 

welcome to the atlassian community.

Could you please give some more details: 

How are you trying to import the executions? Furthermore: Could you send any screenshots of your process and/or the error?

Best
Stefan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events