# Testing
source: https://developer.mastercard.com/consent-management/documentation/testing/index.md

## Test Data {#test-data}

To test different scenarios in sandbox using consent UI or APIs, please use below test card details:

|                            Scenario                             |                                 Card Detail                                  |                                                Description                                                 |  Auth Result  |
|-----------------------------------------------------------------|------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|---------------|
| Successful Pre Auth Check and 3DS Authentication with challenge | PAN: 2303779951000297 OTP: 123456 Expiry: 12/27 CVC:123 CardholderName: John | Card passes the Pre Auth Check and supports successful 3DS authentication with challenge.                  | AUTHENTICATED |
| Successful Pre Auth Check and frictionless 3DS Authentication   | PAN: 5204730541009999 Expiry: 12/27 CVC:123 CardholderName: frictionless     | Card passes the Pre Auth Check and supports successful 3DS authentication without challenge(frictionless). | AUTHENTICATED |
| Successful Pre Auth Check and 3DS not supported                 | PAN: 5555555555554444 Expiry: 12/27 CVC:123 CardholderName: John             | Card passes the Pre Auth Check but doesn't support 3DS authentication.                                     | AUTHENTICATED |
| Pre Auth Check failure (Stolen card)                            | PAN: 5555424242424242 Expiry: 12/27 CVC:123 CardholderName: John             | Card fails Pre Auth Check with stolen card error code.                                                     | AUTH_FAILED   |
| Successful Pre Auth Check but 3DS authentication failure        | PAN: 2303779951000248 Expiry: 12/27 CVC:123 CardholderName: John             | Card passes the Pre Auth Check check but fails the 3DS authentication.                                     | AUTH_FAILED   |

