Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WireMock for Java Developers
  • Table Of Contents Toc
WireMock for Java Developers

WireMock for Java Developers

By : Dilip Sundarraj
close
close
WireMock for Java Developers

WireMock for Java Developers

By: Dilip Sundarraj

Overview of this book

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: · Service virtualization · Simulating an external service · Simulating latency · Simulating error responses · Simulating network errors 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
Table of Contents (13 chapters)
close
close
5
Setting Up WireMock
7
Verifying the Stubs - Hands On
11
Running WireMock on Junit 4
Chapter: 9
Simulating Latency - Hands On
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
Icon Icon
ShowHide Transcripts Icon
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WireMock for Java Developers
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon