|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/rest-assured-java-api-automation-for-beginners/
课程评论:没有评论
课程名称:Rest Assured Java - API 自动化入门 课程概述: 本课程旨在教授API自动化测试的基础知识,适合初学者。内容涵盖API基础概念,包括API的定义、类型、开发生命周期,以及SOAP/REST和HTTP基础。学习Postman的使用,包括API文档的分析和如何利用Postman进行测试。 课程还将介绍数据伪造的技巧,使用Mockoon工具创建假端点,以及Hamcrest断言库和Groovy的GPath,用于提取响应数据。学员将掌握数据驱动测试的概念,并学习如何使用Excel和简单的JSON库进行测试。 此外,课程将深入介绍Rest Assured(RA)的设置和使用,包括HTTP方法、请求与响应规范接口、日志记录和不同的过滤器,此外还将讲解请求和响应的头信息、负载准备方式、查询参数和路径参数的使用。 学员将学会使用Jackson数据绑定库进行序列化与反序列化,使用Allure和Extent报告进行测试报告生成,了解TestNG的各种功能,以及如何利用Cucumber进行行为驱动开发(BDD)的方法。 最终,学员将能够从零开始构建一个完整的自动化API框架,包括使用非BDD方式和完全BDD方式的E2E流程示例。课程内容丰富,适合希望深入了解API自动化测试的学习者。
*API FundamentalsWhat is APITypes of APIAPI development life cyclewhat is SOAP/RESTHTTP BasicsResources OAUTH2.O flow with examples*PostMan FundamentalsWhat is PostmanWhy use PostmanHow to use PostmanHow to analyse API documentation*Faking Datausing Mockoon for fake end points*Hamcrest Assert LibraryVarious Hamcrest Matchers for assertion*Groovy's GPathVarious examples showing ways of extracting response using GPath*Data driven testing using Excel*Usage of simple JSON library*Usage of Allure Reports*TestNGVarious features of TestNG*Rest Assured(RA)What is Rest AssuredHow to set up Rest Assureddifferent HTTP methods Request Specification interfaceResponse Specification interfaceRequest/Response SpecBuilder classLoggging - different waysFilters - different typesFaking data using tool MockoonSending the request using RA Receiving the response using RADifferent ways of extracting data from responseAssertion using HamcrestAssertion using TestNGGroovy's Gpath in detailHamcrest Java library for assertionRequest and Response headersDifferent ways of sending headersDifferent ways of sending the requestDifferent ways of preparing payloads using HashMap,Java POJO,using JSON fileOnline utilities for preparing complex POJOsQuery ParametersPath ParametersJson Schema ValidatorReading data from JSON and performing data driven testing using Json simple libraryReading data from excel and performing data driven testing using Apache POI API/using ListenersAuthentication/Authorization TestNG in depthSerialization/De serialization using jackson data bind library (Object Mapping)Usage of Allure reportsUsage of Extent ReportsUsage of cucumber maven reportsExtent Reports using ListenersUsage of Maven command line/Git/GitHub/JenkinsFinally at the end,you will learn how to develop automation API framework from scratch: - E2E flow (mini flow) using Non BDD approach - E2E flow Complete Rest Assured Framework using pure BDD approach using Cucumberand many more....