|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/wiremock-cloud-with-use-case/
课程评论:没有评论
课程名称:使用Wiremock Cloud进行高级API模拟 课程概述:Wiremock Cloud是Wiremock Java API的云托管版本,使用相同的Wiremock引擎来虚拟化API。这是一个云托管解决方案,无需安装,具备直观的网页用户界面,支持团队协作,能够导入Swagger、OpenAPI和Postman,并且与100%的WireMock API兼容。在开发运维流程中,许多组件和后端API不可用,Wiremock Cloud通过使用服务虚拟化的概念,简化了测试过程,能够用虚拟模拟API替代不可用的API。该课程将帮助您在短时间内对服务虚拟化有较好的理解,并提供实际用例的动手练习。 课程内容包括以下技术的深入讲解,使用WireMock Cloud进行API模拟: - API模拟 - 模拟不可用服务 - 模拟延迟 - 模拟故障 - 模拟错误响应 - 动态响应 - 响应模板化 - 通过真实API录制存根 - 使用Swagger/Open API创建虚拟服务 - 代理真实API - 结合端到端用例的高级存根 - 请求匹配 - 导入和导出 课程先决条件: - 理解RESTful API - 理解API协议,如HTTP、SOAP、REST等 - 不需要编程经验 课程结构: - 第一部分:理解Wiremock - Wiremock介绍 - Wiremock与银行应用用例的工作原理 - 第二部分:Wiremock Cloud - 创建Wiremock Cloud免费账户(无需信用卡) - Wiremock Cloud的完整理解与 walkthrough - 第三部分:创建虚拟API的不同方式(动手实践) - 手动模拟API配置 - Swagger和Open API导入 - 录制和回放 - 第四部分:URL匹配类型(动手实践) - 任意URL匹配 - 正则表达式路径匹配 - 仅路径匹配 - 路径和查询的正则表达式匹配 - 第五部分:高级存根(动手实践) - 请求优先级匹配 - 配置响应延迟 - 模拟故障 - 使用场景模拟状态(有状态) - 代理功能 - 第六部分:请求匹配 - JsonEquality(动手实践) - 请求匹配的概念 - 通过JSON Equality匹配 - 忽略数组顺序 - 忽略多余元素 - 使用占位符 - 第七部分:请求匹配 - JsonPath(动手实践) - 通过JSONPath(表达式+子匹配)匹配 - 第八部分:响应模板化 - 理解响应模板化 - 第九部分:Handlebars助手(动手实践) - 理解Handlebars - 条件逻辑 - 迭代 - 字符串助手 - 数值助手 - 日期和时间助手 - 随机值助手 - 其他助手 本课程将为学员提供全面的理论知识和实践经验,帮助他们掌握API虚拟化的技术。
Wiremock Cloud is the cloud hosted version of wiremock java API that uses the same wiremock engine to virtualize APIs.Cloud hosted - nothing to installIntuitive web UITeam collaborationSwagger, OpenAPI and Postman import100% WireMock API compatibleFlaky 3rd party and incomplete APIs create unstable environments.Accelerate releases by mocking the APIs you depend onYou 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 MOCKINGSimulating Unavailable ServiceSimulating DelaysSimulating FaultsSimulating Error responseDynamic ResponsesResponse Templating Recording Stubs through Real APIVirtual service creation using Swagger/Open APIProxying to Real APIsAdvance Stubbing with end to end Use CasesRequest MatchingImport and Export Prerequisites for this Course:Understanding of RESTFul APIsUnderstanding of API Protocols - HTTP,SOAP,REST etc.No Coding Experience requriedCourse Structure:Section: Understanding Wiremock- Introduction to Wiremock - Working of wiremock with Banker Aplication Use CaseSection: Wiremock Cloud- Create Wiremock Cloud Free Account (No Credit Card Required)- End to End Understanding of Wiremock Cloud - WalkthroughSection: 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 PlaceholdersSection: 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