Hello,
I am trying to call API for robotframework in order to import Xray.
But when I call and send my request, I am getting error as "Your browser sent a request that this server could not understand."
I tried to call API both with Postman and curl (in addition Postman sometimes give 500 Internal server error)
POST Method and using form-data ( upload output.xml) (You can see screenshot)
URL : https://xxxxxx/jira/rest/raven/1.0/import/execution/robot?projectKey=TEST&testExecKey=TEST-394
and The curl;
curl -D- -u user:psw -X POST "https://xxxxx/jira/rest/raven/1.0/import/execution/robot?projectKey=TEST&testExecKey=TEST-208" -H "Content-Type:multipart/form-data" -F "file=@output.xml"
Do you have an idea? Did I do some wrong thing?
I solved the issue. The problem is related the test which I have already created on Xray. Since it is a test created before, when I call the endpoint with the same output.xml again, it does not create it. You can close ticket. Thank you for your support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The URL is wrong, it does not "jira" on it.
Wrong URL: https://xxxxx/jira/rest/raven/1.0/import/execution/robot
Right URL: https://xxxxx/rest/raven/1.0/import/execution/robot
Any additional questions, please get in touch with Xray Support (http://xraysupport.getxray.app); we would gladly assist you.
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply, but also I tried this url on POSTMAN. In that case, I am getting another error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem could be related to the Test already created on Xray.
However, it will depend on the permission and configuration that you have, so in these specific cases, it is best to contact the Xray Support (http://xraysupport.getxray.app).
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.