I'm trying to prepare test cases for card validation API. When I use this request:
It returns with status code 200 but according to test data table it should return error with "Invalid Zip Code and CVV2 values" message.
Which one is wrong?
Thanks for the question! When you look at the Scenario Based Test Data for Invalid Zip Code and CVV2 values, do you see the expected response from what you requested? For example, you have inputted in the Scenario Based Test Data for Invalid Zip Code and CVV2 values request data, and then the Scenario Based Test Data response output is what you expect to see from that Invalid Zip Code and CVV2 values row. If this is what you see, then sandbox is functioning as expected and you've inputted the correct test data.
The json I wrote is already 5th row of Scenario Based Test Data it should return "Invalid Zip Code and CVV2" but it ends with success.