Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What could be the issue here?

malick_hounkonnou
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!
July 29, 2025
curl -v --proxy "$PROXY" \

        -H "Authorization: Bearer ${XRAY_TOKEN}" \

        -F "testExecutionInfo=${INFO_JSON};type=application/json" \

        -F "file=@${JUNIT_REPORT};type=application/xml" \

        "${XRAY_API}?projectKey=ATI"


Ceci est l'erreur que je reçois:

HTTP status code : 400

Response body : {"error":"Missing data in the junit results import request"}

❌ Erreur lors de l’importation du rapport JUnit vers Xray

 

 Alors que le fichier xml est très bien formaté et comme début du fichier on a:

<?xml version="1.0" encoding="UTF-8"?>

<testsuites name="TS_01_a" time="3.199" tests="3" failures="3" errors="0">

<testsuite name="TS_01_a" tests="3" failures="3" errors="0" time="3.199" skipped="0" timestamp="2025-07-29 07:50:29" hostname="root - runner-sqblm5xqm-project-24-concurrent-0" id="Test Suites/TS_TNR_Onboarders/TS_01_a">

<properties>

<property name="deviceName" value=""/>

<property name="devicePlatform" value=""/>

<property name="logFolder" value="/builds/katalon/onboarders/feature-souscription/Reports/20250729_075018/TS_TNR_Onboarders/TS_01_a/20250729_075022"/>

<property name="logFiles" value="/builds/katalon/onboarders/feature-souscription/Reports/20250729_075018/TS_TNR_Onboarders/TS_01_a/20250729_075022/execution0.log"/>

<property name="attachments" value=""/>

<property name="hostName" value="root - runner-sqblm5xqm-project-24-concurrent-0"/>

<property name="hostAddress" value="172.17.0.3"/>

<property name="os" value="Linux 64bit"/>

<property name="katalonVersion" value="8.6.10.208"/>

</properties>

<testcase name="Test Cases/01_Email/TC_05_ValidEmail" time="1.788" classname="Test Cases/01_Email/TC_05_ValidEmail" status="FAILED">

<failure type="FAILED" message="Test Cases/01_Email/TC_05_ValidEmail FAILED."/>

Merci pour votre aide.



0 answers

Suggest an answer

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

Atlassian Community Events