Hello Team,
I am trying to create test execution and then to that test execution i am associating test via xray post api. this script is working fine from script console. but when i am trying to add this as post script function on my transition. Then the Test Execution issue is created but i am unable to associate it to Tests. it gives me 404 error. but if i try to associate test to it within seconds it runs succesfully.
Folllowed Xray Rest Api Post fucntions
Thanks
Hi @DR
The error "404 Not Found" is typically generated when the URL provided reaches a broken or dead link. The post function runs on the server-side, so I would suggest the first test the URL on a command line on the server where Jira is running. If you are running Linux, you can use the command wget.
Another option could be that if in the script the URL is built (concatenating string values), it might not be building the URL correctly when running in the post function due to some code issue, and so the URL executed it not the correct one (but a broken one).
I hope this helps.
Kind regards,
Rogério Paiva [Xray Support Team]
Thanks for your help. Yes you are right the issue were not identified by the rest. So, I split the test exec creation and association in two different transition and it worked.
Regards,
DR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UFT to Xray JIRA integration solution:
https://q-automations.com/2020/04/03/uft-integration-with-xray-jira/
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.