Introduction to WireMock

Dive into WireMock, a simulator for HTTP-based APIs. WireMock helps make testing easier by replacing your application's HTTP dependencies with a simulation that you can control.
Course info
Level
Intermediate
Updated
Mar 4, 2019
Duration
3h 36m
Table of contents
Course Overview
Why WireMock?
Stubbing
Verification
Running WireMock Standalone
Recording and Proxying
Fault Simulation
HTTPS with WireMock
Templating and Stateful Behavior
Running WireMock in the Cloud with MockLab
Description
Course info
Level
Intermediate
Updated
Mar 4, 2019
Duration
3h 36m
Description

When your application depends on an external API, testing that it functions as expected can be challenging. In this course, Introduction to WireMock, you will gain the ability to easily simulate the APIs that your application under test depends on. First, you will learn how to stub and verify interactions with an API using WireMock. Next, you will discover how to run it standalone, both for recording and simulating APIs. Finally, you will explore more advanced concepts such as simulating fails, HTTPS, templating, and state. When you’re finished with this course, you will have the skills needed to use WireMock to simulate the HTTPs APIs that your application depends on.

About the author
About the author

Andrew is an independent consultant with cross-functional expertise in the design, development, and deployment of enterprise level software systems. Working with various clients, Andrew has been exposed to many different technology stacks, most recently specializing in Java Microservices and continuous delivery.

More from the author
Introduction to Spring Cloud Contract
Beginner
3h 5m
May 14, 2018
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name's is Andrew Morgan, and welcome to the course, Introduction to WireMock. I'm an independent consultant specializing in microservices and continuous delivery. The amount of HTTP APIs out there is huge, and many of us will have run into them during our time as software developers. When working with them, there are lots of new and interesting challenges in reliably testing our application functions together with them as expected. This course gives an introduction to WireMock, a simulator for HTTP- based APIs used primarily for testing. Some of the major topics that we'll cover include stubbing and verification with HTTP APIs, running WireMock standalone and causing a replay in network traffic, advanced concepts such as simulating faults, HTTPS, templating, and state, and running WireMock in the cloud using MockLab. By the end of this course, you'll be proficient in WireMock, giving you the foundational knowledge to simulate the APIs your application under test depends on. Before beginning this course, it would be useful to have some knowledge of Java, though as WireMock can be run standalone, many of the concepts taught are language agnostic. I hope you'll join me on this journey to learn WireMock with the Introduction to WireMock course at Pluralsight.