External Resources
Community Resources
Section titled “Community Resources”Code, articles and videos related to WireMock from around the web.
Configuration / Clients
Section titled “Configuration / Clients”Automate configuration of stubs from JAX-RS annotated resources
Section titled “Automate configuration of stubs from JAX-RS annotated resources”Wiremock with JAX-RS support. Enables creation of stubs from JAX-RS annotated resources
https://github.com/tomasbjerre/wiremock-jaxrs
Monitor JVM metrics and WireMock response times
Section titled “Monitor JVM metrics and WireMock response times”Wiremock extension that expose jvm and wiremock requests metrics in prometheus format.
https://github.com/rasklaad/wiremock-metrics
PHP client for WireMock
Section titled “PHP client for WireMock”Stub and mock web services with the power of WireMock from PHP.
https://github.com/rowanhill/wiremock-php
NodeJS client for WireMock
Section titled “NodeJS client for WireMock”This is Wiremock Standalone wrapped inside an NPM package. It relies only on dependencies found in NPM.
https://www.npmjs.com/package/wiremock
NodeJS + TypeScript client WireMock
Section titled “NodeJS + TypeScript client WireMock”WireMock Captain provides an easy interface for testing HTTP-based APIs.
https://www.npmjs.com/package/wiremock-captain
Espresso test using WireMock as the backend for Android apps
Section titled “Espresso test using WireMock as the backend for Android apps”Running WireMock on Android
https://handstandsam.com/2016/01/30/running-wiremock-on-android/
Make the creation of WireMock stubs for Spring REST controllers safe and effortless
Section titled “Make the creation of WireMock stubs for Spring REST controllers safe and effortless”Adds a @GenerateWireMockStub annotation for Spring REST controllers makes the creation of WireMock stubs for tests safe and effortless.
https://dzone.com/articles/wiremock-the-ridiculously-easy-way
Integrations
Section titled “Integrations”WireMocha is a WireMock plugin for IntelliJ
Section titled “WireMocha is a WireMock plugin for IntelliJ”WireMocha is an IntelliJ-based plugin that provides framework integration for the WireMock library. It offers various tools to generate and validate WireMock related test code, and to provide additional contextual information
https://plugins.jetbrains.com/plugin/18860-wiremocha
Spring Contract Verifier (previously called Accurest)
Section titled “Spring Contract Verifier (previously called Accurest)”Spring Contract Verifier (previously called Accurest) is a consumer driven contracts tool that generates WireMock stub mappings as examples for client testing
https://spring.io/projects/spring-cloud-contract
Spring REST Docs WireMock Integration
Section titled “Spring REST Docs WireMock Integration”A Spring REST Docs integration for WireMock that generates WireMock stub mappings from your test cases.
https://github.com/epages-de/restdocs-wiremock
WireMock Micronaut
Section titled “WireMock Micronaut”WireMock Micronaut drastically simplifies testing HTTP clients in Micronaut & jUnit 5 based integration tests.
https://github.com/Nahuel92/wiremock-micronaut
A WireMock plugin for Maven
Section titled “A WireMock plugin for Maven”Run WireMock as part of Maven lifecycle.
https://github.com/automatictester/wiremock-maven-plugin
Zero-config, fully declarative Spring Boot integration with WireMock
Section titled “Zero-config, fully declarative Spring Boot integration with WireMock”WireMock Spring Boot drastically simplifies testing HTTP clients in Spring Boot & Junit 5 based integration tests.
https://github.com/wiremock/wiremock-spring-boot
JSON Web Token Request Matching
Section titled “JSON Web Token Request Matching”An extension for matching requests based on the contents of JSON web tokens
https://github.com/MasonM/wiremock-jwt-extension
Create a mock server with WireMock and Postman - Practical implementation
Section titled “Create a mock server with WireMock and Postman - Practical implementation”In this video you will see how to configure Wiremock server in Postman.
https://www.youtube.com/watch?v=Zd4_tUSOHfw&pp=ygUId2lyZW1vY2s%3D
Create a mock server with WireMock and Postman - Configuration theory
Section titled “Create a mock server with WireMock and Postman - Configuration theory”This video discusses Wiremock and its configuration theory while creating mock server in postman.
https://www.youtube.com/watch?v=gVVTO4U8M_k&pp=ygUId2lyZW1vY2s%3D
Transparent http client testing with http4K and WireMock
Section titled “Transparent http client testing with http4K and WireMock”Hear WireMock engineer, Robert Elliot as he gives a talk on transparent http client testing with http4K and WireMock
https://www.youtube.com/watch?v=fpXf1K_E_bY&pp=ygUId2lyZW1vY2s%3D
Tutorial
Section titled “Tutorial”Docker Guide - Mocking API services in development and testing with WireMock
Section titled “Docker Guide - Mocking API services in development and testing with WireMock”During local development and testing, it’s quite common to encounter situations where your app is dependent on the remote APIs. Network issues, rate limits, or even downtime of the API provider can halt your progress. This can significantly hinder your productivity and make testing more challenging. This is where WireMock comes into play.
https://docs.docker.com/guides/wiremock/
WireMock, Cucumber, and Spring Boot
Section titled “WireMock, Cucumber, and Spring Boot”How you can use WireMock, Cucumber, and Spring Boot to develop APIs using Test Driven Development, Behavior Driven Development, and Consumer Contract Driven Development principles and practices
https://arc-e-tect.medium.com/wiremock-cucumber-and-springboot-ae3e107bd3d7
A workshop introduction to service virtualization with WireMock
Section titled “A workshop introduction to service virtualization with WireMock”Open source workshop teaching you the basics of WireMock
https://github.com/basdijkstra/wiremock-workshop
Service Virtualization with Wiremock
Section titled “Service Virtualization with Wiremock”You will learn how to extend the testing coverage and have confidence in delivering the best software by introducing a new testing approach.
https://eliasnogueira.com/service-virtualization-with-wiremock/
A step-by-step guide to running your acceptance tests in Kubernetes using WireMock
Section titled “A step-by-step guide to running your acceptance tests in Kubernetes using WireMock”A video showing how to mock external systems in acceptance tests using WireMock and Kubernetes.
https://blog.sebastian-daschner.com/entries/acceptance_tests_wiremock_kubernetes
Testing microservices with WireMock at Norway’s top online marketplace
Section titled “Testing microservices with WireMock at Norway’s top online marketplace”Norway’s number one online marketplace, used to be a monolith but has migrated to Microservices during the last 4 years. The daily life of developers has become a lot better with Microservices, instead of everyone working on the same monolith. However, a problem arises when testing services thoroughly, as each service is dependent on other Microservices. This has been a big challenge, and has led to a lot of manual testing. However, lately we have started using a tool called WireMock which helps us stubbing out other Microservices. We will explain how this tool has helped us. Hopefully, the talk will help other developers with similar problems to get better testing when using Microservices.
https://www.youtube.com/watch?v=cmJfMnGK-r0
AWS:Reinvent talk from Intuit on isolating services for testing with WireMock
Section titled “AWS:Reinvent talk from Intuit on isolating services for testing with WireMock”One of the challenges of implementing CI/CD with service-oriented architectures (SOA) is reliable execution of test automation. Because every service evolves on its own schedule, having a single integrated test environment is virtually impossible. One way to handle this complexity is dependency mocking. We use the Wiremock tool, which allows users to stub for service dependencies and do resiliency testing that was hard to automate before.
https://www.youtube.com/watch?list=PLhr1KZpdzuke5pqzTvI2ZxwP8-NwLACuU&v=sUsh3EnzKKk
Using WireMock for HTTP stubbing and mocking
Section titled “Using WireMock for HTTP stubbing and mocking”WireMock is a powerful tool for testing and simulating HTTP interactions in your application. By following this guide, you can effectively integrate WireMock into your development and testing workflows, ensuring robust and reliable tests for your HTTP-dependent components.
https://medium.com/@2023sl93093/using-wiremock-for-http-stubbing-and-mocking-a-guide-0446dcf37b07
Request filtering (interception) and modification with WireMock
Section titled “Request filtering (interception) and modification with WireMock”Wiremock is a powerful tool and it is used for mocking APIs. It has a ton of features and configurations. This tutorial is about one of those features called request filtering. By using this feature we can easily intercept any request and modify it.
Mastering API Performance Testing with k6, Grafana and WireMock
Section titled “Mastering API Performance Testing with k6, Grafana and WireMock”A Comprehensive Guide to Load Testing APIs with k6, Grafana, and WireMock.
Standalone stub server using Spring Cloud Contract and WireMock
Section titled “Standalone stub server using Spring Cloud Contract and WireMock”This article explains how to build a standalone stub server for stubbing REST APIs using Spring Cloud Contract WireMock.
Mock servers in the era of microservices
Section titled “Mock servers in the era of microservices”We are in the era of microservices. One of the advantages of microservices architecture is faster time to market. Development can be split into smaller parts, hence can be developed in parallel. Most of the time microservices communication is done by REST API. With that being said, a question arises as to how to efficiently develop a part of the system that requires communication with another part that is not ready. And the answer is by using mock. This tutorial will show how to easily set up a local mock server.
https://medium.com/gitconnected/mock-server-using-wiremock-a61cbd55a690
Understanding proxying with WireMock and .NET
Section titled “Understanding proxying with WireMock and .NET”In this lecture we will understand proxing of WireMock.NET and how to enable proxying within WireMock Server.
https://www.youtube.com/watch?v=kRHiNlkF2po&pp=ygUId2lyZW1vY2s%3D
Running WireMock as a .NET Tool in CommandLine
Section titled “Running WireMock as a .NET Tool in CommandLine”In this lecture we will discuss how we can run WireMock as a .NET tool in the command line interface and map the existing Static mapping file and run the WireMock.NET as a full blown server instead of you running WireMock on the code.
https://www.youtube.com/watch?v=YdyR1ZWrnC4&pp=ygUId2lyZW1vY2s%3D
Generating Static Mappings for Stubs in WireMock and .NET
Section titled “Generating Static Mappings for Stubs in WireMock and .NET”In this lecture we will discuss how we can generate static mappings for all the registered stubs in WireMockServer in WireMock.NET
https://www.youtube.com/watch?v=xilAgj4NqhQ&pp=ygUId2lyZW1vY2s%3D
Using admin interfaces to debug tests efficiently with WireMock and .NET
Section titled “Using admin interfaces to debug tests efficiently with WireMock and .NET”In this lecture we will discuss how Admin Interface provided by WireMock.NET
https://www.youtube.com/watch?v=Q5sxMG84H0w&pp=ygUId2lyZW1vY2s%3D
Getting JSON body responses from WireMock and .NET
Section titled “Getting JSON body responses from WireMock and .NET”In this lecture we will work with Getting JSON body response from WireMock.NET
https://www.youtube.com/watch?v=fPAUqXo68e8&pp=ygUId2lyZW1vY2s%3D
Mocking Bearer Token Authentication using WireMock and .NET
Section titled “Mocking Bearer Token Authentication using WireMock and .NET”In this lecture we will work with Mocking Bearer Token Authentication using WireMock.NET
https://www.youtube.com/watch?v=IC1lMYuPd4Y&pp=ygUId2lyZW1vY2s%3D
Custom database Logging with WireMock
Section titled “Custom database Logging with WireMock”This video empowers you to extend WireMock’s functionalities by implementing a custom database notifier. Store detailed request and response data directly in your MySQL database for powerful logging capabilities.
https://www.youtube.com/watch?v=HuGAXwrg0nE&pp=ygUId2lyZW1vY2s%3D
Understanding request matchers in WireMock and .NET
Section titled “Understanding request matchers in WireMock and .NET”In this lecture we will understand and work with different types of Request Matchers in WireMock.NET
https://www.youtube.com/watch?v=XrgS1ZsUKCY&pp=ygUId2lyZW1vY2s%3D
Advanced API mocking Strategies with WireMock Cloud
Section titled “Advanced API mocking Strategies with WireMock Cloud”This video dives deep into the advanced capabilities of WireMock Cloud, the industry-leading platform for streamlined and powerful API mocking.
https://www.youtube.com/watch?v=Pdg5wIEyS08&pp=ygUId2lyZW1vY2s%3D
Introduction to WireMock and .NET
Section titled “Introduction to WireMock and .NET”WireMock.NET is a flexible and powerful tool for stubbing and mocking HTTP services for testing purposes. It allows you to simulate HTTP responses from real servers
https://www.youtube.com/watch?v=SQRPqBWHeJs&pp=ygUId2lyZW1vY2s%3D
Dev Services for Gradle Projects with Quarkus, Gradle and WireMock
Section titled “Dev Services for Gradle Projects with Quarkus, Gradle and WireMock”Oleg Nenashev - Community Builder and Developer Advocate, Gradle & CNCF Ambassador and Jenkins Core Maintainer talks about Dev Services for Gradle Projects with Quarkus, Gradle and WireMock
https://www.youtube.com/watch?v=Lf15C0Jl3Yk&pp=ygUId2lyZW1vY2s%3D
Spring Cloud OpenFeign & Testing with WireMock
Section titled “Spring Cloud OpenFeign & Testing with WireMock”In this Spring Boot 3 Microservices tutorial series, we will learn how to build microservices using Spring Boot and Spring Cloud. This is part 4 of the series, in this part, we will cover, Integrating Synchronous Communication using Spring Cloud OpenFeign, Write Integration Tests using WireMock
https://www.youtube.com/watch?v=GpqnYd8VR3k&pp=ygUId2lyZW1vY2s%3D
Easy Integration Tests for Spring webclients with WireMock
Section titled “Easy Integration Tests for Spring webclients with WireMock”In this video, I will show you how to perform integration testing for Spring WebClient that invokes external REST APIs with WireMock and JUnit 5.
https://www.youtube.com/watch?v=hbr4snySA6I&pp=ygUId2lyZW1vY2s%3D
Wiremock - How to use dynamic responses (Español)
Section titled “Wiremock - How to use dynamic responses (Español)”Neste vídeo você vai aprender a utilizar respostas dinâmicas em seus stubs com WireMock.
https://www.youtube.com/watch?v=eazDmNtl5aM&pp=ygUId2lyZW1vY2s%3D
WireMock platform Enhanced API Security Astra Review
Section titled “WireMock platform Enhanced API Security Astra Review”WireMock is an API developer productivity platform that provides developers with the tools and technologies needed to get the job done easily when they depend on APIs in the development process. It allows developers to be productive when they’re consuming 3rd party and internal APIs that delay their development or when they prototype and deliver APIs.
https://www.youtube.com/watch?v=2zC7L1uMeis&pp=ygUId2lyZW1vY2s%3D
The power of visualization with WireMock (Español)
Section titled “The power of visualization with WireMock (Español)”É a sua chance de explorar os conceitos fundamentais e obter respostas para todas as suas perguntas sobre Arquiteturas de Integrações.
https://www.youtube.com/watch?v=aiH83J8ZgsU&pp=ygUId2lyZW1vY2s%3D
Exploring WireMock’s built-in request matchers
Section titled “Exploring WireMock’s built-in request matchers”In this video tutorial we will learn about WireMock’s in built matchers to create stub configurations. equalTo, contains, doesNotContain, matches, doesNotMatches, and, or, hasExactly, includes, caseinsensitive
https://www.youtube.com/watch?v=73quuWlJAkM&pp=ygUId2lyZW1vY2s%3D
Request Matching With URLs with WireMock
Section titled “Request Matching With URLs with WireMock”This video talks about request matching with URL, regular expressions, query parameter & path parameter matching
https://www.youtube.com/watch?v=1VIr__OWYRI&pp=ygUId2lyZW1vY2s%3D
External APIs Testing with WireMock
Section titled “External APIs Testing with WireMock”This video, will show you how to mock external APIs in Java using WireMock.
https://www.youtube.com/watch?v=KaW8yl52z5w&pp=ygUId2lyZW1vY2s%3D
Setup a WireMock Standalone Server Locally and create a basic JSON stub
Section titled “Setup a WireMock Standalone Server Locally and create a basic JSON stub”https://www.youtube.com/watch?v=kIgl7Yxmd4M&pp=ygUId2lyZW1vY2s%3D
Top use cases for API mocking with WireMock
Section titled “Top use cases for API mocking with WireMock”https://www.youtube.com/watch?v=L3Pb0ciIhgI&pp=ygUId2lyZW1vY2s%3D
Wiremock for monoliths vs microservices
Section titled “Wiremock for monoliths vs microservices”https://www.youtube.com/watch?v=wTD9vBRxoP0&pp=ygUId2lyZW1vY2s%3D
Web services integration testing with WireMock
Section titled “Web services integration testing with WireMock”Одна из наиболее частых проблем, которые могут возникнуть при автоматизации тестирования веб-сервисов, заключается в том, что внешний сервис недоступен на момент разработки.
https://www.youtube.com/watch?v=koxLAS6PM-g&pp=ygUId2lyZW1vY2s%3D
Exploring API Testing: Challenges and Tools
Section titled “Exploring API Testing: Challenges and Tools”In this webinar, we will delve deep into API Testing, exploring its challenges and key aspects that will help us comprehend why it is so important. We will also dive into mocks, their advantages, how to create them, and present a demo of WireMock, an open-source tool for API mocking.
https://www.youtube.com/watch?v=BhsSd2wLfM0&pp=ygUId2lyZW1vY2s%3D
How to generate WireMock stubs with the OpenAPI generator (French)
Section titled “How to generate WireMock stubs with the OpenAPI generator (French)”https://www.youtube.com/watch?v=0jhONfBrcKw&pp=ygUId2lyZW1vY2s%3D
Fake It until You Make It! API Integration Testing with Containers & WireMock
Section titled “Fake It until You Make It! API Integration Testing with Containers & WireMock”Testcontainers has become one of the most popular tools for software integration testing. If you can put your system-under-test into a container, Docker compose cluster or a pod, this is what you’re likely to use. If your target isn’t ready, not containerizable or just too heavy for testing as is, you can always use mock testing frameworks, e.g. WireMock or MockServer in the JVM ecosystem.
https://www.youtube.com/watch?v=YEc6EwiHrjM&pp=ygUId2lyZW1vY2s%3D
Apidays Paris 2023 - Boost Productivity with Mock APIs: A Game Changer
Section titled “Apidays Paris 2023 - Boost Productivity with Mock APIs: A Game Changer”From the classic method of building API-enabled products to the innovative approach of mock-based prototyping, discover how to create, validate, and integrate APIs seamlessly. Presented by Tom Akehurst, CTO & Co-founder at WireMock, learn how tools like Wot Cloud facilitate quick mock API generation and streamline API design, offering long-term value across the development lifecycle.
https://www.youtube.com/watch?v=paqtGXPKVwE&pp=ygUId2lyZW1vY2s%3D
Testcontainers and API mocking with WireMock for C/C++
Section titled “Testcontainers and API mocking with WireMock for C/C++”Testcontainers has become one of the most popular tools for software integration testing. If you can put your system-under-test into a container, Docker compose cluster or a pod, this is what you’re likely to use. If your target isn’t ready, not containerizable or just too heavy for testing as is, you can always use API mocking like WireMock to mock your interfaces including REST API, gRPC, etc. But are these tools available to C/C++ developers? And the answer is YES
https://www.youtube.com/watch?v=dBjjFDZS5FM&pp=ygUId2lyZW1vY2s%3D
Spring Integration Testing Demystified: Testcontainers, WebTestClient, and WireMock
Section titled “Spring Integration Testing Demystified: Testcontainers, WebTestClient, and WireMock”In this video we delve into the secrets of integration testing in the Spring environment. Harness the power of tools like Testcontainers for dynamic Docker container management, WebTestClient for HTTP layer testing, and WireMock for creating client testing stubs.
https://www.youtube.com/watch?v=kPqbfzZSUE4&pp=ygUId2lyZW1vY2s%3D
Integration Tests with WireMock and Spring Boot
Section titled “Integration Tests with WireMock and Spring Boot”In this tutorial, we write integration tests for the Spring Boot application using WireMock.
https://www.youtube.com/watch?v=QnfwblMrBd4&pp=ygUId2lyZW1vY2s%3D
Response templating - how to create mock APIs that return dynamic responses in WireMock Cloud
Section titled “Response templating - how to create mock APIs that return dynamic responses in WireMock Cloud”In this video, we’ll show you how to use dynamic response templating in WireMock Cloud to create a powerful mock API that can serve different data using a single stub. Response templating allows you to simulate real-world API behavior by providing variable responses based on the incoming request. This helps you create more realistic tests and examine how downstream components interact with the API in different scenarios.
https://www.youtube.com/watch?v=A-LWoewCJN4&pp=ygUId2lyZW1vY2s%3D
Stub External APIs with WireMock and Spring Boot
Section titled “Stub External APIs with WireMock and Spring Boot”In this tutorial, we stub an external API using WireMock. I also use the new RestClient for the first time to interact with the API.
https://www.youtube.com/watch?v=dx-69FrfZrw&pp=ygUId2lyZW1vY2s%3D
REST APIs for your tests with WireMock (Russian)
Section titled “REST APIs for your tests with WireMock (Russian)”https://www.youtube.com/watch?v=bDKMvb3RUTg&pp=ygUId2lyZW1vY2s%3D