Skip to content

This is a sample REST API Test Automation Framework using Java, REST Assured, Cucumber BDD, and Maven. The project demonstrates CRUD operations on product APIs.

Notifications You must be signed in to change notification settings

sandipchopkar95/Java_RestAssured_BDD_Cucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST Assured BDD Framework

This is a sample REST API Test Automation Framework using Java, REST Assured, Cucumber BDD, and Maven. The project demonstrates CRUD operations on product APIs.


📁 Project Structure


src/
│
├── main/java/com/example/productapi
│ ├── apirouting/ # Base REST call routing setup
│ ├── config/ # API and Global config files
│ ├── product/ # Product configuration classes
│ ├── modules/products/ # Business logic modules for product operations
│ ├── pojos/productPayloads/ # Request and response payload POJOs
│ ├── restAssuredApiCalls/ # Core REST Assured call utilities
│ ├── utils/sontopojo/ # JSON utility helpers
│
├── test/java/product/cucumber
│ ├── runners/ # Cucumber test runners
│ ├── stepdefinitions/ # Glue code for step definitions
│
├── resources/features/products/ # Feature files (Add, Get, Update, Delete)
│
├── pom.xml # Maven configuration

✅ Features Implemented

  • Add Product
  • Get Products
  • Update Product
  • Delete Product

Each feature is covered through:

  • Cucumber feature file (.feature)
  • Step Definitions in Java
  • Modular and reusable code structure

🚀 Tools & Technologies


🔧 Setup & Execution

Prerequisites

  • Java JDK 11 or higher
  • Maven installed
  • IDE (e.g., IntelliJ, Eclipse)

Run Tests

To execute the tests via Maven:

mvn clean test

About

This is a sample REST API Test Automation Framework using Java, REST Assured, Cucumber BDD, and Maven. The project demonstrates CRUD operations on product APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published