Microservice Testing

API Contract Compliance 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
add dependencies and logic to create a simple test of one endpoint • create a test of one endpoint that obtains information from a database • reuse the API test to validate the performance of one endpoint • add multiple tests into one Jenkins pipeline
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

Travel World Agency (TWA) has enjoyed rapid growth, but its computing costs have risen along with its success. Before implementing potentially disruptive cost-reducing measures to their next-gen system running on Amazon Web Services (AWS), it needs to improve the quality of its microservices. As a senior developer, your task is to detect whether any change in the request/response of the endpoints might affect the rest of the microservices. You’ll use Pact to define the contract between multiple microservices using the HTTP method, the name of the endpoint, and the requests and responses. By the end, you’ll be able to detect problems that could result from a change to the name, HTTP method, or the attributes that contain the requests and responses of one endpoint.

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 determine whether a change in the request/response might affect other microservices. 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 detect possible problems in the platform as a result of a change to the name, HTTP method, or the attributes that contain the requests and responses of one endpoint.

  • Add dependencies and logic to create a simple test of one endpoint
  • Create a test of one endpoint that uses an external service
  • Create a test of one endpoint that obtains information from a database
  • Reuse the API test to validate the performance of one endpoint
  • Add multiple tests into one Jenkins pipeline

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
  • API Contract Compliance project for free