Importing test execution results via cloud API gives error

Kanupriya
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!
March 4, 2024

I am trying to importing test execution results via cloud API and getting below issues. I have mentioned everything I have tried. Kindly share example in case any of you has a fix

First tried 

curl -H "Content-Type: multipart/form-data" -X POST -F info=@issueFields.json -F results=@results.json -H "Authorization: Bearer $APITOKEN" Base_Url/api/v2/import/execution/cucumber/multipart

This is giving error: Failed to parse Connect Session Auth Token
Used Basic instead of Bearer and it gives dead link error


Them created client id and client secret and used below coommand and that is giving dead link error

echo token=$(curl -H "Content-Type: application/json" -X POST --data '{ "client_id": "CLIENT_ID_VALUE","client_secret": "CLIEND_SECRET_VALUE" }' Base_Url/api/v2/authenticate| tr -d '"') tr -d '"')

Please let me know the solution.

I am trying import test execution results vis json. It was working on server but failing on cloud as mentioned above

 

Thanks

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events