You have two microservices, A and B, running in production. Service A relies on APIs from service B. You want to test changes to service A without deploying all of its dependencies, which include service B. Which approach should you take to test service A?
Faster testing: You can test your service A without waiting for service B to be ready or available, which reduces the testing time and feedback loop.
Isolated testing: You can test your service A in isolation from service B, which eliminates the possibility of external factors affecting the test results or causing errors.
Controlled testing: You can test your service A with different scenarios and edge cases by creating mock responses that mimic various situations, such as success, failure, timeout, etc.
Holley
3 months agoMarta
1 months agoNieves
2 months agoGlendora
2 months agoChu
3 months agoTheron
3 months agoHannah
3 months agoWillis
3 months agoLinsey
2 months agoJaime
2 months agoTrina
2 months agoEmily
2 months agoMary
3 months agoTula
3 months agoLinn
2 months agoJerrod
3 months agoEvangelina
3 months ago