Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,256,869
Community Members
 
Community Events
164
Community Groups

XRay Cloud Importing JUnit report Unauthorized Access

Edited

1. POST: https://xray.cloud.xpand-it.com/api/v1/import/execution/junit?testExecKey=TOS-17

2. Client ID and Secret are correct and used at API key setting in POSTMAN.

3. Content-Type : text/xml

4. Body has Binary type attached an XML

5. Almost tried all the stuff from forum but no luck.

6. The execution key is present and I am able to access the key through the browser.

Getting 401 unauthorised with "{"error":"Could not find authentication data on request"}" message. 

Many thanks for the help.

3 answers

Hello am facing the same issue
can i get some assist?

Hi @kavi mahadeo 

If my previous answer below does not help, is it best to contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Like kavi mahadeo likes this

Hi @Neelesh 

The error suggests that there is an issue with the way the authentication information is being sent.

Have you generated a token? Or are you using the Client ID and Secret directly in the import REST API?

If you didn't generate a token then that is the problem (https://docs.getxray.app/display/XRAYCLOUD/Authentication+-+REST).

If you are using the token already, please try the curl examples found in the documentation page (https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST#ImportExecutionResultsREST-JUnitXMLresults).

If you need additional help, please contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Any one. Pls help.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you