See this PowerPack example for the utility function ImportJUnitReport and more detailed description:

https://github.com/Inflectra/rapise-powerpack/tree/master/XUnitXMLConverter