Skip to content

Dmoney API Testing With Rest Assured is a process of testing API endpoints of Dmoney using the Rest-Assured library in Java. Rest-Assured is a popular Java-based library for testing RESTful web services, and it provides a fluent interface for creating HTTP requests and asserting responses.

Notifications You must be signed in to change notification settings

mufrad12/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

Dmoney API Testing With Rest Assured is a process of testing API endpoints of Dmoney using the Rest-Assured library in Java. Rest-Assured is a popular Java-based library for testing RESTful web services, and it provides a fluent interface for creating HTTP requests and asserting responses.

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
  • Java
  • Gradle
  • TestNG
  • Intellij Idea
  • Allure

Test Case Report:

https://docs.google.com/spreadsheets/d/1e-oaXUjn-YjhY2QHUapt4Ul0q2JQ96zsMtitKIh-x8U/edit?usp=sharing

How to run this project

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

The following report is generated:

Screenshot 2023-03-15 042826

  • For generating Allure Report use these commands: allure generate allure-results --clean -o allure-report and allure serve allure-results

Allure Report:

Screenshot 2023-03-15 042235

Screenshot 2023-03-15 042248

Video Output:

Rest.Assured.Automation.mp4

About

Dmoney API Testing With Rest Assured is a process of testing API endpoints of Dmoney using the Rest-Assured library in Java. Rest-Assured is a popular Java-based library for testing RESTful web services, and it provides a fluent interface for creating HTTP requests and asserting responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages