|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/rest-api-testing-using-csharp-restsharp-and-specflow/
课程评论:没有评论
课程名称:使用 C# RestSharp 和 SpecFlow 进行 REST API 测试 课程概述: RestSharp 是一个极受欢迎的 .NET REST API 客户端库,能够高效地自动化 REST API。本课程旨在涵盖 REST API 自动化的基础到高级概念。即使有基本的 C# 知识,您也能跟随并实现课程内容。课程将深入讲解 RestSharp 的重要部分,以及如何自动化您的 REST API 测试。此外,我使用了 NewtonSoft Json.NET 来进行 JSON 的序列化和反序列化。***2022年1月:该课程已更新以适应 RESTSHARP v107(重大升级)*** 旧接口如 IRestClient 将使用 RestClient 类实例,IRestRequest 将使用 RestRequest 类实例,IRestResponse 将使用 RestResponse 类实例。 课程包含多个实际场景和实现,主要内容包括: - REST API 基础 - API 测试基础 - RestSharp 介绍 - 从基础到高级的 RestSharp 概念 - API 自动化框架的实现 - 自定义助手类 - 使用 Json.Net 处理 JSON - BDD SpecFlow 集成 - 使用模型处理大型负载 - 数据驱动测试 - Extent 报告 通过本课程,您将能够实施符合业界最佳编码实践的 API 测试框架。该解决方案可用于自动化您的项目 REST API,而无需进行重大更改。此外,我将尽量保持课程与 RestSharp 库的任何更新同步。
RestSharp (Probably, the most popular REST API client library for.NET) is a powerful library to automate REST API using C#. This course is designed to cover basic to advance concepts of REST API automation. Even with basic knowledge of C#, you will be able to follow and implement. I will explain about important part of RestSharp and how to automate your REST API tests. I have used NewtonSoft Json.NET to serialize and deserialize JSON. ***JAN 2022: COURSE UPDATED TO WORK WITH RESTSHARP v107 (which is major upgrade)***Deprecated interfacesIRestClient: will be using the RestClient class instance.IRestRequest: will be using the RestRequest class instance.IRestResponse: will be using the RestResponse class instance.IHttpThis course provides many different practical scenarios and implementation. Overview of the course topicsBasics of Rest APIsBasics of API testingIntroduction of RestSharpBasic to advance concept of RestSharpImplementation of API Automation FrameworkCustom helper classesWorking with Json.NetIntegration of BDD SpecFlowHandling of large payloads using ModelsData driven testingExtent reportsYou will be able to implement API test framework with best coding practices in the industry. This solution can be utilized to automate your project REST APIs without major changes. I will try to keep course updated with any changes in the RestSharp library as soon it is released.