REST Assured API Automation from scratch + Framework + CI

via Udemy

Go to Course: https://www.udemy.com/course/rest-assured-api-automation/

Overview

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

Skills

Reviews