Check if you are enabled for PagoPA UAT environment
PagoPA provides a package of tools to test the environment integration and to run functional tests.
This paragraph describes how to test if you are able to call PagoPA APIs.
After the set up of the environments and after the Batch Service installation you will be required to run functional test using resources from the same package.
Get cstar-cli tool
Make sure to have the latest version downloaded.
download zip
decompress it
move to CSTAR-CLI directory
Step 1. Mutual Authentication certificate validity check UAT
The first step checks the validity of the client certificate, with a call to a dedicated endpoint using your certificate and your private key.
From the cstar-cli project root run the script with the following command:
Note that you have to specify the path to your certificate and to the private key as arguments.
The script will print the result, the correct value is 200 .
Example of expected result:
Step 2. API Key validity check UAT
The second step checks the validity of the API Key, with a call to a dedicated endpoint using your certificate, your private key and the UAT API Key.
From the cstar-cli project root run the script with the following command:
Note that you have to specify the path to your certificate, the path to the private key and the API key as arguments.
The script will print the result, the correct value is 200 .
Example of expected result:
Last updated