Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Run the following curl command to send a test report (report.xml) to DTP:

    Code Block
    languagepowershell
    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 (reportcoverage.xml) to DTP.
     

    Code Block
    languagepowershell
    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.

 

...