# Testing with Postman source: https://developer.mastercard.com/account-to-account-commerce-for-dsp/tutorial/postman-tutorial/index.md ### Overview {#overview} This testing guide provides instructions on how to test their request for a payment application to integrate with Mastercard. It provides instructions to run Postman test scripts and the expected outcome for each test case. The Self-Test pack provides Account to Account Commerce services ready to run and test at a participant site to ensure integration between the operator and participants through offline Self-Testing of their host application to support Mastercard® Account to Account Commerce. A participant user can test their host application to ensure: 1. Participants can achieve correct API formatting and compliance with the AtoAC specifications to ensure integration is correct. 2. Compliance with the operator's processing requirements. The simulator mimics the behaviour of a production system, which allows developers to validate their implementation prior to performing online testing. ### Pre-Requisites {#pre-requisites} Mastercard provides DSPs with JSON files that contain the scripts required to simulate responses a DSP receives from a CSP. Before you begin testing, you must upload the file corresponding to the environment you want to test in and configure the environment variables that will be used in the CSP's simulated responses. 1. DSP must download the Postman pack, which contains the test case JSON collection and pre-configured environment variables in [DSP Test Pack V6.1](https://static.developer.mastercard.com/content/account-to-account-commerce-for-dsp/uploads/DSP_TestPack_V6_1.zip). 2. DSP must have exchanged the MTLS client cert with KMS in the KMP Portal on MC Connect. 3. Review the test cases [A2A Commerce DSP Test Cases V6.1.](/uploads/A2ACommerce DSP Test Cases V6.1.xlsx). ### Definitions {#definitions} Defined terms used in this document (designated with initial capital letters) shall have the meaning given to them in the AtoAC Glossary unless the context specifically requires otherwise. For ease of reference and understanding, the table below maps the terms defined under the AtoAC Glossary and used in this document with their corresponding terms defined under the technical naming convention. | Technical naming convention | Definition | |---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Debtor Service Provider (DSP) | An institution operating consumer accounts for consumers and making AtoAC available to them to allow payments to be made from consumer accounts using AtoAC via consumer interfaces on mobile devices. | | Creditor Service Provider (CSP) | An institution that meets the applicable criteria in the documentation and has been certified by the operator to extend the AtoAC service to a merchant. The institution is legally accountable to the operator for all matters concerning the merchant with respect to taking part in AtoAC and Zapp. | | Creditor | Any provider of goods or services that is approved to accept AtoAC as a payment method by a distributor. | | Debtor | A person that has a contractual relationship with a CFI to access and use AtoAC. | | Agreement | The link made between the consumer's account and the merchant This is generally referred to as Link or Linking when the connection is being established. | | Payment with Agreement | A payment made using the agreement ID, which uniquely identifies the link made between the consumer account and the merchant based on the agreement the consumer has set up with the merchant. | ### Self-Test Environment Overview {#self-test-environment-overview} The test pack covers the following use cases: * Link Journey * Link Single device * Link Two device * Link Deletion CSP * Link Deletion DSP * Payment Category Purpose MTOM * Single Immediate Payment Single device * Single Immediate Payment Two device * Pay and Link Single Device * Pay and Link Two Device * Linked Payment with Step-up * Linked Payment without Step-up * Payment Category Purpose INVC * Single Immediate Payment Single device * Single Immediate Payment Two device * Pay and Link Single Device * Pay and Link Two Device * Linked Payment with Step-up * Linked Payment without Step-up