Advanced API Mocking using Wiremock Cloud

Learn to build robust Mock RESTFUL API using wiremock cloud with handson.

Ratings: 4.30 / 5.00




Description

Wiremock Cloud is the cloud hosted version of wiremock java API that uses the same wiremock engine to virtualize APIs.


  • Cloud hosted - nothing to install

  • Intuitive web UI

  • Team collaboration

  • Swagger, OpenAPI and Postman import

  • 100% WireMock API compatible

Flaky 3rd party and incomplete APIs create unstable environments.Accelerate releases by mocking the APIs you depend on

You can start in a single click by creating a free account without restrictions.

When it comes to testing in devops delivery process many componenets and backend APIs are unavailable ,Wiremock cloud simplifies the process of testing by replacing unavailable APIs with virtual mock APIs using the concept of service virtualization .

This course will help you gain quite a good understanding of Service virtualization and in very less time along with handson on real Use Case scenarios.


This course is going to cover the techniques that are listed below using WireMock Cloud:


  • API MOCKING

  • Simulating Unavailable Service

  • Simulating Delays

  • Simulating Faults

  • Simulating Error response

  • Dynamic Responses

  • Response Templating

  • Recording Stubs through Real API

  • Virtual service creation using Swagger/Open API

  • Proxying to Real APIs

  • Advance Stubbing with end to end Use Cases

  • Request Matching

  • Import and Export


Prerequisites for this Course:

  • Understanding of RESTFul APIs

  • Understanding of API Protocols - HTTP,SOAP,REST etc.

  • No Coding Experience requried


Course Structure :

Section: Understanding Wiremock

- Introduction to Wiremock

- Working of wiremock with Banker Aplication Use Case


Section: Wiremock Cloud

- Create Wiremock Cloud Free Account (No Credit Card Required)

- End to End Understanding of Wiremock Cloud  - Walkthrough


Section : Different Ways to Create Virtual API -  Handson

- Manual Mock API Configuration

- Swagger and Open API Import

- Record and Playback


Section : URL Match Types - Handson

- Any URL Match

- Path With Regex

- Path Only

- Path & Query Regex

- Path & Query


Section : Advanced Stubbing - Handson

- Request Priority Matching

- Configuring Response Delays

- Simulating Faults

- Simulate State with scenarios (Stateful)

- Proxying


Section: Request Matching - JsonEquality (Handson)

- What is Request Matching

- Matching via JSON Equality

- Ignoring Array Order

- Ignoring Extra Elements

- Using Placeholders


Section : Request Matching - JsonPath (Handson)

- Matching via JSONPath (Expression + Submatch)


Section : Response Templating

- Understanding Response Templating


Section : Handlebars Helpers - Handson

- Understanding Handlebars

- Conditional Logic

- Iteration

- String Helpers

- Number Helpers

- Dates and Time Helpers

- Random Value Helpers

- Miscellaneous Helpers


What You Will Learn!

  • End to End API Mocking/Virtualization Using Wiremock Cloud
  • Different ways to create Virtual APIs - Record & Playback, Manual Configuration, Swagger and OpenAPI Import
  • Basic and Advanced Stubbing
  • URL Match - AnyURL, PathRegx, Path Only, Path & Query Regex , Path Regex
  • Request Priority Matching, Setting Response Delays, Simulating Faults, Stateful Scenarios and Poxying
  • Handling Dynamic Response using Response Templating
  • Different types of Request Match - Json Equality and JsonPath Match
  • HandleBars Helpers - Conditional, Iteration, String, Number, Date, Time and Random Values
  • Configuring Test Scenarios in Wiremock Cloud

Who Should Attend!

  • Developers and Testers to understand how service virtualization can help fasten the delievery process and remove bottlenecks
  • Devops professional who are interested to know role of SV in Devops