The testing problem I faced today is that I have a feature which go through thousands of customers, each of them with a credit card information, we need to batch the payment transaction at once. The key is to test the following:
1. It’s able to handle over 5000 transactions at once
2. If the third party gateway can handle the same load, if not, what’s the best scenario they can handle.
3 . Test random fail/success transaction with the large batch, make sure the failed transaction will not stop the full load
4. Build a baseline on performance
Now we know our test cases, but creating test data become very challenging. What we are given is that, our vendor doesn’t have a sandbox api for testing. Also they only provided a hand full of credit cards(test) for us to do functional tests.
Can someone provide me some possible solution that I can obtain 5000 unique credit cards? (Once you submit your ideas, I will provide my solution later in the comment section)