Booking options
£149.99
£149.99
On-Demand course
13 hours 58 minutes
All levels
Are you looking to step into the REST API automation industry with the latest technologies in the market? Are you keen to learn REST API automation using REST Assured with Java and other latest framework technologies? Interested in learning how REST APIs are automated in projects? Then this course is for you.
REST Assured is an essential API automation tool, widely used for automating RESTful APIs and web services, a staple in modern web applications. As REST APIs become increasingly prevalent in application architecture, it's crucial for QA and automation engineers to master REST API test automation. These tests are favored in projects for their speed and stability compared to web automation, aligning with the industry's significant shift towards REST API automation. In this course, we begin with Java fundamentals, progressing to practical applications in Postman Client, REST Assured, TestNG, and Maven. Our real-time REST API examples provide hands-on experience, equipping you with the knowledge of industry-standard frameworks and boosting your confidence in API test automation. The course follows the structure of explaining the concept for the beginner's level and going through the advanced framework level. In it we cover real-time APIs with framework implementation such as Twitter and Google Maps examples, and everything you need to know related to REST API manual testing and automation. By the end of this course, you'll have a detailed understanding of REST API automation frameworks. With all this knowledge gained, you should be easily able to pass Selenium automation interviews.
Understand and use Postman to send requests (GET, POST, PUT, DELETE)
Learn how to write tests using real-time hosted REST APIs
Understand and use JSONPath, XML Path to assert and extract response
Understand how to write efficient and less redundant code
Add multiple assertions to a single test
Learn authentication using OAuth on Twitter's real-time hosted REST APIs
Quality assurance professionals and manual testers looking to start a career in test automation will benefit highly from the course. Quality assurance automation professionals wishing to intensify their current test automation skillsets and fresh graduates who want to make a dream career in software engineering should go for this course. Quality assurance team leads, and managers can get the advantage as well. No prior coding or automation experience is needed; this course covers all the necessary topics from scratch.
Get more than 12 hours of unique content with real example code files provided to refer to and learn with examples. The course starts with clearing basic concepts and then going through advanced-level framework implementation.
Examples are taken from testing real-time hosted REST APIs to understand how different components can be automated * A comprehensive course that starts from beginner's level and goes through to an advanced framework level * A one-stop-shop for becoming an expert in REST API automation framework from scratch
https://github.com/PacktPublishing/Rest-API-Automation-With-Rest-Assured---Novice-To-Ninja
Let's Kode It is here with a mission to teach everyone a new skill-doing what they have always wanted to do. They are a group of software professionals with more than 10 years of expertise in different areas of software industries and working as team leads in multinational companies. All their instructors have master's degrees from reputed universities. Their expertise lies in various fields of Software Development Life Cycle (SDLC)-from application development and testing to system administration. Be it programming or creating a professional-looking MS Word document, they believe anyone can code and that coding is not something out of this world. Their goal is to offer high-quality technology courses, which will suit a newbie as well as an intermediate.
1. Introduction
This section is the introductory section to the course. Here, the author discusses some of the frequently asked questions about the course, what the course contains and what you will learn from the course. The author also introduces himself and shares how users can reach him, in case of any queries or doubts.
1. Course Outcome In this video, the author discusses some of the frequently asked questions about the course, along with what the course contains and what users will learn from the course. |
2. Instructor Introduction In this video, the author introduces himself as it's important to know your instructor to enable easy contact in case of any questions. |
3. How to Reach Me Anytime and Ask Questions In this video, the author discusses multiple ways in which you can contact the author in case of any questions. |
2. Java Setup and Installation
In this section, you will learn about Java installation and setup steps for Windows and Mac.
1. Java Overview And Version Selection Learn how to choose the right Java Development Kit (JDK) version for your needs in this Java setup and installation tutorial. Discover which JDK version is best for Selenium, Jenkins, and REST Assured automation, ensuring your development environment is optimized. |
2. Java Install And Setup - Mac Learn how to install JDK (Java Development Kit) on your Mac system step by step. Ensure you have the correct JDK version for your needs and set up the Java environment, making it ready for Java development. |
3. Java Install And Setup - Windows Learn how to install JDK (Java Development Kit) on your Windows system step by step. Ensure you have the correct JDK version for your needs and set up the Java environment, making it ready for Java development. |
4. Install Eclipse - Windows In this section, you will learn how to install Eclipse on Windows. |
5. Eclipse Installation - Mac In this section, you will learn how to install Eclipse on Mac. |
3. REST API Introduction
In this section, you are introduced to the REST Application Programming Interface. You will learn about the REST API architecture, requests, headers and reference documentation of Twitter APIs.
1. REST API Architecture - Part 1 Learn about REST API architecture and its significance in connecting front-end applications (web, iOS, Android) to the server. Discover how REST API uses HTTP or HTTPS to facilitate communication, making it versatile for developers working with different programming languages. Explore real-world examples of REST API usage, such as social media login integration. |
2. REST API Architecture - Part 2 Explore REST API architecture in this lecture. Learn how front-end applications send requests (request) to servers and receive responses (response) in formats like JSON or XML, and discover how REST is stateless and language-independent, using HTTP/HTTPS for communication. |
3. What are Endpoints In this lecture we'll be exploring REST API endpoints, understanding their importance, components like URIs, resources, and parameters, and practical examples using a website to illustrate how different pages and query parameters form distinct endpoints. |
4. Get-POST-PUT-DELETE Requests Learn about four essential HTTP request methods in REST API: GET (to retrieve data), POST (to create new data), PUT (to update existing data), and DELETE (to remove data). Explore how these methods are used in web applications and how to inspect network activity using developer tools in browsers like Firefox and Chrome. |
5. Understanding Headers Diving into the details of REST API headers, the video explains their role in requests and responses, using practical examples to demonstrate how headers convey essential information like content type, authentication, and parameters for effective API communication. |
6. What To Verify In RestAPI Testing This video is a tutorial on REST API testing, focusing on understanding response status codes, using tools like Postman and Google Chrome to send requests and analyze responses, and highlighting the importance of status codes like 200 OK and 404 Not Found in API testing. |
7. Twitter API Documentation In this section, you will learn about the reference documentation of Twitter APIs. |
4. REST Client Setup
In this section, you will learn about REST Client setup.
1. Postman REST Client Installation In this video, you will learn about Postman REST Client installation. |
2. Advanced REST Client Setup In this video, you will learn about advanced REST Client installation. |
3. REST Easy Client - Setup In this video, you will learn about REST Easy Client installation. |
5. REST API Testing Using Postman Client
In this section, you will learn REST API Testing using Postman Client.
1. Understanding Google Maps API Documentation In this video, you will learn about reference documentation of Google Maps APIs. |
2. How to Get Google API Key In this video, you will learn how to get Google API Key for authentication. |
3. GET Request Postman Client - Practical Example In this video, you will see a practical example on how to send a GET Request from Postman Client. |
4. POST Request Postman Client - Practical Example In this video, you will see another practical example on how to send a GET Request from Postman Client. |
5. Delete Request Postman Client - Practical Example In this video, you will learn how to send Delete Request from Postman Client. |
6. POST-GET-DELETE Complete Workflow - Practical Example In this video, you will see an example of a complete POST-GET-DELETE Workflow. |
7. Understanding WADL Documentation In this video, you will get an overview of WADL Documentation. |
6. REST Assured Setup
In this section, you will learn how to set up REST Assured on your system.
1. REST Assured Setup - Part 1 In this video, you will learn how to set up REST Assured on your system. |
2. REST Assured Setup - Part 2 In this video, you will learn how to set up REST Assured on your system. |
3. Build Path Clean Up In this video, you will learn how to remove unnecessary JAR files from the class path. |
7. REST API Automation Overview
In this section, you will learn about how to send a GetRequest, how to get the response body after sending a request, JSON Hierarchy, how to validate responses, how to send a POST request, how to send a POST request using Java Object Serialization.
1. Get Request - Practical Example In this video, you will learn how to send a Get Request using REST Assured. |
2. How to get response body In this video, you will learn how to get the response body after sending a request. |
3. Understanding JSON Hierarchy In this video, you will learn about the JSON hierarchy. |
4. How to Validate Response Body In this video, you will learn how to validate responses using REST Assured. |
5. POST Request - Practical Example In this video, you will learn how to send a POST request using REST Assured. |
6. POST Request with Java Object Serialization In this video, you will learn how to send a POST request using Java Object Serialization with REST Assured. |
7. Query Parameters Versus Path Parameters In this video, you will learn the difference between query parameters and path parameters. |
8. OAuth Real World Twitter APIs Example
In this section, you will learn about Twitter APIs OAuth authentication scheme, generating Twitter Access Tokens, Twitter GET-POST Request using Postman and OAuth environment setup.
1. Understanding Twitter APIs OAuth In this video, you will learn about the Twitter APIs OAuth authentication scheme. |
2. How to Generate Twitter Access Tokens In this video, you will learn how to generate Twitter Access Tokens to use in REST Assured automation. |
3. Twitter GET-POST Request Using Postman In this video, you will see a practical example of GET/POST request on Twitter APIs using Postman Client. |
4. OAuth Environment Setup In this video, you will learn how to set up OAuth Environment for Twitter APIs using REST Assured automation. |
5. Twitter POST Request - Practical Example In this video, you will see a practical example of POST request on Twitter APIs using REST Assured automation. |
9. Validating JSON Response
In this section, you will learn how to validate JSON responses.
1. How to extract JSON response - Part 1 In this video, you will learn how to extract JSON response using JSON path. |
2. How to extract JSON response - Part 2 In this video, you will learn how to extract JSON response using JSON path. |
10. Twitter End-To-End Workflow
In this section, you will understand the Twitter end-to-end workflow through various examples.
1. Twitter GET Request In this video, you will see a practical example of GET request on Twitter APIs using REST Assured automation. |
2. Twitter End-To-End Workflow In this video, you will see a practical example of POST/GET/DELETE requests on Twitter APIs using REST Assured. |
3. Path Parameter Usage in Twitter Workflow In this video, you will see a practical usage of path parameter in twitter workflow using REST Assured automation. |
11. Validating XML Response
In this section, you will learn how to validate XML responses.
1. How to Extract XML Response - Part 1 In this video, you will learn how to extract XML response using XML path. |
2. How to Extract XML Response - Part 2 In this video, you will learn how to extract XML response using XML path. |
12. Request and Response Logging
In this section, you will learn about request and response logging using REST Assured automation.
1. Request and Response Logging Introduction In this video, you will get an introduction to request and response logging using REST Assured automation. |
2. REST API Request Logging In this section, you will learn how to log requests using REST Assured automation. |
3. REST API Response Logging In this video, you will learn how to log responses using REST Assured automation. |
13. REST Assured Assertions
In this section, you will learn about REST Assured Assertions.
1. What to validate in REST Assured? In this video, you will learn what to verify using REST Assured automation. |
2. Hard Asserts Using REST Assured In this video, you will learn how to assert output using REST Assured automation. |
3. Soft Asserts Using REST Assured In this video, you will learn how to assert multiple outputs using REST Assured automation. |
14. Useful Tricks
In this section, the author shares some useful tricks to remember in REST Assured automation.
1. Root Path - Practical Example In this video, you will learn the concept of Root Path in REST Assured automation. |
2. How to Check Response Time In this video, you will learn how to check response time using REST Assured automation. |
15. REST Assured Specifications
In this section, you will learn about specifications in REST Assured automation.
1. REST Assured Specifications Advantages In this video, you will learn about the advantages of using REST Assured specifications. |
2. Request Specification In this video, you will see a practical example of request specification using REST Assured automation. |
3. Response Specification In this video, you will see a practical example of response specification using REST Assured automation. |
4. Clubbing Request and Response Specification In this video, you will see a practical example of request and response specification using REST Assured automation. |
16. Automation Framework - Part 1
In this section, you will learn about automation framework.
1. Advantages of Automation Framework In this video, you will learn about the advantages of using an automation framework. |
2. Maven Project Setup In this video, you will learn how to set up Maven project. |
3. Organizing Framework Constants In this video, you will learn how to organize constants in an automation framework. |
4. Project Dependencies Setup In this video, you will learn how to add Maven project dependencies. |
17. Automation Framework - Part 2
In this section, you will learn about automation framework.
1. Building REST Utilities - Part 1 In this video, you will learn how to build a utility class for REST Assured API automation. |
2. Building REST Utilities - Part 2 In this video, you will learn how to build a utility class for REST Assured API automation. |
3. Building REST Utilities - Part 3 In this video, you will learn how to build a utility class for REST Assured API automation. |
4. Building REST Utilities - Part 4 In this video, you will learn how to build a utility class for REST Assured API automation. |
18. Automation Framework - Part 3
In this section, you will learn about automation framework.
1. User Timeline Framework Test - Part 1 In this video, you will learn how to convert the User Timeline test class to framework test class using REST Assured API automation. |
2. User Timeline Framework Test - Part 2 In this video, you will learn how to convert the User Timeline test class to framework test class using REST Assured API automation. |
3. User Timeline Framework Test - Part 3 In this video, you will learn how to convert the User Timeline test class to framework test class using REST Assured API automation. |
19. Practice Exercise
This section consists of practice exercises to convert Twitter End-To-End Workflow test class to framework test class.
1. Practice Exercise Question In this video, you will find practice exercises to convert Twitter End-To-End Workflow test class to framework test class. |
2. Practice Exercise Solution In this video, you will find practice exercises to convert Twitter End-To-End Workflow test class to framework test class. |
20. End-To-End Framework Execution
In this section, you will learn about End-To-End framework execution.
1. Running End-To-End Framework Using TestNG In this video, you will learn how to run a complete suite using TestNG. |
2. End-To-End Framework Execution Using Maven In this video, you will learn how to run a complete suite using Maven. |
21. Git and GitHub - Version Control System
In this section, you will focus on Git and GitHub - Version Control System (VCS).
1. Git and GitHub Introduction In this video, you will get an introduction to Git and GitHub and will also learn about the difference between Git and GitHub. |
2. Git Installation on Windows In this video, you will learn how to set up Git on Windows. |
3. Git Installation on Mac In this video, you will learn how to set up Git on Mac OSX. |
4. Create Local Git Repository - Staging and Commit In this video, you will learn how to create a local Git repository and how to add files to staging environment and commit to local Git repository. |
5. File Checkin - GitHub Remote Repository Exploring Git and GitHub for collaboration: Creating a local Git repository, initializing and committing files, setting up a remote GitHub repository, understanding cloning, adding and pushing changes, and the importance of regularly pulling updates to avoid merge conflicts." |
6. Advantages and Importance of Git Branches In this section, you will learn the advantages and importance of Git Branches. |
7. File Checkin and Resolve Merge Conflicts - Real Time Example In this video, you will learn how to check in files to GitHub remote repository and how to resolve merge conflicts. |
8. Course Code Files on GitHub In this section, you will learn where to download all the code files related to the course lectures. |
9. GitHub Project Check-in and Git Clone In this video, you will learn how to check-in project to GitHub and clone a GitHub repository. |
22. Continuous Integration with Jenkins
In this section, you will focus on continuous integration with Jenkins.
1. Jenkins Features and Advantages In this video, you will learn about the features and advantages of Jenkins. |
2. Jenkins Prerequisites In this video on we cover installing Jenkins, highlighting the essential hardware requirements such as RAM and drive space, and the critical software requirement of having the correct Java version installed, with a focus on choosing the latest supported Java version for optimal compatibility. |
3. Jenkins Setup And Installation - Generic WAR File A comprehensive guide on installing Jenkins using a WAR file on Windows, including steps for downloading the stable Long Term Support version, setting up Jenkins, and customizing by selecting essential plugins. The video also touches on potential limitations when installing Jenkins on a Mac and advises using Windows for optimal performance. |
4. Jenkins Setup and Installation - Windows This video provides a step-by-step guide on installing Jenkins on a Windows system. It covers downloading the stable Long Term Support version of Jenkins from the official website, extracting and executing the installer, and navigating the setup wizard. |
5. Jenkins Setup and Installation - Mac This video tutorial is a step-by-step guide to installing and uninstalling Jenkins on a Mac system, covering the download process, setup of initial admin user and plugins, and concluding with the uninstallation procedure. |
6. Jenkins Configuration In this video, you will learn how to do Java and Maven configuration on Jenkins. |
7. Securing Jenkins In this video, you will learn how to create users on Jenkins and assign them permissions based on role. |
8. Jenkins Plugins Management In this section, you will learn how to install, uninstall, and update plugins in Jenkins. |
9. Building A Freestyle Project Using Jenkins and GitHub In this video, you will learn how to build a freestyle project using Jenkins and GitHub. |
23. Build Management with Maven
In this section, you will learn about build management with Maven.
1. Introduction In this video, you will get an introduction to the approach followed in this section. |
2. Maven Features and Advantages In this video, you will learn about the features and advantages of Maven. |
3. Maven Setup and Installation In this video, you will learn how to set up and install Maven. |
4. Creating and Importing Maven Project In this video, you will learn how to create and import a Maven project. |
5. Maven Local and Central Repositories In this video, you will learn about Maven local and central repositories. |
6. Pom Explanation In this section, you will learn about Pom file, which is the core of Maven. |
7. Build Lifecycle and Maven Commands In this video, you will learn about building lifecycle and maven commands. |
24. Conclusion
In this section, the author concludes the section.
1. BONUS: Other Cool Stuff In this video, the author talks about the other courses provided by them. |