Learn how to automate REST API's in Java using RESTAssured library
In this tutorial you are going to learn How to Automate the REST API's in Java using RESTAssured Library
The tech stack used for this tutorial are:
Setup your machine.
git clone https://github.com/vinaykumarvvs/api-automation-tutorial.git
File -> New -> Project from Existing Sources -> Browse Project Location -> build.gradle
auto import -> Ok
wait until the IntelliJ downloads all the dependenciesNote:
For 2nd & 3rd steps, you need to follow this way OpenTerminal/CMD -> cd <change-to-project-location>
gradle clean build runTests
or gradle clean build test
gradlew clean build runTests
or gradlew clean build test
Throughout this tutorial, I am going to use PetStore-Swagger. PetStore - Swagger is the open source project which has very good documentation with the various number of examples.