Skip to content

An automated API(Dmoney API) testing by REST Assured(testing tool) and TestNG(test runner)

Notifications You must be signed in to change notification settings

ratnakarmaker/Dmoney_API_Testing-Rest-Assured_TestNG_Allure-Report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Testing with TestNG report generated by Allure

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

Used Technology :

  • Language: Java
  • Testing Tool: REST Assured
  • Build tool: Gradle
  • Test Runner: TestNG

Prerequisites

  • Setup jdk 8 and Gradle
  • Configure JAVA_HOME and GRADLE_HOME in environment
  • Download Allure 2.18.1 and configure environment

Clone From:

git clone https://github.com/ratnakarmaker/Dmoney_API_Testing-Rest-Assured_TestNG_Allure-Report.git

Project Run by the following command:

gradle clean test 
  • The following report is generated:
Sample Report
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
allure-overview
Suites for Allure Report
allure-suites

About

An automated API(Dmoney API) testing by REST Assured(testing tool) and TestNG(test runner)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages