---
title: Testing statement processing
description: When testing PingOne Authorize policies, you can enable statement processing to test API request and response transformations without using an external testing service.
component: pingone
page_id: pingone:authorization_using_pingone_authorize:p1_az_testing_statement_processing
canonical_url: https://docs.pingidentity.com/pingone/authorization_using_pingone_authorize/p1_az_testing_statement_processing.html
revdate: December 2, 2025
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
  result: Result:
---

# Testing statement processing

When testing PingOne Authorize policies, you can enable statement processing to test API request and response transformations without using an external testing service.

## Before you begin

Make sure you have defined an [API service](p1az_add_api_service.html), as well as a custom policy with transformational statements protecting that service.

## About this task

|   |                                                                                                                                                                                             |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | PingOne Authorize only processes built-in statements defined in custom policies and rules for API services. For more information, see [Statement templates](p1az_statement_templates.html). |

## Steps

1. Go to **Authorization > Policies**.

2. Select the policy that you want to test, and then click the **Test** tab.

3. Define test parameters.

4. Select the **Process Statements** check box, and select **REQUEST** or **RESPONSE** depending on which stage of the API request flow you want to test.

5. In the **API Request** form, configure the testing scenario.

6. Click **Execute**.

   ### Result:

   The **Visualization** tab shows test results. The **Processing Result** tab displays the transformed API request or response body with statements applied, along with any specified URI and headers. This tab is only displayed if you enabled statement processing.

   ![Screen capture of the Processing Result tab in the test suite displaying the transformed API request payload](_images/etb1698876702708.png)

   This tab also displays full and partial statement processing failures, including the code of the failed statement and a description of the failure.
