In this project An API is tested by using REST Assured testing tool for validation purpose and using TestNG as test runner and also test status code, validation message and the flow of API.
Here the following tasks are done:
SL | Test Cases |
---|---|
1. | Login |
2. | Get User List |
3. | Update A Specefic Value |
4. | Delete User |
5. | Search User |
- Language: Java
- Testing Tool: REST Assured
- Build tool: Gradle
- Test Runner: TestNG
- Setup jdk 8 and Gradle
- Configure JAVA_HOME and GRADLE_HOME in environment
- Download Allure 2.18.1 and configure environment
git clone https://github.com/ratnakarmaker/Dmoney_API_Testing-Rest-Assured_TestNG_Allure-Report.git
gradle clean test
- The following report is generated:
Sample Report |
---|
- For Generate Allure Report , give the following commands:
allure generate allure-results --clean -o allure-report
allure serve allure-results
Overview of Allure Report |
---|
Suites for Allure Report |
---|