REST API Automation With REST Assured - A Complete Guide

所在平台: Udemy

课程主页: https://www.udemy.com/course/rest-api-automation-with-rest-assured-part-2/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:REST API 自动化与 REST Assured - 完整指南 课程概述: 在21世纪,几乎所有的网络应用程序都使用网络服务进行相互通信或互动。现代网络服务大多建立在表现层状态转移(REST)架构之上,由于其相较于其他技术的简单性,REST 逐渐获得了广泛的认可和应用。对于软件质量保证(QA)工程师、自动化工程师和软件开发人员来说,理解网络服务测试的重要性,以及如何自动化这些测试,变得尤为重要。API 测试的自动化在大多数项目中至关重要,因为 API 测试通常更稳定、可靠且快速。 本课程将提供成功进行 REST API 自动化所需的工具和技术,重点内容包括: 1. 介绍 REST Assured,这是一个流行的开源库,用于 API 测试自动化。 2. 学习如何使用课程中提供的示例应用编写 GET、POST、PUT、PATCH 和 DELETE 操作的测试。 3. 理解并使用 JSONPath 和 XML Path(配合 Groovy 语法)来断言和提取响应。 4. 通过根路径特性简化 JSONPath 的编写。 5. 实用示例展示不同的 REST Assured 主题(请求规范、响应规范、日志记录、参数、文件下载等)。 6. 根据测试状态记录请求和响应信息,避免编写重复代码。 7. 在单个测试中添加多个断言,使用 REST Assured 的软断言功能。 8. 文件上传和下载,使用多部分方法进行文件上传。 9. 使用实际案例(如沃尔玛搜索 API、PayPal 支付服务)进行学习。 10. 学习使用 OAuth 2.0 进行身份验证,传递访问令牌,执行 GET 和复杂的 POST 请求。 11. 使用 OAuth 1.0 认证与 Twitter 互动,例如发布和读取推文。 12. 通过 Spring Security 实现表单认证的应用程序进行身份验证。 13. 使用 REST-Assured 发送 SOAP 请求,通过代理服务器发送请求,解析 HTML 数据,使用 JSONAssert 库对完整 JSON 响应进行断言。 14. 学习如何设置和配置 Allure 报告,提供美观的显示名称、描述和链接信息,以及详细的测试步骤信息和附件信息。 15. 以 Java、JUnit 和 Allure 报告进行框架开发,并使用 Git、GitHub 和 Jenkins 进行持续集成(CI)。 课程结束时,您将对 API 测试及 API 自动化有深刻理解,并能成功执行相关工作。

课程评论(0条)

课程详情

**COMPLETE GUIDE FOR REST ASSURED WITH REAL-WORLD API'S, THROUGH COVERAGE ON FRAMEWORK DEVELOPMENT**In the 21st century, almost all web applications use web services to communicate or interact with each other. Most modern-day web services are built on Representational state transfer (REST) architecture; REST has gained a lot of popularity and it will continue to do the same due to its simplicity in comparison with other technologies.It is very important for software QA engineers, automation engineers, and software developers to understand the importance of Web Services testing and more importantly how to automate these tests. Automating Application Program Interface (API) tests are critical and crucial for most projects due to the fact that API tests are far more stable, reliable and fast. In this course, you will be provided with the tools and techniques needed to be successful with REST API automation. We will be focusing on the important topics listed below:Introduction to REST Assured, which is a popular open-source library used for API test automation. Learn to write tests for GET, POST, PUT, PATCH and DELETE operations using a sample application provided in the course Understand and use JSONPath, XML Path (with Groovy syntax) to assert and extract the response Simplify writing JSONPath by using Root path feature Practical examples demonstrating different Rest Assured topics (Request Specification, Response Specification, Logging, Parameters, File Download etc.) Logging Request and Response information based on test status Avoiding writing repetitive code by using Request/Response specification concepts Adding multiple assertions to a single test Soft Assertions in Rest Assured File Download File Upload using the multipart method Work with real-world examples such as Walmart Search API, PayPal Payment Service Use PayPal Web Service to learn different concepts like Authentication using OAuth 2.0, passing of access tokens to different requests, and executing GET, COMPLEX POST requests Use OAuth 1.0 authentication with Twitter to create Tweets, read tweets using Rest-AssuredAuthenticating into applications which implement Form Authentication using Spring Security Authenticating into applications that implement Form Authentication using Spring Security & CSRF token implementation. Sending Soap Requests using Rest-Assured Sending requests via Proxy Server Parsing HTML Data using JSOUP Library Using JSONAssert Library to assert on complete JSON responses Learn to use setup & configure Allure Reports Provide beautiful DisplayNames, Descriptions, link information in your reportsAdd detailed test step information & attachment information in the reportsFRAMEWORK DEVELOPMENT WITH JAVA, JUNIT, ALLURE REPORTSContinuous Integration(CI) with Git, Github & JenkinsAt the end of this course, you will feel at "Rest" and will be "Assured" to take up API Testing, API Automation and successfully execute it in your organization!

课程标签

0人关注该课程

主题相关的课程