What Is Programming? And How To Get Started
January 28, 2025
Article
Recommended experience
Intermediate level
Ideal for software testers, QA engineers, and developers looking to automate REST API testing using REST Assured. Basic Java knowledge is required.
Recommended experience
Intermediate level
Ideal for software testers, QA engineers, and developers looking to automate REST API testing using REST Assured. Basic Java knowledge is required.
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
Add to your LinkedIn profile
October 2024
5 assignments
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
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.
As you advance through the course, you'll gain hands-on experience in handling request parameters, headers, and cookies. A dedicated section on authentication covers techniques like OAuth and basic auth, ensuring that you're equipped to work with secure APIs. Moreover, you’ll learn how to validate JSON and XML schemas, ensuring your APIs meet specific structural requirements. In the final part, the course expands into API mocking using WireMock, teaching you how to virtualize web services and run tests without relying on live environments. By the end, you'll be well-versed in both REST Assured and testing best practices, ready to apply your knowledge to real-world projects. 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. Basic knowledge of Core Java is required for quick understanding.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
6 videos2 assignments
Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
Coursera Project Network
Course
Coursera Project Network
Course
Coursera Instructor Network
Course
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Earn a degree from world-class universities - 100% online
Upskill your employees to excel in the digital economy
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.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is one of a few offered on Coursera that are currently available only to learners who have paid or received financial aid, when available.
You will be eligible for a full refund until two weeks after your payment date, or (for courses that have just launched) until two weeks after the first session of the course begins, whichever is later. You cannot receive a refund once you’ve earned a Course Certificate, even if you complete the course within the two-week refund period. See our full refund policy.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.