Wiremock Standalone Server Using Java And Admin Api

Posted By: ELK1nG

Wiremock Standalone Server Using Java And Admin Api
Published 6/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.85 GB | Duration: 12h 33m

Learn how to setup wiremock standalone instance on remote and local using wiremock java api and admin api.

What you'll learn

End to End API Mocking concepts using Wiremock Java and Admin API

Setting up remote wiremock standalone instance on AWS and integrating it with wiremock java api

Handson on URL Matching - AnyURL, PathRegx, Path Only, Path & Query Regex , Path Regex

Request Priority Matching, Setting Response Delays, Simulating Faults, Stateful Scenarios and Poxying

How to write JSON Path from scratch using Operators and filters ?

Implementing dynamic response using HandleBars Helpers - Conditional, Iteration, String, Number, Date, Time and Random Values

Different types of Request Match - Json Equality,JsonPath Match,Cookie,Header and Basic Authentication

Requirements

Basic Java Concepts

Description

************WIREMOCK- One of the most used open source API Mocking tool with so much adoption by customers worldwide**********This course will guide you through process of learning wiremock using java library with live examples on each and every concept that includes below:Understanding basic api concepts with live use casesHow wiremock works at backend ?Setting up remote wiremock instance on AWS(Free tier)How wiremock standalone instance is setup on remote servers in organizations?Extensive handson on incoming request match features in wiremockDifferent ways to send response dynamically Implementation of multiple use cases for User/Customer api using wiremock java and admin api Not only this for those who are beginner at writing code can learn all the concepts of wiremock end to end using admin api that covers all the features with live examples on remoate as well as local.Don’t think API Mocking is linked to only enterprise tools like CA LISA, Devtest, Parasoft Virtualize, IBM RIT, Tosca, ServiceV Pro ; it can be implemented in many open source tools like Blazemeter Service virtualization, Hoverfly, SoapUI, Postman, Wiremock,Mockoon,Mocklab, Wiremock Cloud and many moreIt is the perfect opportunity to grab and learn about something that is rising in popularity .

Overview

Section 1: Introduction

Lecture 1 Introduction

Section 2: What is API?

Lecture 2 API Walkthrough

Lecture 3 API Use Case

Section 3: What is HTTP?

Lecture 4 HTTP Walkthrough

Lecture 5 HTTP Structure

Section 4: What is REST?

Lecture 6 Understanding REST with use case

Section 5: What is JSON?

Lecture 7 JSON Walkthrough

Lecture 8 JSON Example

Section 6: Understanding Json Path with expressions,operators and filters

Lecture 9 What is JSON Path?

Lecture 10 What are Expressions in JSON Path?

Lecture 11 Understanding Operators with exercises

Lecture 12 Understanding Filters with exercises

Section 7: Postman Essentials

Lecture 13 How to Install Postman?

Lecture 14 Walkthrough

Lecture 15 How to execute GET/POST Request?

Section 8: What is API Mocking?

Lecture 16 What is API Mocking?

Lecture 17 Banker App Use Case

Section 9: Working Of wiremock

Lecture 18 What is Wiremock?

Lecture 19 Working of Wiremock

Section 10: Running Wiremock as a Standalone Process

Lecture 20 Download Standalone Jar

Lecture 21 Start Wiremock Server

Lecture 22 What are different options?

Lecture 23 Directory Structure - Mappings and files

Section 11: ReqRes Public API Overview

Lecture 24 ReqRes Public API Overview

Section 12: Record And Playback

Lecture 25 What is Record and Playback ?

Lecture 26 How record & playback works?

Lecture 27 Implementation - Handson

Section 13: Different ways to work with standalone instance

Lecture 28 Using JAVA API

Lecture 29 Using Admin API

Lecture 30 Manual Mappings

Section 14: Setting up remote wiremock instance on AWS

Lecture 31 Understanding Remote Setup

Lecture 32 Create AWS Account - Free Tier

Lecture 33 Create Windows EC2 instance on AWS

Lecture 34 Connecting to EC2 Instance from localhost

Lecture 35 Setup Wiremock server on remote

Lecture 36 Access remote wiremock instance on local

Section 15: Wiremock JAVA-Workspace Setup

Lecture 37 Prerequsites

Lecture 38 Setup JDK

Lecture 39 Setup Maven

Lecture 40 Download Intellij

Lecture 41 Create Project

Lecture 42 Import Dependencies

Section 16: Getting Started with Wiremock Java Library

Lecture 43 Project Structure

Lecture 44 Start and Stop Server Programmatically

Lecture 45 Files and Mappings

Lecture 46 Configuration Options

Section 17: Basic Stubbing

Lecture 47 Creating first stub

Lecture 48 Specifying the response body and header

Lecture 49 Specifying the response body using file

Lecture 50 Saving Mappings

Lecture 51 Edit stub mapping

Section 18: Configuring Remote Instance with Wiremock Java Library

Lecture 52 Pointing Java API to remote wiremock instance

Lecture 53 Configuring stubs on remote from local

Lecture 54 Saving Mapping on remote

Lecture 55 Pushing JSON Mappings to remote

Section 19: Request Matching - Overview

Lecture 56 What will we discuss in Request Matching?

Section 20: Request Matching - URL matching

Lecture 57 Any URL

Lecture 58 Path Only

Lecture 59 Path and query

Lecture 60 Path regex

Lecture 61 Path and query regex

Lecture 62 Stub Priority and default response

Section 21: Request Matching - Request Attributes

Lecture 63 Matching Header

Lecture 64 Matching Cookies

Lecture 65 Matching Query Param

Lecture 66 Basic Authenitcation

Section 22: Matching Request Body Using Json Equality

Lecture 67 Overview

Lecture 68 Matching via JSON equality-String Literal

Lecture 69 Converting Json in a file to Json Object

Lecture 70 Matching via JSON equality-Using File

Lecture 71 Using placeholders in Request Matching

Lecture 72 Ignoring array order & extra elments

Section 23: Matching Request Body Using Json Path

Lecture 73 Matching via JSONPath

Section 24: Response Templating

Lecture 74 Understanding Response Templating

Lecture 75 Wiremock Request Data Model

Lecture 76 Enabling Response Templating

Lecture 77 Using ResponseTemplateTransformer - Handson

Lecture 78 Using transformer parameters-Handson

Section 25: Handlebars Helpers

Lecture 79 Handlebars Helpers Overview

Lecture 80 Json Path helper

Lecture 81 Json Path helper handson

Lecture 82 Dates and Time helpers

Lecture 83 Dates and Time helpers-handson

Lecture 84 Random Helpers - Number,String,Pick Random

Lecture 85 Random Helpers - Handson

Lecture 86 Conditional Logic - if else

Lecture 87 Conditional Logic - if else - handson

Lecture 88 Matches helper

Lecture 89 Matches helper - handson

Lecture 90 Math Helper

Lecture 91 Math Helper - Handson

Section 26: Simulating Faults - Delays

Lecture 92 Delay configurations in wiremock

Lecture 93 Fixed delay handson

Lecture 94 Random Uniform delay - handson

Lecture 95 Random Log Normal-handson

Section 27: Simulating Faults - Bad Response

Lecture 96 Bad response overview

Lecture 97 Default Bad response in wiremock - handson

Lecture 98 Custom Bad response - handson

Section 28: Simulating State with Scenarios

Lecture 99 Scenario State in wiremock

Lecture 100 Simulating User Api scenario - Handson

Section 29: Proxying

Lecture 101 Understanding proxy concept in wiremock

Lecture 102 Implementing proxy using public api - handson

Section 30: What is Admin API?

Lecture 103 Overview

Section 31: Creating Mappings Request Structure

Lecture 104 JSON Request Schema -Request Obejct

Lecture 105 JSON Request Schema -Response Object

Lecture 106 Creating first stub using Admin API

Section 32: URL matching- Admin API

Lecture 107 URL Patterns in JSON Request

Lecture 108 URL matching-Handson Path

Lecture 109 URL matching-Handson pathquery

Section 33: Different ways to send response-Admin API

Lecture 110 Overview of different response objects

Lecture 111 Using Body response object - handson

Lecture 112 Using jsonBody response object - handson

Lecture 113 Using bodyFileName response object - handson

Section 34: Request Attributes Match - Admin API

Lecture 114 Understanding Request Attributes match in JSON Request

Lecture 115 Matching Header & Cookies - handson

Lecture 116 Difference b/w QueryParamter match and UrlPathQuery Match - handson

Lecture 117 Basic Authenitcation using admin API - handson

Section 35: Matching request body using json equality - Admin Api

Lecture 118 BodyPattern object- overview

Lecture 119 Matching via JSON equality handson

Lecture 120 Placeholders

Lecture 121 Ignoring array order & extra elments

Section 36: Matching request body using Jsonpath-Admin API

Lecture 122 Matching via JSONPath

Lecture 123 Comparing request property values

Section 37: Response Templating- Admin API

Lecture 124 Using ResponseTemplateTransformer - Local

Lecture 125 Using ResponseTemplateTransformer - Global

Section 38: Simulating Delays - Admin API-Handson

Lecture 126 Fixed delay Global

Lecture 127 Fixed delay stub level

Lecture 128 Random delay Global

Lecture 129 Random delay stub level

Section 39: Setting Custom bad response using stub priorirty

Lecture 130 Custom Bad response - handson

Section 40: Simulating State with Scenarios-Admin API

Lecture 131 Understanding Objects for creating scenario

Lecture 132 Simulating Scenario - Handson

Section 41: Proxying using Admin API

Lecture 133 Proxying overview

Lecture 134 Implementing proxying on remote wiremock instance

Section 42: Saving stub mappings on remote wiremock instance

Lecture 135 Saving All mappings - Handson

Lecture 136 Saving mappings while creation - Handson

Section 43: Conclusion

Lecture 137 Conclusion

Software Developers,Software Testers