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.
This course will cover, among other things:
- REST Assured
- JSON/XML response handling
- Groovy features
- Headers and cookies
- Setting request data
- Response verifications
- Performance testing
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.
- 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.