Resources for Testing Microservices

Have any of you done testing of microservices? I’m wondering if you have any resources you have found useful for it.

Some resources already shared in Slack from others are:

and for testing contracts between microservices:

http://the-creative-tester.github.io/Java-Consumer-Driven-Contract-Testing/

Have you any others that you have found useful in your own search?

1 Like

Hi,

If you are using spring boot I recommend to give a try to spring cloud contract: https://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html.

It has a good support here: https://gitter.im/spring-cloud/spring-cloud-contract.

Also, I found really useful the book “Building Microservices” from Saw Newman, specially the testing chapter, but the whole book is interesting:

Hope it helps!

1 Like

Katrina Clockie gathered good resources about this:

1 Like

This is my favourite resource https://martinfowler.com/articles/microservice-testing/

3 Likes

My ex-colleague Daniel has a bloody excellent conference talk on building Microservices, though it’s not testing specific:

I actually wrote a case study reflecting on testing a microservices application for our company blog, but it got taken down as we wanted to maintain more client confidentiality. I may try to republish it and anonymise the particular client/system, as I feel there are some excellent lessons within it!

1 Like

Hi there.

Recently, I have involved into testing and automation of microservices a lot.
Here is the most useful resources I found. It also contains materials on contract testing as well.
I hope, it will help others to get into microservices deeply.

The list:
http://www.methodsandtools.com/archive/testmicroservices.php
https://smartbear.com/solutions/microservices/
https://www.infosys.com/it-services/validation-solutions/white-papers/documents/microservices-testing-strategies.pdf
https://www.capgemini.com/2017/04/testing-in-devops-lifecycle-using-microservices-architecture/
https://testdetective.com/microservices-testing/
https://www.xenonstack.com/blog/testing-strategies-in-microservices-architecture
https://blog.novatec-gmbh.de/introduction-microservices-testing-consumer-driven-contract-testing-pact/
https://www.mabl.com/understanding-contract-testing-microservices-mabl/
https://www.karllhughes.com/posts/testing-layers
http://www.lor.beer/a-guide-to-testing-microservices/
https://capgemini.github.io/architecture/microservices-gotchas/
https://piotrminkowski.wordpress.com/2017/04/26/testing-java-microservices/
https://martinfowler.com/bliki/IntegrationContractTest.html
https://martinfowler.com/articles/consumerDrivenContracts.html
https://blog.codecentric.de/en/2017/02/integration-testing-strategies-spring-boot-microservices/

4 Likes

Recent blog post from Spotify about testing microservices which may be useful

1 Like

A talk about testing microservices from testers point of view: https://www.youtube.com/watch?v=cJoXDp3i8Tc

Key takeaways:

  • A case study from a media company where QAs tested microservices running on Docker and Kubernetes
  • Microservices testing risks
  • How QA teams can provide value in a microservices world
  • Typical QA team responsibilities with microservices
1 Like