HP
Integration Test for 3rd party API
Guys, I would like to ask opinions regarding integration test related to 3rd party API.
My Opinion for Integration Test
- Do actual API request to the 3rd party API so that we can get the actual value and verify the application work flow in general. ( We don't pay per request)
Reason : The purpose of integration is to check the current application can communicate with other applications without any issues.
If Anything has been changed from the 3rd party, we can verify just by running the test all. No require to figure out where it came from.
Team member Opinion
- Mock the http client and response so that we can isolate the response from the outside. Also, we already have manual testing from the QA side so if anything is changed, we can notice the issue from that side.
May I ask any opinions regarding this?
8 replies