You can upload XML report files generated by Parasoft code analysis tools directly to DTP.

  1. Choose Report Center Settings from settings (gear icon) menu and choose Data Collector Upload Form from the Additional Settings menu.
  2. Enter your credentials (administrator access is required) and click Upload.
  3. Click Choose File when prompted and browse for the report you want to upload.
  4. Click Confirm to finish uploading.

You can also manually upload a report to Data Collector via the REST API. Sample curl command:

curl -u <USER>:<PASSWORD> -F [email protected] https://<HOST>:<DATA_COLLECTOR_PORT>/api/v2/dataCollector

Note: the default port for Data Collector is 8082.

You can add the Data Collector Diagnostics widget to your dashboard to verify that the report was uploaded to the database. Check your report configuration settings if the widget returns a status error. 

  • No labels