API testing with REST Assured

REST Assured is an open-source Java library for validation of REST web services.  It is flexible and easy to use and supports all the HTTP methods such as GET, POST, PUT, etc.  It also supports BDD (Behavior-Driven Development) by using test notation, Given, When, and Then, which makes the tests human readable.

Rest Assured is not a test framework itself, it’s more like a validation library for REST API’s.  This means that we still need a test engineand we will be using TestNG in combination with REST Assured for that purpose.  During this course you will not learn about TestNG, but instead, we will dive into the features of REST Assured.

 

Course contents

This course will cover, among other things:

  • REST Assured
    • Introduction
    • JSON/XML response handling
    • Groovy features
    • Headers and cookies
    • Setting request data
    • Response verifications
    • Performance testing
  • Exercises

 

Each section consists of theory (mostly video material) and at the end there will be some exercises on the topics which are handled during the course.

Remarks:

  • This is not a programming course, you will not learn how to write code.  You should have a basic programming knowledge and you will learn how to use this knowledge within the java programming language.  So, to understand everything during this course a basic programming knowledge might be required.
  • For this course we assembled a list of videos, exercises, quizzes, … from different sources.  We ordered everything in a way that we believe is a good way to learn this course.

REST Assured

1
REST Assured – Basic Information
21:11
2
REST Assured – JSON/XML Response Handling
17:16
3
REST Assured – Advanced Groovy Features
14:30
4
REST Assured – Headers and Cookies
9:16
5
REST Assured – Setting Request Data
18:19
6
REST Assured – Response Verification
11:49
7
REST Assured – Performance Testing with REST Assured
6:11

REST Assured Exercises

1
REST Assured – Exercises instructions

Be the first to add a review.

Please, login to leave a review
This website uses cookies and asks your personal data to enhance your browsing experience.