Run the following curl command to send a test report (report.xml) to DTP:
curl -k --user admin:admin -F [email protected]:\Working\CAM\Calculator\Reports\report.xml https://localhost:8082/api/v2/dataCollector
The file path is hard coded here for curl. In the console output, you should see that the report was successfully uploaded to DTP.
Run the following curl command to send the coverage report (coverage.xml) to DTP.
curl -k --user admin:admin -F [email protected]:\Working\CAM\Calculator\Reports\coverage.xml https://localhost:8082/api/v2/dataCollector