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!
Description
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!
What You Will 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
Who Should Attend!
- Everyone who knows a little of robot framework and wants/needs to automate API tests
- Test automation engineers who did not yet test API's
- API testers and test automation engineers who struggle to test bigger API responses
- API testers and test automation engineers who are interested in how to test an API with JSON schemas