WireMock for Java Developers
| By: | Dilip Sundarraj |
| Publisher: | Packt Publishing |
| Print ISBN: | 9781839210747 |
| eText ISBN: | 9781839218057 |
| Edition: | 1 |
| Copyright: | 2019 |
| Format: | Online Resource |
eBook Features
Instant Access
Purchase and read your book immediately
Read Offline
Access your eTextbook anytime and anywhere
Study Tools
Built-in study tools like highlights and more
Read Aloud
Listen and follow along as Bookshelf reads to you
WireMock is a simulator for HTTP-based APIs or MockServer. REST APIs are everywhere today as they're the modern and easiest way to build functionality and expose them to the real world. When it comes to writing unit test cases that involve REST-based interactions, there is always a challenge in testing error responses, network faults, latency, and timeouts. WireMock will solve the problem of application code that depends on an external service by mocking the actual service.
In the microservices architecture, It is pretty common for services to depend on one another and it's always a challenge to write test cases for code that depends on other external services. WireMock provides the necessary tools to simulate an external service so that code that depends on the external service can be tested; this helps to build a robust REST client.
This course covers the following techniques using WireMock:
Learn to integrate the most powerful HTTP Mock library, WireMock, into your applications to build a resilient and robust REST API client.
All the code and supporting files for this course are available at - https://github.com/PacktPublishing/WireMock-for-Java-Developers