Table of Contents

Monitor application quality in real time by using the REST API to fetch quality metrics (8.2)

You can use the REST API to fetch quality metrics for the Pega unit tests of your applications, such as test compliance and execution results. You can use the metrics that are returned by the service for gating purposes in a release pipeline, for example, to stop the release of the application until the metrics are satisfactory. You can also receive daily reports about the quality level of your Pega unit tests by configuring an external tool such as Jenkins.

The metrics that are fetched are also available on the Reports tab of the Application: Unit testing landing page, as shown in the following figure:

Application: Unit testing landing page

Data that is returned by the service is in JSON format, which can be adapted for a report or a dashboard on an external webpage.

JSON output returned by the REST service

For more information, see Pega API for Pega Platform.

Did you find this content helpful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.