Page tree

Skip to end of metadata
Go to start of metadata

This tutorial shows you how to set dynamic analysis metadata from unit or functional test test cases. The process is very similar to the one described in the How to Update Static Analysis Violations tutorial. The primary difference is that this example uses different DTP REST APIs. The following APIs are used in this example:

  • GET /v1.2/dynamicAnalysisTestCases
  • POST /v1.4/dynamicAnalysisTestCases/metadata

In this tutorial:


  • DTP and Extension Designer must be configured correctly. See Server Settings.
  • DTP should have collected dynamic analysis data from a Parasoft code analysis and test execution tool (i.e., C/C++test, dotTEST, or Jtest). 

Setting Up the Examples

  1. Get the build ID for a dynamic analysis execution (Tests) from the Build Administration page in DTP. This page is accessible from the Build Administration - Statistics widget. See Using Build Administration for additional information. Make sure that the build contains tests and has test data details associated with it. 
  2. Click on a an existing service or create a new service in Extension Designer (see Working with Services).
  3. Create a new flow (see Working with Flows) and choose Import> Library> Examples> Dynamic Analysis Prioritization from the Extension Designer menu.
  4. Click Deploy and double click the set flow.buildID node.
  5. Enter the build ID value in the to field and click Done.
  6. Deploy the updated flow to finish preparing the example.

If you need additional help understanding how a node works, you can click on the node to view its documentation in the Info tab. 


All examples are nearly identical to the examples in the How to Update Static Analysis Violations tutorial. Follow that tutorial replacing the static analysis DTP REST API with the dynamic analysis API. See the API documentation for /dynamicAnalysisTestCases/metadata for options.

  • No labels