0

I'd like to create and ask about best framework for backend end-to-end tests. This is microservice architecture software and the services communicates via REST API and Apache Kafka. What would be best frameworks/libraries for such technologies? The most important is reliability and interoperability of the system.

7
  • 2
    "the best" is not an objective measurement here, otherwise there would be only one in the market. What is your context? What quality attributes are important for your context? Mar 16 at 10:01
  • Good point @JoãoFarias. The most important is relability and interoperability
    – Beti
    Mar 16 at 10:34
  • Have you tried postman ?
    – PDHide
    Mar 16 at 11:53
  • @PDHide - yes, but I want to do the automation framework, and there is also Apache Kafka so I think it doesn't support it
    – Beti
    Mar 16 at 12:46
  • Do not know much about Kafka. Can you show us how you perform manual testing for some GET (or similar) request. But for the rest you can use restasshured, and Postman as some previous comments are displayed. See also dzone.com/articles/… ,maybe you will catch something there.
    – Gaj Julije
    Mar 17 at 19:42
1

Start by deciding on the "what" and later solve the "how".

Your overall testing should follow the test pyramid with slight modifications due to the complexity of such a system. Some of the best reading material about it is Martin Fowler, Testing Strategies in a Microservice Architecture and Cindy Sridharan, Testing Microservices, the sane way.

Another good source is from PACT, Introduction to Microservices Testing and Consumer Driven Contract Testing with PACT.

To summarize the sources, they basically say that the focus in the test pyramid should move slightly up. For example you should still invest in good old unit tests but also remember that in a Micro Services environment they are even less beneficial in finding system problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.