Booking options
£41.99
£41.99
On-Demand course
5 hours 27 minutes
All levels
This course is filled with hands-on and real-time examples to help you understand the concepts and implement them on the go. 75% of the IT industry is now heading toward this API for automating services. Learn everything you need to know about REST API automation, even if you have never worked before in this domain.
REST Assured is a powerful set of APIs used to automate RESTful APIs/RESTful web services (just like Selenium WebDriver for web applications). Almost all web applications use REST APIs to communicate with the backend and it has gained a lot of popularity in modern-day application architecture. It is very important for QA/automation engineers to understand how to automate REST API tests. Automating REST API tests are crucial for projects because REST API tests are quick to run and more stable, unlike web automation. 75% of the IT industry is now moving toward REST API automation. Explore the world of REST API with this hands-on course. You will not only learn the concepts from scratch but also implement them during your course of learning. This course starts from introducing some basic concepts of APIs, followed by setting up REST Assured using Maven. After that, you see POST, PUT, and DELETE operations and logging of the REST Assured library. Then, you will be handling request parameters, working with headers and cookies, and authentication. Then, you will see XML and JSON schema validation and WireMock. Finally, you will look at various miscellaneous operations. By the end of this course, you will have complete knowledge of REST API automation testing using REST Assured. All the code files and resource files are uploaded on the GitHub repository at: https://github.com/PacktPublishing/Learn-REST-API-Automation-Using-REST-Assured
Install Postman, and understand XML and JSON schema validation
Understand various types of logging in REST Assured
Work with headers and cookies and HTTP methods
Use OAuth 1.0 and OAuth 2.0
Look at XML namespace validation and Response Aware Matcher
Create Mock WebService using WireMock
This course is designed for the QE automation engineer, Selenium WebDriver automation aspirant, manual testing professional willing to jumpstart their automation career, and QTP/UFT professional wanting to switch to API automation as per testing market demand. This course will benefit the QE manager exploring better automation solutions for their project, and fresh graduates looking to learn (coding and automation) a quick new skill that has a high demand in the job market.
Basic knowledge of Core Java is required for quick understanding.
The course is intended for example-oriented teaching. So, you won't find any PPTs during the sessions. But you will find dozens of real-time scenarios used to elaborate various API automation concepts.
All sessions are divided into small videos of less than 20 minutes, followed by resource files.
A comprehensive yet concise course with hands-on concepts and exercises * Assignments with answer keys are provided wherever necessary * Learn REST API automation-basic to advance with all the materials included
https://github.com/PacktPublishing/Learn-REST-API-Automation-Using-REST-Assured
Mayur Deshmukh is a founder and instructor at De ZINNIA Learning, which is a company dedicated to providing industry-standard training on software automation testing tools and programming languages. Their programs include extensive hands-on training in Java, C#, Python, Selenium WebDriver, Appium, TestNG, Cucumber (BDD), continuous integration, Jenkins, REST, SOAP API automation, WireMock, and Gatling load testing. Mayur motivates his students to keep up a learner's attitude to be able to adopt new technologies to sustain and grow in this dynamic software industry.
1. Basics Concepts of APIs
1. What Is an API? This video explains about API in detail. |
2. Postman Basics This video explains about the basics of Postman. |
3. API Methods This video talks about API methods. |
4. HTTP Status Codes This video explains about HTTP status codes. |
5. REST Versus SOAP This video explains about REST versus SOAP. |
6. What is REST Assured? This video explains about REST Assured. |
7. JSON and JSON Path This video explains JSON and JSON Path. |
8. JSON Schema This video talks about JSON schema. |
2. Getting Started with REST Assured
1. REST Assured Setup Using Maven This video helps you install REST Assured using Maven. |
2. Simple Get Request This video talks about a simple Get request. |
3. Validate JSON Response This video demonstrates how to validate JSON response. |
4. Validate XML Response This video demonstrates how to validate XML response. |
5. Extracting Response Data This video explains extracting response data. |
6. Extracting Single Value from Response This video explains extracting a single value from Response. |
7. Verifying Status Line This video talks about verifying status line. |
3. POST, PUT, and DELETE
1. POST Using File This video explains how to POST using File. |
2. POST Using JSON Object This video demonstrates how to POST using JSON object. |
3. PUT Operation This video explains the PUT operation. |
4. DELETE Operation This video explains the DELETE operation. |
4. REST Assured Logging
1. Log All This video talks about Log All. |
2. Log Body and Headers This video demonstrates log body and headers. |
3. Log Cookies and Status This video explains log cookies and status. |
4. Log If Error This video explains log if error. |
5. Log If Validation Fails This video talks about log if validation fails. |
5. Handling Request Parameters
1. Query Parameters This video talks about query parameters. |
2. Multiple Query Parameters This video focuses on multiple query parameters. |
3. Multi-Value Parameters This video explains about multi-value parameters. |
4. Path Parameters This video explains about path parameters. |
5. Form Parameters This video explains about form parameters. |
6. Working with Headers and Cookies
1. What Are Headers? This video explains about headers. |
2. Sending Request Headers This video explains how to send request headers. |
3. Sending Headers Using Objects This video explains how to send headers using objects. |
4. Sending Cookies This video demonstrates how to send cookies. |
5. Sending Cookies Using Builder This video explains how to send cookies using Builder. |
6. Validating Response Headers This video explains how to validate response headers. |
7. Extracting Response Headers This video explains how to extract response headers. |
8. Extracting Response Cookies This video demonstrates how to extract response cookies. |
7. Authentication
1. Basic and Digest Auth This video explains about basics and digest authentication. |
2. 'scribejava' Maven Dependency for OAuth This video talks about 'scribejava' Maven dependency for OAuth. |
3. OAuth 1.0 This video focuses on OAuth 1.0. |
4. Twitter OAuth Example This video talks about a Twitter OAuth example. |
5. OAuth 2.0 This video talks about OAuth 2.0. |
8. XML and JSON Schema Validation
1. JSON Schema Validation This video talks about JSON schema validation. |
2. XML DTD Schema Validation This video talks about XML DTD schema validation. |
3. XML XSD Schema Validation This video talks about XML XSD schema validation. |
9. WireMock: WebService Virtualization
1. Why API Mocking? This video explains why API Mocking is important. |
2. WireMock Setup This video helps in setting up WireMock. |
3. Running Mock Server on HTTP / HTTPS Ports This video is about running a mock server on HTTP / HTTPS ports. |
4. Writing WireMock Stubs This video explains how to write WireMock Stubs. |
5. Stub Mapping with 'File' Body This video demonstrates how to do stub mapping with 'file' body. |
6. Recording WireMock Stub Mappings This video explains recording WireMock stub mappings. |
10. Miscellaneous Operations
1. Specifying Request Port This video helps in specifying the request port. |
2. Default Configuration Setup in REST Assured This video is about the default configuration setup in REST Assured. |
3. Validating Response Time This video explains how to validate response time. |
4. XML Namespace Validation This video explains XML namespace validation. |
5. Validating Response Using Response Parts This video explains how to validate response using response parts. |
6. Response Aware Matcher This video talks about response aware matcher. |