Skip to content

• CSV Dataset was used for data-driven testing. • An API Test Report was generated through Newman CLI, which describes the details of the test. • Different types of test scripts are created and executed for validating test cases through GET, POST, PUT, PATCH, and DELETE requests for the Student Details Rest API.

Notifications You must be signed in to change notification settings

shafinrahman912/Student_Details_REST_API_Full_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Student_Details_REST_API_Full_Project

How to run this project

  • Clone this project
  • Open with Postman / Command Shell
  • Run Command:
newman run StudentDetails.postman_collection.json -e StudentDetails.postman_environment.json 
  • Run Command for Report:
newman run StudentDetails.postman_collection.json -e StudentDetails.postman_environment.json -r cli,htmlextra

Technology used:

  • Postman
  • Newman

Prerequisite:

  • Jdk
  • Node Js
  • Newman
  • Html Report Library

Newman and Report Installation Process:

  • Newman Install Command:
npm install -g newman-reporter-htmlextra
  • Newman Html Report Install Command:
npm install -g newman-reporter-htmlextra

API Documentation:

Test case list:

  1. Get All Students List

    Validation of status code and the length of student list in the test case.

    1. Validating Status Code

    2. Validating the Length of Student List

  2. Create Student

    Create Data Sets Using the Dynamic Random Variables and validation of status code in the test case.

    1. Validating Status Code

  3. Verify Created Student Details

    Validation of the following field values in the test case :

    1. Validating First Name

    2. Validating Middle Name

    3. Validating Last Name

    4. Validating Date of Birth

    5. Validating Status Code

  4. Update Student

    Validation of the following field values in the test case :

    1. Validating First Name

    2. Validating Middle Name

    3. Validating Last Name

    4. Validating Date of Birth

  5. Verify Updated Student Details

    Validation of the following field values in the test case :

    1. Validating First Name

    2. Validating Middle Name

    3. Validating Last Name

    4. Validating Date of Birth

  6. Create Technical skills

    Validation of status code in the test case :

    1. Validating Status Code

  7. Create a Student Address

    Validation of status code, message and status in the test case :

    1. Validating Status Code

    2. Validating Message

    3. Validating Status

  8. Get the Student's Full Details

    Validation of the following field values in the test case :

    1. Validating First Name

    2. Validating Middle Name

    3. Validating Last Name

    4. Validating Date of Birth

    5. Validating Language

    6. Validating Year Of Experience

    7. Validating Last Used Date

    8. Validating House Number

    9. Validating City

    10. Validating State

    11. Validating Country

    12. Validating Std Code

    13. Validating Mobile Number

    14. Validating Current Address

    15. Validating Status code

  9. Delete Specific Student

    Validation of status code and message in the test case :

    1. Validating Status Code

    2. Validating Message

Newman Report Summary:

Newman Report Summary

Newman Report Summary

About

• CSV Dataset was used for data-driven testing. • An API Test Report was generated through Newman CLI, which describes the details of the test. • Different types of test scripts are created and executed for validating test cases through GET, POST, PUT, PATCH, and DELETE requests for the Student Details Rest API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages