Skip to content

This repository contains the source code for automated testing of Dmoney API using Rest Assured library. The tests cover various endpoints and scenarios, ensuring the API functions as expected. The project includes test suites, utilities for test data preparation, and configuration files for test execution.

Notifications You must be signed in to change notification settings

touhid-96/REST-Assured-Project-Dmoney-API-Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST Assured Project Dmoney API Testing

Scenario

  • Do Login by admin
  • Create 2 new customers and an agent
  • Give 2000 tk from System account to the newly created agent
  • Deposit 1500 tk to a customer from the agent account
  • Withdraw 500 tk by the customer to the agent
  • Send money 500 tk to another customer
  • Payment 100 tk to a merchant (01712121212) by the recipient customer
  • Check balance of the recipient customer

Technology and Tool Used

  • REST Assured
  • Commons Configuration
  • Jackson Databind
  • TestNG
  • Java
  • Gradle
  • Intellij idea

Collection

Prerequisite

  • JDK 11 or higher
  • java IDE
  • Configure environment variable for Java, Gradle and Allure Report

How to run this project

  • Clone the project
  • Execute the following command on the project directory
    gradle clean test

Generate Allure Report

  • Execute the following commands (after finishing the project run)
    allure generate allure-results --clean
    allure serve allure-results --clean

Allure Reports

1 overview

2 suites

3 graph

4 behaviors

5 packages

Gradle Report

gradle

About

This repository contains the source code for automated testing of Dmoney API using Rest Assured library. The tests cover various endpoints and scenarios, ensuring the API functions as expected. The project includes test suites, utilities for test data preparation, and configuration files for test execution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages