1. Run the following curl command to send a test report (report.xml) to DTP:

    curl -k --user admin:admin -F file=@C:\Working\CAM\Calculator\Reports\report.xml https://localhost:8082/api/v2/dataCollector
  2. The file path is hard coded here for curl. In the console output, you should see that the report was successfully uploaded to DTP.

  3. Run the following curl command to send the coverage report (coverage.xml) to DTP.
     

    curl -k --user admin:admin -F file=@C:\Working\CAM\Calculator\Reports\coverage.xml https://localhost:8082/api/v2/dataCollector
  4. The file path is hard coded here for curl. In the console output, you should see that the report was successfully uploaded to DTP.




  • No labels