Skip to content

API ( http://dmoney.professionaltrainingbd.com/ ) API is tested by using REST Assured framework integrated with TestNG as testing framework for validation purpose. Here, the status codes, validation messages and the flow of API is tested using a Dmoney API where there is login,searching,creating,updating and deleting features.

Notifications You must be signed in to change notification settings

aladnansami/Rest-Assured-Api-Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest_Assured_API_Testing

API

API is tested by using REST Assured framework integrated with TestNG as testing framework for validation purpose. Here, the status codes, validation messages and the flow of API is tested using a Dmoney API where there is login,searching,creating,updating and deleting features. Here the following tasks are done:

  • Login feature tested using proper valiadtion,negative test cases added for email and password.
  • Can get user list by user authorization token, both positive and negative test cases are added for it.
  • Can search any user by proper id.
  • Can create a user by random name,email,password,nid and phone number using proper validation and secret key token.
  • Can update any user by the corresponding id, validated using PUT and PATCH method.
  • Can delete any user by the id, negative test cases are added for it.
  • The variables are set and used from config.properties file.

Technology:

  • Tool: REST Assured
  • IDE: Intellij
  • Build tool: Gradle
  • Language: Java
  • Test_Runner: TestNG

Prerequisites

  • Install jdk 8 or any LTS versio
  • Configure JAVA_HOME and GRADLE_HOME
  • Download Allure 2.18.1 and configure environment path
  • Stable internet connection

Project Run

  • Clone the repo.

Run the Automation Script by the following command:

gradle clean test 

About

API ( http://dmoney.professionaltrainingbd.com/ ) API is tested by using REST Assured framework integrated with TestNG as testing framework for validation purpose. Here, the status codes, validation messages and the flow of API is tested using a Dmoney API where there is login,searching,creating,updating and deleting features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages