You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi, recently I tried to import my cucumber test result to jira Xray but getting the error
curl -u USERNAME:PASSWORD -F info=@jiraInfo.json -F result=@cucumber_report.json https://myCompanyJiraServer/rest/raven/1.0/import/execution/cucumber/multipart
but return below:
curl: (55) Send failure: Connection was reset
or
curl: (56) Send failure: Connection was reset
I have tested another curl command:
curl -u USERNAME:PASSWORD -k -v https://myCompanyJiraServer/jira/rest/api/2/issue/TICKET-1
and it works
Hello @ChrisNgai
Since you omitted cURL's -X parameter to declare the connection type as POST, the error isn't surprising.
You may want to review cURL's online documentation again.
curl -u USERNAME:PASSWORD -X POST -F info=@jiraInfo.json -F result=@cucumber_report.json https://myCompanyJiraServer/rest/raven/1.0/import/execution/cucumber/multipart
Result return :
curl: (56) Send failure: Connection was reset
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Given that you're submitting a multipart data request, it's not clear how you think the connection will work if you omit the -H parameter and don't declare "Content-Type: multipart/form-data" in the header.
I think I'll leave you with this now.
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.