Get Free Shipping on orders over $79
WireMock for Java Developers - Dilip Sundarraj

WireMock for Java Developers

By: Dilip Sundarraj

eText | 11 October 2019 | Edition Number 1

At a Glance

eText


$80.29

or 4 interest-free payments of $20.07 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

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

Key Features

  • 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

Book 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

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

Who this book is 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.
on
Desktop
Tablet
Mobile

More in Web Programming

Critical Web Design - Xtine Burrough

eTEXT

The Book of WebGPU - Mahesh Venkitachalam

eBOOK

RRP $86.02

$68.99

20%
OFF
JavaScript in Depth - James M. Snell

eBOOK

Algorithms and Programs : An AI-Assisted Approach - Eric Braude

eBOOK