This course introduces you to REST Assured, a powerful Java library for automating REST API testing. Beginning with the fundamentals, you'll learn what APIs are, the differences between REST and SOAP, and how to interact with APIs using HTTP methods. The course then dives into the essentials of REST Assured setup and key API testing methods like GET, POST, PUT, and DELETE. You'll also explore how to validate JSON and XML responses and work with status codes.
Recommended experience
What you'll learn
Understand how to set up REST Assured for API automation
Apply JSON and XML validation techniques in API testing
Analyze and troubleshoot API authentication and authorization
Create automated API test cases with REST Assured and WireMock
Details to know
Add to your LinkedIn profile
October 2024
5 assignments
See how employees at top companies are mastering in-demand skills
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 10 modules in this course
In this module, we will cover the foundational concepts of APIs, including what they are, how they work, and key aspects such as HTTP methods, status codes, and the differences between REST and SOAP. We'll also introduce essential tools like Postman and JSON, preparing you for hands-on API automation.
What's included
8 videos1 reading
In this module, we will guide you through the initial setup of REST Assured and help you perform simple API requests. You’ll learn how to validate responses, extract data, and handle status codes, laying the groundwork for API automation.
What's included
7 videos
In this module, we will explore the key HTTP methods—POST, PUT, and DELETE. You’ll learn how to send data to APIs, update existing records, and delete data, gaining practical experience with REST Assured in manipulating resources.
What's included
4 videos1 assignment
In this module, we will focus on logging in REST Assured. You’ll learn how to log various components like request bodies, headers, cookies, and status codes, which will help in debugging and improving the transparency of your API tests.
What's included
5 videos
In this module, we will cover how to handle different types of parameters in REST Assured. You’ll learn to use query and path parameters effectively, along with managing multiple and multi-value parameters to ensure flexibility in your API automation.
What's included
5 videos
In this module, we will explore how to work with headers and cookies in REST Assured. You’ll gain skills in sending and validating these components, ensuring secure and effective communication between your tests and APIs.
What's included
8 videos1 assignment
In this module, we will dive into API authentication methods. From basic and digest authentication to OAuth, you’ll learn how to secure your API interactions and integrate with services requiring advanced authentication.
What's included
5 videos
In this module, we will focus on schema validation for both JSON and XML responses. You’ll learn how to ensure API data integrity and consistency by validating responses against predefined schemas using REST Assured.
What's included
3 videos1 assignment
In this module, we will introduce you to WireMock for API virtualization. You’ll learn to mock API endpoints, create stubs, and run mock servers, enabling efficient and isolated testing of APIs without relying on live systems.
What's included
6 videos
In this module, we will cover various advanced features in REST Assured, including configuring defaults, validating response time, and using response-aware matchers. These tools will enhance the flexibility and efficiency of your API automation testing.
What's included
6 videos2 assignments
Instructor
Offered by
Recommended if you're interested in Software Development
Why people choose Coursera for their career
New to Software Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.