This is Simple API automation of Dmoney API. Here I have Done Automation Of User creation Like Customer and Agent Creation and Transaction Automation like Send Money,Agent To Customer Deposit,Money Withdrwal etc. I have done Assertion on Every Assertion Point and also Cover Negative test Cases.
- Clone This project
- open build.gradle file in IntelliJ IDEA
- Type gradle clean test in Terminal and Hit Enter
- Then Hit the follwing command in terminal
allure generate allure-results --clean -o allure-report
allure serve allure-results
- Java
- IntelliJ IDEA
- Rest Assured with TestNG
- Allure
- Gradle
- 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