Skip to content

In this repository there are API test automation using Postman & Newman for Student Management web-service. This testing to ensure the APIs are working functioning as expected.

Notifications You must be signed in to change notification settings

ehasan101/StudentManagement-API_Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 

Repository files navigation

API_Testing-Project


API Testing for Student-Management with Postman

This project is on API testing with Postman for the Student Management web-service. It's evaluating the APIs are working functionality and usability as expected.

How to run this project!

  1. Install Postman.
  2. Install Node.js.
  3. Download Project file.
  4. Now Import collection & environment file into Postman:
    file > import > choose the method > press 'import'
  5. Run Desired API request

Run on cmd

  1. Open cmd on project folder or move to project folder cd Downloads/project_file
  2. Run the follwing command Install newman npm install -g newman
  3. Now newman run Student_Management.postman_collection.json -e Std_Manage.postman_environment.json
  4. If want to export test results
    first install them
    npm install -g newman-reporter-html
    and npm install -g newman-reporter-htmlextra
  5. Now run follwing command for report
    newman run Student_Management.postman_collection.json -e Std_Manage.postman_environment.json -r cli,htmlextra

HTTP Status Codes

HTTP status code are 3 digit number which a server response to a browser’s request. Those are divided into 5 categories.

1xx - Informational Purpose
2xx - Success
3xx - Redirection
4xx - Client Errors
5xx - Server Errors

http_status_code

Working Scenarios & What I have done in this Testing!

  • Operation
    • Create Student
    • Update Student
  • Student Details
    • Students Details
    • Get Specific Student
    • Get Student Technical Skills
    • Get Specific Student Technical Skills
  • Technical Skill
    • Add Technical skills
    • Update Technical Skills
    • Delete Technical Skills
  • Delete Student
    [Positive and Negative testcase both are created]

Test Report with Newman :

A Newman report has been generated for the API test

  1. HTML Report Link

  2. Snapshots:

  • Summary Report Summary_1 Summary-2
  • Total Requests Total_1 Total_2
  • Failed Requests Failed

⚠️ if you face any type of image broken/missing issue, please refresh this web page again.

#Happy_Testing


About

In this repository there are API test automation using Postman & Newman for Student Management web-service. This testing to ensure the APIs are working functioning as expected.

Topics

Resources

Stars

Watchers

Forks