Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Linking Test execution to Test

Deleted user July 17, 2024

I am getting 404 eror when using the associate Test execution to a test end point.

 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<status>
    <status-code>404</status-code>
    <message>null for uri:{{JIRA_BASEURL}}/rest/raven/2.0/api/testexec/ODA-7971/test</message>
</status>
can you help.

2 answers

0 votes
Khang Bui_Candylio July 18, 2024

Hi @[deleted] ,

  1. Ensure that the test keys PTX-10802, ODA-7972, and ODA-7976 are correct.
  2. Ensure that the account you are using has the necessary permissions to access the test and test execution.
  3. Ensure that the request is correctly formatted

This is as far as I can help.

Further questions please contact XRAY support: https://jira.getxray.app/servicedesk/customer/user/login?destination=portals 

0 votes
Khang Bui_Candylio July 17, 2024

Hi @[deleted] ,

It looks like you're having trouble with APIs

You can check this list:

  1. Check the Base URL format
  2. Check and confirm your Test Execution key and Test key
  3. Check Xray's APIs with the following document [XRAYCLOUD_REST+API]
  4. Finally, check your Authenticate Token referring to the document: https://docs.getxray.app/display/XRAYCLOUD/Authentication+-+REST+v2 

I hope this information helps.

Kind regards,
Khang

Deleted user July 17, 2024

Hi @Khang Bui_Candylio ,

do we use the token in this request, dont seem to be using it, can you please guide me on this if i have to use the token for this request.

may be an exaple where it is being used.

also the end point of this shd be the jra based url or the global xray cloud end point

can you please let me know.

thanks,

Prasana.

Khang Bui_Candylio July 18, 2024

Hi @[deleted]

Yes you will need a special key for users and point at Xray Cloud endpoint (Document here).

You can also find a similar question here

Kind regards,
Khang

 

Deleted user July 18, 2024

cmdline.PNGpostmansnapsot2.pngHi @Khang Bui_Candylio

thank you. I could progress a bit more, after i added the token to the import execution api end point, and also started using the xray global cloud end point.

here is the snapshot.

can you please help.

it says it cannot find the test.

I have tried modifying the test type to automated or generic, they dont help. I am getting the same errror.

Many thanks,

Prasana.

 

Khang Bui_Candylio July 18, 2024

Hi @[deleted] ,

Have you checked everything?

  • Test issue keys
  • Check your permissions
  • JSON file format

If you have checked everything and the problem is still persist, Contact XRAY support: portal

Kind regards,

Deleted user July 18, 2024

Hi @Khang Bui_Candylio 

thank you for reply.

can you elaborate on what exactly you mean by checking on the 

1. Test issue keys-What needs to be done to check on this.

2. Permissions- what and how do I do this.

3. Json file format. -What exactly is to be done for this.

Thanks,

Prasana.

Deleted user July 18, 2024

Actually @Khang Bui_Candylio ,

Can I add one more thing just to detail about our setup.

we have a test environment where I have the Tests created, which is like this https://test environment.atlassian.net/browse/ODA-7972.

and I am trying to access it through the xray cloud global end point.https://xray.cloud.getxray.app/api/v2

Is that ok? will it work?

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events