Contract Testing And Messaging With Spring Cloud Contract

Posted By: ELK1nG

Contract Testing And Messaging With Spring Cloud Contract
Published 11/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 910.50 MB | Duration: 2h 5m

Learn how to use Spring Cloud Contracts to create reliable integration tests for message-based communications.

What you'll learn

Create integration tests using contract testing for message-based communication

Learn the basics of RabbitMq

Learn to programmatically implement RabbitMq with Java

Learn to program integration tests using TestContainers

Requirements

Have completed the previous course Contract Testing with Spring Cloud Contract

Mid level knowledge of java language

Spring boot (Core and Testing)

Unit testing (JUnit/Mockito)

Description

In our previous course, Contract Testing with Spring Cloud Contract, we delved into how Spring Cloud Contracts can be a powerful tool for creating reliable contract tests specifically for HTTP communications. By implementing these tests, you can provide confidence to your team during production releases and create solid integration tests that reduce dependencies on other teams. However, contract testing with Spring Cloud Contracts isn’t limited to just HTTP. This course focuses on extending the power of contract testing to message-based communication—a critical area for ensuring stability and reliability in distributed systems.We’ll take you through hands-on examples using two small applications that communicate through RabbitMQ, guiding you in setting up contract tests for these message-based integrations. If RabbitMQ is new to you, there’s no need to worry; we’ll start with a primer on RabbitMQ basics before diving into the contract testing specifics. After this course, you will be able to implement contract testing regardless of the message broker your project is using (Kafka, ActiveMQ, SQS, etc).To fully harness the value of this course, you should ideally have a foundation in Java, basic Spring Boot, and be familiar with unit testing concepts, particularly with tools like Mockito and JUnit. This background will help you maximize the course's insights and apply them effectively to your own projects.

Overview

Section 1: Introduction

Lecture 1 Introduction

Lecture 2 Introduction to Course’s Project

Lecture 3 Producer Side Code Presentation

Lecture 4 Consumer Side Code Presentation

Section 2: Section 2: RabbitMQ Basics

Lecture 5 RabbitMQ Basic Architecture

Lecture 6 RabbitMQ Implementation - Producer

Lecture 7 RabbitMQ Implementation - Consumer

Section 3: Section 3 - Spring Cloud Contract for Messaging

Lecture 8 Producer - Creating the contract

Lecture 9 Producer - PART I - Creating base class and other configs

Lecture 10 Producer - PART II - Creating base class and other configs

Lecture 11 Consumer - Integration Test Creation

Lecture 12 New Skill Unlocked

Java Devs who want to learn to do proper integration testing messaging-based communications,Students who want to learn basic RabbitMq