|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/rest-api-automation-with-restsharp-http-client/
课程评论:没有评论
**课程名称:** 使用 RestSharp & HTTP Client 实现 REST API 自动化 **课程概要:** 本课程旨在帮助学员掌握 RESTful API 和 Web Services 的概念,并重点介绍如何使用 RestSharp 和 HTTP Client 库进行 API 自动化测试。课程以微服务架构为背景,强调了理解 RESTful API 的重要性。 **课程内容亮点:** * **RESTful API 与 Web Services 深度解析:** 第一部分将详细讲解 RESTful API 和 Web Services 的理论知识。 * **HTTP Client 库的应用:** 第二部分将重点介绍 HTTP Client 库,并演示如何将其用于 RESTful API 的测试。 * **RestSharp 框架实战:** 第三部分将深入探讨 RestSharp 框架,教授如何利用它进行 API 自动化测试,包括 GET, POST, PUT, DELETE 请求、断言与验证、以及身份验证(Token 认证、Session 认证)。 * **同步与异步执行:** 详细讲解同步和异步请求的执行方式,以及如何实现测试的并行运行。 * **真实 API 项目实践:** 课程中将结合 Dropbox 和 JIRA 等真实 API 进行案例分析和实践。 * **自动化测试框架开发:** 学员将学习如何开发一个完整的 API 自动化测试框架,并可下载配套源代码。框架将使用 MSTest 作为单元测试框架。 **核心技术与概念:** * MSTest 单元测试框架 * HTTP Client (GET, POST, PUT, DELETE 请求) * 断言 (Assertion) 与验证 (Validation) * 身份验证 (Authentication):Token 认证(以 Dropbox API 为例)、Session 认证(以 JIRA API 为例) * 同步与异步执行 (Synchronous and Asynchronous Execution) * 多线程/并行测试 (Parallel Execution) * RestSharp 框架 **课程目标:** 通过本课程的学习,学员将能够独立进行 RESTful API 的自动化测试,并能够构建和维护高效的 API 测试框架。
**The course has been updated with the latest version of the RestSharp framework**Currently, the IT industry is moving towards Micro Service based architecture. And it is very important to understand what are RESTful API and Web services. This course is all about that.The Course is divided into 3 sectionsIn the 1st section, I will have a detailed discussion about the RESTful API and WebservicesIn the 2nd section, I will discuss the HTTP Client library and how to use them for testing RESTful APIIn the 3rd section, I will discuss the RestSharp framework and how to use it for API testingI will also discuss synchronous and asynchronous execution. And how to run the test in parallelIn this course, I will also discuss some real-time APIs of the application. Such a Drop Box and JIRAWhile going through this course, I will also develop a framework for testing. The source code of the framework will be provided for downloadUnit Testing Framework MSTestMSTest FrameworkHTTP Client for API TestingGET RequestAssertion and ValidationPOST RequestPUT RequestDELETE RequestAuthenticationSynchronous and Asynchronous ExecutionSynchronous and Asynchronous Execution - IntroductionSynchronous Execution's of TestAsynchronous Execution of TestAsynchronous Execution of Test - Failed ScenarioRedefining HelperClass with Async & Await ImplementationAsynchronous Execution with Task FactoryFetch the returned value from asynchronous taskParallel execution with RunSettings FileRestSharp FrameworkGET RequestFramework Design & ImplementationPOST RequestPUT RequestDelete RequestAuthenticationToken Based Authentication - DropBox APISession Based Authentication - JIRA API