I am trying to upload the results from my test to Jira, but the request failed because test can not be found in Jira.
I read in the documentation that is possible to upload the test without providing the test key.
Here is that information (https://confluence.xpand-it.com/display/public/XRAY/Import+Execution+Results+-+REST#ImportExecutionResults-REST-HowresultsaremappedtoTestentities):
- If the Test key is provided and...
- it exists, then create a Test Run for that Test
- it doesn't exist, then don't create any Test Run (since for some reason the explicitly identified Test does not exist)
- if no Test key is provided...
- try to find a Test in the identified project with the same Generic Test Definition (e.g. with the same class name+class method for example)
- if it exists, then create a Test Run for that Test
- if it doesn't exist, then search for a Test with the same Generic Test Definition in all JIRA projects
- if it exists, then create a Test Run for that Test
- it doesn't exist, then create a Test in the identified project (based on the project's key or the project associated with the provided test execution key)
The information that I mentioned above is not present in the XRay Cloud Documentation, so my question is
Is it possible to upload test results without providing the Test key? How?
Thanks!