Building API Test Automation Framework Using Rest Assured

Offered By
Coursera Project Network
In this Guided Project, you will:

Understanding test automation frameworks

Writing reusable components and utilities

creating layered and structured code

Clock3 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

API stands for Application Programming Interface which helps two independent software to communicate with each other. When an application is built, the functionalities are built first as APIs and then integrated with the frontend layer (UI). Waiting for integration to find bugs in the application will add a lot of costs. The later the bugs are found in the system, the more cost it adds to the application. API Testing helps reduce the cost as it will be performed before integration with frontend (or UI). RestAssured is one of the best test automation tools to test APIs with Java programming language. It's an open-source tool and is very easy to code using Rest Assured. This project will provide you step by step instructions to write scripts to automate API testing using Rest Assured and build test automation frameworks, to write reusable components and utilities, to create layered and structured code and generate interactive reports

Skills you will develop

Software TestingFramework DevelopmentApi TestingTest Automation

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Understanding Test Automation Framework and project setup

  2. Creating automation layer and custom rest client

  3. Writing logic in the application layer

  4. Write first test case to test GET HTTP method in test layer

  5. Adding test cases to test POST, PUT, PATCH and DELETE HTTP methods

  6. Method Chaining - Testing an end to end call flow

  7. Optimizing Code

  8. Reading configuration from config file

  9. Utility to generate HTML reports using Extent Reports

  10. Generate HTML report using Extent Report

  11. Marking test status in report

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.