API Testing | RestAssured | Introduction | Environment Setup | HTTP Methods
SDET- QA Automation Techie
Introduction to Rest Assured
Rest Assured is an API that allows us to automate REST APIs. It is similar to Selenium WebDriver and can
be considered a library. Rest Issue is another API or library that provides additional classes and methods
to Rest Assured when downloaded.
Prerequisites
Java
Eclipse
Maven
Java is optional as it comes bundled with Eclipse. Maven is a different framework that comes with
Eclipse.
Working with Rest Assured
To use Rest Assured, we will use the Java and Eclipse combination. We can send GET, POST, DELETE, and
PUT requests using Rest Assured. We can work with Rest Assured in a similar way to Selenium
WebDriver.
Installation
Java 9+ is recommended but Java 8 is also fine. TestNG comes with Eclipse and supports at least Java 9.
The latest version of Eclipse is also suggested to include Java 9. However, the standard version of Java is
not required to use TestNG or run multiple tests.
To install Eclipse, go to their official website and download the installer. If you haven't installed Java, a
small document is available with instructions on how to download and install both Java and Eclipse.+
SDET- QA Automation Techie
Introduction to Rest Assured
Rest Assured is an API that allows us to automate REST APIs. It is similar to Selenium WebDriver and can
be considered a library. Rest Issue is another API or library that provides additional classes and methods
to Rest Assured when downloaded.
Prerequisites
Java
Eclipse
Maven
Java is optional as it comes bundled with Eclipse. Maven is a different framework that comes with
Eclipse.
Working with Rest Assured
To use Rest Assured, we will use the Java and Eclipse combination. We can send GET, POST, DELETE, and
PUT requests using Rest Assured. We can work with Rest Assured in a similar way to Selenium
WebDriver.
Installation
Java 9+ is recommended but Java 8 is also fine. TestNG comes with Eclipse and supports at least Java 9.
The latest version of Eclipse is also suggested to include Java 9. However, the standard version of Java is
not required to use TestNG or run multiple tests.
To install Eclipse, go to their official website and download the installer. If you haven't installed Java, a
small document is available with instructions on how to download and install both Java and Eclipse.+