|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/rest-assured-api-automation/
课程评论:没有评论
课程名称:从零开始学习REST Assured API自动化 + 框架 + CI 课程概述: 《REST Assured API自动化从零开始》课程支持最新的REST Assured版本5.3.2、Java 21以及所有支持库的最新版本。REST Assured API是自动化REST APIs时最流行的库之一。如今,大多数Web应用程序都基于微服务架构和REST APIs,REST在开发者社区中逐渐受到欢迎。作为QA工程师,测试REST APIs至关重要,因为其正常运作对产品至关重要。 为了加速产品交付,行业正在逐步向端到端的持续集成(CI)和持续开发(CD)过程转型。因此,自动化后端API服务显得尤为关键。这正是QA工程师需要学习REST Assured库,敢于独立自动化REST APIs的重要原因。 为什么选择本课程? 本课程是您API自动化需求的一站式解决方案,适合从初学者到能够设计和实现符合行业标准的生产级API自动化框架的人。课程涵盖丰富的内容,包括详细讲解序列化和反序列化、身份验证与授权方案及其应用实例(如Google和Spotify的OAuth 2.0实现)。课程强调高效的学习体验,短小精悍的讲解让您不浪费时间。 课程内容: - API基础知识 - HTTP基本概念 - Java编程基础 - REST Assured设置与基本操作 - 序列化与反序列化,包括复杂的POJO示例 - 多种身份验证方案,如OAuth 2.0和OpenID Connect的详细说明 - 自动化请求的各种方法 - 框架目标的实现,如可扩展性、重用性、并发执行及数据驱动测试 学习成果: 通过本课程,您将掌握REST Assured及其强大功能,具备API自动化的专业技能,并具备设计和优化自动化框架的能力。同时,您将获得与Instructor的积极互动支持,确保在学习过程中获得必要的指导。 工具与技术栈: 课程将涵盖REST Assured、TestNG、Java、Allure报告、Hamcrest、Jackson API和Lombok等内容。 附加信息: 本课程提供所有讲座中使用的代码和笔记下载,并会在问答环节中提供全方位支持。
Course Updates:Nov 2023: This course fully supports latest Rest Assured version 5.3.2, latest Java 21 and latest versions of all supporting libraries.Why learn Rest Assured and REST API automation?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. Make no mistake, REST is gaining a lot of popularity amongst the developer community. As a QA engineer, it becomes very important to test the REST APIs as a working API is crucial for a product. With great adoption of OAuth 2.0 and Open ID Connect authentication mechanisms, it also becomes important to build an in-depth understanding of these authentication mechanisms. To speed up product delivery, the industry is gradually moving towards end to end continuous integration (CI) and continuous development process (CD). So it becomes critical that the backend API services are automated to facilitate and speed up this process. This is where the role of a QA engineer becomes of utmost importance to be able to automate the backend API services. This is why you would want to learn everything about the REST Assured library to confidently automate the REST APIs and lead the effort single handedly. And, you have come to the right place! Why this is the right course for you? This REST Assured course is a one stop solution for all your API automation needs. This course will take you from the beginner level, all the way to be able to design and implement industry standard production ready API automation framework. By the end of the course, you will be confident enough to call yourself as an expert in the REST API automation space. This is probably the only course that covers serialization and de-serialization in great detail and that too with complex POJO examples. This is the only course that explains many of the authentication and authorization schemes in REST API, in a simple manner and with live examples. For OAuth2.0, we have covered two famous APIs - Google and Spotify. This is the only course that values your precious time. Lectures are short, crisp and to the point. I have spent a great amount of time editing the videos so that you don't have to waste your time just to learn a simple concept. This course covers many topics you will not find in other courses, for e.g. Lombok, Jackson Databind API, JSON Assert, Hamcrest assertions, etc. Before we start learning REST Assured and many of its cool features, I'll spend a great amount of time to explain you about the API basics, the HTTP concepts, what is REST, the HTTP methods, POSTMAN, Mocking APIs, JSON and JSON Path and also the basics of Java Programming language. These are the essentials one must become familiar with before jumping on with the REST Assured automation. I'll explain you each and every REST Assured concept with live coding and I'll not just write the code. I'll also explain you what happens behind the scenes. This is the best way to learn something new. "Why" and "How" are more important than "What"! You will learn how to think like an automation lead, plan and design the automation framework, optimizing the code, write clean tests and follow good programming practices. For e.g. you will always see me formatting the code (I hate poorly formatted code). It's a small thing, but is very important! I'm VERY RESPONSIVE in the Q & A section. I respond to queries within 24 hours. If the time zone difference is not that huge, I can respond within 3-12 hours. So, "Rest Assured", by the end of this course, you will become an expert!What topics are covered in this course?Here's the list of all the important concepts covered in this course:API EssentialsPostman EssentialsJSON EssentialsHTTP EssentialsPostman Mock ServerJava Programming BasicsGroovy JsonPathJayway JsonPathGroovy Vs JaywayRest Assured - SetupRest Assured - Getting StartedRest Assured - LoggingRest Assured - Handling HeadersRest Assured - Automate GetRest Assured - Hamcrest AssertionRest Assured - Hamcrest Collection MatchersSerialization & De-serialization: ConceptSerialization & De-serialization: POJOsSerialization & De-serialization: Role of Jackson APISerialization & De-serialization: HashMap to JSON objectSerialization & De-serialization: ArrayList to JSON arraySerialization & De-serialization: Jackson AnnotationsSerialization & De-serialization: Jackson ObjectMapperSerialization & De-serialization: Jackson ObjectNodeSerialization & De-serialization: Jackson ArrayNodeSerialization & De-serialization: Complex POJO ExampleSerialization & De-serialization: Full JSON body matchingSerialization & De-serialization: Parameterization 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 - Multipart Form DataRest Assured - Form URL EncodedRest Assured - File upload and downloadRest Assured - JSON Schema ValidationRest Assured - Logging FiltersRest Assured - ConfigsAuthentication schemes - Form/Session Based AuthenticationAuthentication schemes - Session FilterAuthentication schemes - CSRF TokenAuthentication schemes - Handling CookiesAuthentication schemes - OAuth2.0Authentication schemes - OpenID ConnectAuthentication schemes - OAuth Vs Open ID ConnectAuthentication schemes - ID TokenAuthentication schemes - OAuth Authorization Grant FlowAuthentication schemes - OAuth Implicit Grant FlowAuthentication schemes - OAuth Client Credentials FlowAuthentication schemes - Basic AuthenticationAuthentication schemes - Digest AuthenticationAuthentication schemes - Bearer TokenAuthentication schemes - APIKeyGoogle OAuth 2.0 - Configure and setup client app for authorization code grant flowGoogle OAuth 2.0 - Fetch auth code, access token and refresh tokenGoogle OAuth 2.0 - Renew access tokenGoogle OAuth 2.0 - Automate Get User Profile APIGoogle OAuth 2.0 - Automate Send Email APIGoogle OAuth 2.0 - Implicit grant flow implementationGoogle OAuth 2.0 - Open ID connect flow implementationSpotify OAuth 2.0 - Configure and setup client app for authorization code grant flowSpotify OAuth 2.0 - Fetch auth code, access token and refresh tokenSpotify OAuth 2.0 - Renew access tokenSpotify OAuth 2.0 - Automate Playlist APIFramework goals accomplished in this course:Scalable and extensibleReusable Rest Assured specificationsReusable Rest Assured API requestsSeparation of API layer from test layerPOJOs for Serialization and DeserializationSingleton Design PatternLombok for reducing Boilerplate codeBuilder pattern for Setter methods in POJOsRobust reporting and logging using AllureAutomate positive and negative scenariosSupport parallel executionData driven using TestNG Data ProviderAutomated access token renewalMaven command line executionIntegration with GitIntegration with JenkinsTech stack and tools covered in this course:Rest AssuredTestNGJavaAllure ReportsHamcrestJackson APILombokWhat else is included in the course?All the code & notes used in the lectures is available for downloadYou will get my full support in the Q & A