Automation of REST API in Robot Framework

The rest API's can be mainly automated by using the following libraries such as:

  • Request Library
  • HTTP Library

Both libraries are good, we will be covering the HTTP library since it has a number of keywords. There are some prerequisites to before installing the HTTP library, if you install the HTTP library directly, you won't have the following things, so it is better to install each one by using the pip command.

Install WebTest by using the below command in the command prompt

pip install WebTest

successfully-installed-webtest

Install Webob by using the below command

pip install WebTest

Install Jsonpointer by using the following command

pip install Jsonpointer

successfully-installed-jsonpointer

Install beautifulsoup by using the following command

pip install beautifulsoup

successfully-installed-beautiful-soup

Install HTTP Library by using the below command

pip install robotframework-httplibrary

successfully-installed-http-library

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions

Subscribe to See Videos

Subscribe to my Youtube channel for new videos : Subscribe Now