Microservice Testing

Chaos Engineering you own this product

This project is part of the liveProject series Microservice Testing
prerequisites
basic Java • basic Spring and Spring Boot • basic Docker and Docker Compose commands • REST principles • basic microservices • basic Maven • basic Jenkins
skills learned
create random problems manually that stop the execution of some components • create problems using tools like Chaos Monkey that have a set of different situations you can introduce • create automatic problems to interact with Chaos Monkey using ChaosIQ
Andres Sacco
1 week · 4-6 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

You’re a senior developer at Travel World Agency (TWA). Management is surprised at the amount computing costs have increased, but before introducing potentially disruptive cost-reducing measures they need to determine how to improve the quality of the microservices. Your task is to simulate random problems, using Spring Boot’s Chaos Monkey library, to determine whether any scenarios exist that aren’t addressed by the code. To test your conclusions, you’ll use the Chaos Toolkit to generate concrete problems. When you’re done, you’ll have the skills to spotlight issues that aren’t always revealed through unit testing.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Andres Sacco

Andres Sacco is a technical leader at Prisma. He has experience with many programming languages including Java, PHP, and Node.js. At his previous job, Andres helped find alternative ways to optimize data transfers between microservices, which reduced the cost of infrastructure by fifty-five percent. A co-author of Beginning Scala 3, published by Apress, Andres has also dictated internal courses about new technologies and shared his expertise in articles on Medium.

prerequisites

This liveProject is for Java developers who are interested in learning to implement tests by creating random problems in a microservices ecosystem that uses Spring Boot. To begin this liveProject, you should be familiar with the following:

TOOLS
  • Any Java IDE: Eclipse, IntelliJ IDEA, Visual Studio Code
  • Basic Maven
  • Basic Spring and Spring Boot
  • Basic Docker and Docker Compose
  • Basic Jenkins
TECHNIQUES
  • Basic Java
  • Basic Spring Boot
  • Basic Docker and Docker Compose commands
  • REST principles
  • Basic knowledge of microservices

you will learn

In this liveProject, you’ll learn to introduce random problems into your platforms that can spotlight issues that aren’t always revealed through unit testing.

  • Create random problems manually that stop the execution of some components
  • Create problems using tools like Chaos Monkey that have a set of different situations you can introduce
  • Create automatic problems to interact with Chaos Monkey using ChaosIQ

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Chaos Engineering project for free