How to add Test results (junit xml result) via REST API?

I have the AUtomatest test running on the Azure pipeline. I want to import results to Testiny app as mentioned here in this link(https://www.testiny.io/docs/automation/importing-results/) via REST API .

Is this possible?

Hi,

While using the REST API directly is possible, it’s way easier to use the Testiny CLI to import test results. It automatically parses the result files, creates test cases and sets the results via the API.

In Azure pipelines, just create a new “Command line” task and then call the Testiny CLI as described in the documentation.

The Testiny CLI needs to be available in your repository or downloaded in the command line task (the latter is preferred, so you always have the latest version). You can either download the executables directly or use our NPM package - see all links and further info here:
https://www.testiny.io/docs/automation/getting-started/

Best Regards,
Alex