Robot framework REST API testing with JSON schema

Learn to automate your Rest API tests with robot framework, python and JSON schema – with hands on exercises!

Are you tired of testing API’s manually? Or testing it automatically but you are struggling to validate big API responses?

What you’ll learn

  • Test REST api JSON responses automatically against a self designed JSON schema.
  • Build up a basic structure for a new robot framework test project.
  • Build GET/POST/DELETE requests with the robot framework request-library.
  • How to read and write JSON schemas.
  • Write, run and debug robot framework testcases in VScode with the robot framework language server.
  • Test an API with datadriven tests and valid suite setups/teardowns.
  • Understand the basic usage of postman.
  • Understand how schema tests are used to test data structure of responses.

Course Content

  • Introduction and installation –> 7 lectures • 39min.
  • The theory part. –> 4 lectures • 16min.
  • Setting up some code to write our first tests –> 7 lectures • 47min.
  • Write some more advanced tests –> 11 lectures • 1hr 12min.
  • Looking back and forward –> 1 lecture • 1min.

Auto Draft


  • You need to have a basic understanding of robot framework.
  • You do easier with some basic understanding of python.
  • You need to know the basics of REST API’s and request types like GET/POST/DELETE.

Are you tired of testing API’s manually? Or testing it automatically but you are struggling to validate big API responses?

This course is designed for people, that have a basic understanding of testing API’s manually and/or automated, but are searching for the next step how to automate API tests more convenient and by getting more information from the tests. In this basic course, you will learn to write automated API tests in robot framework by using python and the JSON schema with the simplest learning method – with a lot of practice. Using a self written API, which is designed specifically for this course, we will be automating a total of 8 different kinds of tests together.

The API will be downloaded and hosted by yourself, so you can always access and test against it. It is designed to be able to receive GET, POST and DELETE requests, so you learn by yourself how to read, write and delete data from it.


I will guide you in this course to learn things like:


  • Install and learn the basics of postman
  • Test an API manually with postman
  • What a JSON schema is and how to write/read it
  • How to use the JSON schema within testing
  • How to setup a basic project in robot framework
  • Write python code and use it as a library in robot framework
  • Write, run and debug robot framework code against an API
  • Use the robot framework requests library with inbuilt status code verification
  • Write robot framework tests against the API by using GET/POST/DELETE requests
  • Verify the format of bigger JSON loads
  • Modify JSON schemas to get even more out of it

This course will walk you through installing everything that is needed, setting up the test API as well as creating a robot framework API testing project from scratch. After this, you will know how you are able to test even bigger API’s and big requests and responses!


Get Tutorial