|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/api-testing-restassured/
课程评论:没有评论
Coursera 课程《Expert's Guide of API Automation using RestAssured and JAVA》课程总结 本课程是一门关于使用 RestAssured 和 Java 进行 API 自动化测试的专家级指南。课程深入讲解了 REST API 的基础知识,包括 REST 的概念、HTTP 协议以及客户端与服务器的交互方式。 **课程涵盖的主要内容:** * **API 基础与数据格式:** 讲解 API 基础概念,JSON 数据格式及 JSON Path 的使用。 * **环境搭建与 Java 基础:** 指导学员完成端到端的环境搭建,并复习 Java 编程基础,包括复杂的 POJO 示例和完整的 JSON 内容匹配。 * **RestAssured 核心功能:** * 参数化请求,利用 TestNG 的 Data Provider。 * Request Specification 和 Response Specification 的应用。 * 自动化 POST、PUT、DELETE 请求。 * 多种发送请求 Payload 的方式。 * 处理请求体中的复杂 JSON。 * 使用 Request Parameters。 * JSON Schema 验证。 * Logging Filters 和 Configs 的配置。 * **TestNG 深入学习:** 从基础到精通 TestNG,理解其核心概念。 * **数据结构与序列化/反序列化:** 讲解 Java Collections,以及 POJO 与 JSON 对象之间的序列化和反序列化。 * **框架开发:** * 构建 Behavior-Driven Development (BDD) 框架,包括 Feature 文件。 * 设计可扩展的框架结构。 * 配置文件的管理。 * 实现 Reporting 功能。 * 自动化正面和负面测试场景。 * 利用 TestNG Data Provider 进行数据驱动测试。 * Cucumber 的集成和应用。 * **最佳实践与集成:** * API 自动化测试的最佳实践。 * 属性文件和配置文件的使用。 * 与 Git 进行集成。 * 与 Jenkins 进行集成,实现 CI/CD。 * **工具、库与技术栈:** * Eclipse IDE * RestAssured * TestNG * Cucumber * Java * Allure Reports (用于报告) **课程成果:** 完成本课程后,学员将能够: 1. **精通 Java 编程。** 2. **掌握 API 核心概念。** 3. **设计并构建端到端的 API 自动化测试框架。** 4. **自信地应对 API 自动化相关的面试。**
REST Assured API is one of the most popular library when it comes to automating the REST APIs. Most of the today's web applications are backed by the Micro services architecture and the REST APIs.REST stands for REpresentational State Transfer. REST is web standards based architecture and uses HTTP Protocol for data communication.In REST architecture, a REST Server simply provides access to resources and REST client accesses and presents the resources.What topics are covered in this course?API Basics JSON & JSON PathEnd to End SetupJava Programming BasicsComplex POJO ExampleFull JSON body matchingParameterization using TestNG Data providerRest Assured - Request SpecificationRest Assured - Response SpecificationRest Assured - Automate Post, Put, DelRest Assured - Multiple ways to send request payloadRest Assured - Complex JSON in request bodyRest Assured - Request ParametersRest Assured - JSON Schema ValidationRest Assured - Logging FiltersRest Assured - ConfigsTestNG Basic to ExpertCollectionsSerialization & De-serialization: POJOsHashMap to JSON objectArrayList to JSON arrayComplex POJO ExampleFull JSON body matchingFramework Development->BDD Framework with FeaturesScalable Framework StructureConfigurationsReportingAutomate positive and negative scenariosData driven using TestNG Data ProviderCucumber ImplementationBest PracticesProperty and ConfigurationIntegration with GitIntegration with JenkinsTool, Library & TechnologyEclipseRest AssuredTestNGCucumberReportingJavaAllure ReportsOutcome of this course1. Expertise in Java Programming2. Expertise in API Concepts3. Able to design End to End API Automation Framework4. Ready to face Automation interviews