/Tag: Integration Testing

An Introduction to Wiremock

An Introduction to Wiremock This post provides a brief introduction to Wiremock, showing how it can be used to to quickly and easily mock remote API calls. We'll use Wiremock to write some integration tests for a simple Dropwizard app and show you how it can be put to use in a real world scenario. Why do I need to mock API calls? There are a number of scenarios where it makes sense to mock an external API rather than call a live service. The external API may still be in development and not yet available for integration. In this instance as long as a [...]

By |2019-02-18T07:10:56+00:00May 17th, 2016|Testing|3 Comments