Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


XRay - Import Cucumber Execution Results with Multipart


I'am trying to import my cucumber execution results into XRay via. the REST API / cucumber-multipart and want to change the summary of the new created test execution in Jira.
What i do:

1. Export feature files from Xray into Java Project
2. Execute my tests
3. result.json is generated from Cucumber
4. I generate a info.json for multipart to edit the summary of the test execution
5. HTTP post request with Content-Type: multipart / Formdata 

But the only response i get from Xray is:
Responsecode 400: Bad Request - "error": "The result file is required".
I don't understand why i get this response, i deliever the result file?

- My result.json looks like a standard cucumber result Json File
- My info.json looks like:

"fields": {
"project": {
"id": "14335"
"summary": "Cucumber Test Execution",
"components" : [{

- First i tried to send the post request from my java code than i also tried to use postman for testing purpose
- Infos about my HTTP POST Request:

POST /rest/raven/1.0/import/execution/cucumber/multipart HTTP/1.1
Host: xxxx
Authorization: Basic c2...==
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Cookie: xxxx
Content-Length: 444

Content-Disposition: form-data; name="resultFile"; filename="resultJira.json"
Content-Type: application/json

Content-Disposition: form-data; name="infoFile"; filename="resultInfo.json"
Content-Type: application/json


Can somebody help me with this?

Thanks in advance,
Greetings Simon









1 answer

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events