When i am trying to import the TEST NG test results through API getting the below error
The file extension doesnt belong to that endpoint.
Response r = given().auth().preemptive().basic(username, pwd).when()
.contentType("multipart/form-data")
.multiPart(new File("result.xml"))
.post("https://myserver/rest/raven/1.0/import/execution/testng?testExecKey=Key");
what did i miss here?
Hi @Aravind
Please follow the Curl command that is indicated in this link: https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results+-+REST#ImportExecutionResultsREST-TestNGXMLresults.
If you are still not able to import the file we will need additional information to deep analyze the case, so please contact us through our Service Desk.
Best Regards,
Team Xray
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.