Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
WireMock for Java Developers
WireMock for Java Developers

WireMock for Java Developers: Learn to effectively integrate and build RESTful API clients into Java and Spring Boot applications using WireMock.

Arrow left icon
Profile Icon Dilip Sundarraj
Arrow right icon
$39.99
Video Oct 2019 4hrs 28mins 1st Edition
Video
$39.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Dilip Sundarraj
Arrow right icon
$39.99
Video Oct 2019 4hrs 28mins 1st Edition
Video
$39.99
Subscription
Free Trial
Renews at $19.99p/m
Video
$39.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • This course will help students to learn about how to write unit tests involving RESTful API integrations
  • Write unit tests that cover all possible scenarios in a REST-based interaction

Description

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

Who is this book for?

This course is for developers who would like to learn to build RESTful API clients using Spring WebClient, Java developers who would like to learn to build resilient RESTful API clients and developers who are working in the microservice architecture and would like to learn how to simulate other services involving REST API invocations. Developers who would like to write unit tests that cover latency, timeouts, and network faults and also who would like to write unit tests that depend on other services.

What you will learn

  • Complete knowledge of how to build resilient RESTful API clients
  • Write automated tests which involve RESTful API clients using JUnit
  • Using WireMock as a powerful tool to simulate HTTP interactions
  • Mock an external service using WireMock
  • Build a robust REST client by simulating network errors, network latency
  • Learn to mock a RESTful Service
  • Learn to write unit tests that involve RESTful API interactions

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 11, 2019
Length: 4hrs 28mins
Edition : 1st
Language : English
ISBN-13 : 9781839210747
Category :
Languages :
Tools :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 11, 2019
Length: 4hrs 28mins
Edition : 1st
Language : English
ISBN-13 : 9781839210747
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 314.97
Java Coding Problems
$54.99
WireMock for Java Developers
$39.99
Cloud-Native Applications in Java
$219.99
Total $ 314.97 Stars icon
Banner background image

Table of Contents

13 Chapters
Getting Started with Course Chevron down icon Chevron up icon
Introduction to WireMock Chevron down icon Chevron up icon
Setting up the WorkSpace for the course Chevron down icon Chevron up icon
Build REST Clients using Spring WebClient - Hands On Chevron down icon Chevron up icon
Setting Up WireMock Chevron down icon Chevron up icon
Build Stubs Using WireMock - Hands On Chevron down icon Chevron up icon
Verifying the Stubs - Hands On Chevron down icon Chevron up icon
Simulating Server/Fault Responses - Hands On Chevron down icon Chevron up icon
Simulating Latency - Hands On Chevron down icon Chevron up icon
Selective Proxying - Hands On Chevron down icon Chevron up icon
Running WireMock on Junit 4 Chevron down icon Chevron up icon
Running WireMock on Spring Boot - Hands On Chevron down icon Chevron up icon
Running WireMock with Spring Boot and JUnit5 Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail [email protected] with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.