One should have unit and integration tests where all the functionality of a microservice can be tested. One should also have component based testing.
One should have contract tests to assert that the expectations by the client is not breaking. End-to-end test for the microservices, however, should only test the critical flows as these can be time-consuming. The tests can be from two sides, consumer-driven contract test and consumer-side contract test.
You can also leverage Command Query Responsibility Segregation to query multiple databases and get a combined view of persisted data.
Posted Date:- 2021-11-27 08:20:57
What is elastic blockage storage in Lambda?
What are the best practices for security in Lambda?
Do you think there is a relation between Instance and AMI?
Name the type of Storage provided by Amazon?
What do you know about Auto-Scaling?
What do you know about Zero downtime deployment?
What is the time limit for execution in Lambda when you perform DDOS?
How to achieve zero-downtime deployment(blue/green) when there is a database change?
What makes Lambda a time-saving approach?
Is there any disadvantage of using this approach too? What do you think?
Is it possible to debug and troubleshoot the micro or small services?
What are the advantages of using the Serverless approach?
Tell us about the frameworks which are available for serverless?
What should be preferred communication style in microservices: synchronous or asynchronous?
Why Microservices are better than Monoliths?
Explain how can you scale a microservice based system?
What is client side and server side service discovery?
Mention which markup language can be used in restful web api?
List out the tools or API for developing or testing web api?
How would you test microservice based architecture?
When should one consider microservice kind of architecture?
What are microservices and why would someone want to look at implementing it.
Mention what is JAX-WS and JAX-RS?
What kind of testing environment is needed for API?
What tests can be performed on APIs?
What factors help inform your decision on which style of Web services—SOAP or REST—to use?
Mention what are resources in a REST architecture?
Mention whether you can use GET request instead of PUT to create a resource?
What is the difference between API and Web services?
What kinds of bugs does API testing find most commonly?
What are the primary challenges of API testing?
What is the procedure for performing API testing?
What are the advantages of API Testing?
What are some styles for creating a Web API?
How can we call an API Gateway API?
How can we use API Gateway to create HTTP APIs?
What API types are supported by Amazon API Gateway?
What are the Features of API Gateway?
What are the processes involved in working with AWS lambda and API Gateway?