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.
- Call login API
- Create a new customer and an agent
- Search by the customer phone number
- Deposit 5000 tk to the Agent from system
- Deposit 2000 tk by agent to customer
- Check balance of customer
- Check statement by trnxId
- Withdraw 1000 tk by customer and assert expected balance
- Send 500 tk to another customer and assert expected balance
- Check customer statement
- Rest Assured
- Java
- Gradle
- TestNG
- Intellij Idea
- Allure
https://docs.google.com/spreadsheets/d/1e-oaXUjn-YjhY2QHUapt4Ul0q2JQ96zsMtitKIh-x8U/edit?usp=sharing
- Clone this project
- Hit the following command into the terminal:
gradle clean test
- For generating Allure Report use these commands:
allure generate allure-results --clean -o allure-report
andallure serve allure-results