Jump to ratings and reviews
Rate this book

Testing Java Microservices: Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito

Rate this book
Summary

Testing Java Microservices teaches you to implement unit and integration tests for microservice systems running on the JVM. You'll work with a microservice environment built using Java EE, WildFly Swarm, and Docker. You'll learn how to increase your test coverage and productivity, and gain confidence that your system will work as you expect.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Microservice applications present special testing challenges. Even simple services need to handle unpredictable loads, and distributed message-based designs pose unique security and performance concerns. These challenges increase when you throw in asynchronous communication and containers.

About the Book

Testing Java Microservices teaches you to implement unit and integration tests for microservice systems running on the JVM. You'll work with a microservice environment built using Java EE, WildFly Swarm, and Docker. You'll advance from writing simple unit tests for individual services to more-advanced practices like chaos or integration tests. As you move towards a continuous-delivery pipeline, you'll also master live system testing using technologies like the Arquillian, Wiremock, and Mockito frameworks, along with techniques like contract testing and over-the-wire service virtualization. Master these microservice-specific practices and tools and you'll greatly increase your test coverage and productivity, and gain confidence that your system will work as you expect.

What's Inside


About the Reader

Written for Java developers familiar with Java EE, EE4J, Spring, or Spring Boot.

About the Authors

Alex Soto Bueno and Jason Porter are Arquillian team members. Andy Gumbrecht is an Apache TomEE developer and PMC. They all have extensive enterprise-testing experience.

Table of Contents

296 pages, Paperback

Published October 26, 2018

5 people are currently reading
108 people want to read

About the author

Alex Soto Bueno

8 books3 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (7%)
4 stars
15 (55%)
3 stars
7 (25%)
2 stars
3 (11%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Christoph Kappel.
466 reviews9 followers
March 23, 2022
A really good read and I've learned a lot. Especially the idea with Hoverfly can help me in my current project.

Normally, when you ask people about Arquillian, they usually tell you how bad it is and that they are happy not to have to use it anymore. And after this read I can really see the benefit of it. It provides a complete package for different ideas like Pact or deployment via Testcontainers.
Profile Image for Alexei Shmidman.
12 reviews
January 8, 2019
It is a really good book that covers main aspects of test automation of microservices. The book can be used for beginners in microservices area as well as a reference book for developers and architects who are hands-on with microservices
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.