Skip to content

In this project contains an Api testing using Rest-assured and check the functionality of Dmoney API. Using a variety of test cases and scenarios, in this project user enables to check the functionalities of dmoney API by using rest assured framework.

Himu143/Dmoney-API-Testing-with-Rest-Assured

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dmoney-API-Testing-with-Rest-Assured

Scenerio:

  1. Call login API
  2. Create a new customer and an agent
  3. Search by the customer phone number
  4. Deposit 5000 tk to the Agent from system
  5. Deposit 2000 tk by agent to customer
  6. Check balance of customer
  7. Check statement by trnxId
  8. Withdraw 1000 tk by customer and assert expected balance
  9. Send 500 tk to another customer and assert expected balance
  10. Check customer statement

Technology and Tool Used:

  • Rest-assured
  • TestNG
  • Java
  • Gradle
  • intellij idea
  • jackson-databind
  • Allure
  • lombok

Prerequisite

  • JDK 8 or higher
  • java IDE
  • configure JAVA_HOME and GRADLE_HOME

How to run this project:

  • Clone this project
  • Hit the following command: gradle clean test

Command for Allure Report

  • After run the project give the following command for generate Allure Report ` -- allure generate allure-results --clean -o allure-report -- allure serve allure-results

Test cases:

Allure Reports:

allureReport1

allureReport2

Gradle Report:

testRunnerGradleReport userRunnerReportGradle transReportGradle

TestRunner:

User Test Runner: UserTestRunner Transaction Test Runner: TransactionTestRunner

Video Output:

2023-03-15.18-55-17.mp4

About

In this project contains an Api testing using Rest-assured and check the functionality of Dmoney API. Using a variety of test cases and scenarios, in this project user enables to check the functionalities of dmoney API by using rest assured framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages