# Integration and Testing source: https://developer.mastercard.com/business-payment-controls/documentation/integration-and-testing/index.md ## Ready to begin Testing? {#ready-to-begin-testing} Once you have created a project on Mastercard Developers, generated sandbox credentials and received approvals, you can start testing. Note: For simplicity, we will refer to Business Payment Controls for SME as Business Payment Controls throughout the flows that follow. ## Business Payment Controls Test Cases Tutorial {#business-payment-controls-test-cases-tutorial} Testing will cover the following use cases: * Managing [real cards](https://developer.mastercard.com/business-payment-controls/documentation/use-cases/01-real-cards/index.md) with controls * Managing [virtual cards](https://developer.mastercard.com/business-payment-controls/documentation/use-cases/02-virtual-cards/index.md) with controls * Transaction [Reports](https://developer.mastercard.com/business-payment-controls/documentation/use-cases/03-reports/index.md) ## Testing in sandbox {#testing-in-sandbox} This guide walks you through test cases to test your application with the Business Payment Controls APIs. Review them here: * [Manage real card with controls test cases](https://developer.mastercard.com/business-payment-controls/documentation/testing/manage-real-cards-with-controls/index.md) * [Manage virtual card with controls test cases](https://developer.mastercard.com/business-payment-controls/documentation/testing/manage-virtual-cards-with-controls/index.md) * [Manage transaction reports test cases](https://developer.mastercard.com/business-payment-controls/documentation/testing/transaction-reports/index.md) * [Manage custom data fields test cases](https://developer.mastercard.com/business-payment-controls/documentation/testing/custom-data-fields/index.md) ### Base URLs for Testing {#base-urls-for-testing} * Sandbox * Production ```xml https://sandbox.apiedge.mastercard.com/commercial ``` ```xml https://apiedge.mastercard.com/commercial ``` ## Methods of testing Sandbox/Production: {#methods-of-testing-sandboxproduction-br} ### 1. Reference Application {#1-reference-application} > * Our Spring Boot Reference Application acts as an API client and allows you to integrate different operations. > * For detailed steps, follow our [Reference Application](https://developer.mastercard.com/business-payment-controls/documentation/reference-app/index.md). ### 2. Postman {#2-postman} > * [Postman Collections](https://www.postman.com/collection/) is an API client that allows developers to test your API's calls in sandbox and production environments without writing any code. This makes sharing pre-formed API requests with partners extremely easy, and permits partners to run individual API requests or those within a folder or the entire collection. > * For detailed steps, follow our [Postman Collections](https://developer.mastercard.com/business-payment-controls/documentation/postman-collection/index.md) Page. ### 3. Insomnia {#3-insomnia} > * [Insomnia](https://insomnia.rest/) is an open-source API client that developers use to quickly and easily send REST requests to Mastercard APIs. API Consultancy \& Standards developed an [Insomnia Plugin](https://github.com/Mastercard/insomnia-plugin-mastercard) for handling API authentication. > * Follow our [Insomnia Tutorial](https://developer.mastercard.com/platform/tutorial/use-insomnia-rest-client-for-mastercard-apis/) to learn how to test the Business Payment Controls OAuth API using Insomnia. ## Next Steps {#next-steps} * You can head to our [Reference Application](https://developer.mastercard.com/business-payment-controls/documentation/reference-app/index.md) page to download our Spring Boot Application that shows a typical usage of the Business Payment Controls API. * To learn more about any error codes you receive, head over to our [Codes and Formats](https://developer.mastercard.com/business-payment-controls/documentation/codes-and-formats/index.md) section to learn about the details of all the error codes.