I am trying to import the test execution results from a testng-results.xml file using the API endpoint POST /rest/raven/1.0/import/execution/testng but i am getting a 415 error code. is the results xml required to be in a particular format for XRay to be able to read or do i need to add some capabilities within my testing framework that might allow Xray to read the report without any issues ?
Furthermore , how do i ensure that xray updates the test status to the correct test key within the execution ?
Any help to resolve this is welcome!