I'm currently getting an error, specifically a Java Runtime Error, "An exception occurred while handling a v2 REST API request: java.lang.RuntimeException", when trying to perform an import multipart operation using the XRay JSON multipart format/endpoint.
(This is to create NEW test items as well, by the way, not already existing ones. We currently can't use JUnit as we have a custom system using test ordering with JUnit, so we have multiple "tests" within each test class, and we need Jira/Xray Test items created for each test class, not test method)
We are on Xray v5.1.4, and have a custom field on our test items. Here is the JSON formatting for both files:
INFO JSON FILE (testexec_info.json):
When sending this in postman, I receive the runtime exception error. I'm trying to get more information on if this formatting may be wrong, or honestly any answers at all as to why this API call isn't working. I've followed the documentation as best I can AFAIK, and believe I have it formatted correctly, but for some reason it's still failing. I was getting the Null Pointer Error, but that seems to have been changed, and now when I change the test from Generic to Automated, I get this response:
Again, our XRay version is 5.1.4.
Also, I've attempted to use the non-multipart endpoint, however I get a response stating that the value for the custom field that I'm providing is required, so I'm unsure of where the failure is for the XRay plugin to pickup on the data I'm sending and why it's ignoring the custom field value. Here's the link to my original post, still unanswered as well:
It would be necessary to have more information about how the request is being made and the error messages returned.
It is best to contact Xray Support (http://Xraysupport.getXray.app) to share your configuration so that the support team can investigate further.
Thank you.
Kind regards,
Rogerio Paiva [Xray Support Team]
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.