Discover how to perform automation testing with REST API using REST Assured. You will start from scratch and go through advanced REST API framework levels with the help of real-world examples.
Key Features
- 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
Book Description
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
What you will learn
- 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
Who this book is for
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.