Skip to Content
Testing Java Microservices
book

Testing Java Microservices

by Andy Gumbrecht, Jason Porter, Alex Soto
August 2018
Intermediate to advanced content levelIntermediate to advanced
296 pages
10h 7m
English
Manning Publications

Overview

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.



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

  • Test automation
  • Integration testing microservice systems
  • Testing container-centric systems
  • Service virtualization


About the Reader

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



About the Author

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.



Quotes
A great and invaluable gallery of test solutions, descriptions, and examples.
- Gualtiero Testa, Factor-y

Covers the full spectrum of microservice-testing techniques. An indispensable book.
- Piotr Gliniewicz, netPR.pl

Thorough explanations. Concrete examples. Real-world technology.
- Ethan Rivett, Powerley

A beacon of light for Java developers.
- Yagiz Erkan, Motive Retail

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Enterprise Java Microservices

Enterprise Java Microservices

Kenneth Finnigan
Continuous Delivery in Java

Continuous Delivery in Java

Daniel Bryant, Abraham Marín-Pérez
Cloud Native Java

Cloud Native Java

Josh Long, Kenny Bastani

Publisher Resources

ISBN: 9781617292897Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link