I just try to integrate our automation testing tool with TestRail. I`m using curl to read the api.
The problem is that I get the results in a XML file. I have to convert it into json.
After converting it looks like this:
curl --insecure -H “Content-Type: application/xml” -u “xx xxx” -d “@D:\worksoft\curl\TRgetCase.xml” “https://10.241.4.15/testrail-staging/index.php?/api/v2/add_result/1421”
Error message: “Invalid or incomplete JSON string in API request”
Maybe someone can help me.