How to Add Cucumber Layer on Top of REST-assured API Tests?


We can add the Cucumber layer on top of Rest Assured API tests. This can be done by following the below steps:

Step 1 − Create a Maven project. The details on how to create a Maven project is discussed in detail in the below link −

https://www.tutorialspoint.com/maven/index.htm

Step 2 − Add the following dependencies in the pom.xml file in the project for Cucumber.

Step 3 − Add the following dependencies in the pom.xml file in the project for Rest Assured.

Updated on: 17-Nov-2021

231 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements