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.
Hi @malick_hounkonnou - welcome to the community,
Could you please describe exactly your situation and what you are trying to do?
Which endpoint are you calling? Can´t see any and the query parameters are kinda confusing to me.
Thanks in advance.
Best
Stefan
welcome to the Atlassian Community.
I'm no Xray expert, but I'm pretty sure you'll get some good help via the Xray support: https://xraysupport.getxray.app/
All the best,
Matthias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.