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.
- Install Postman.
- Install Node.js.
- Download Project file.
- Now Import collection & environment file into Postman:
file > import > choose the method > press 'import'
- Run Desired API request
Run on cmd
- Open cmd on project folder or move to project folder
cd Downloads/project_file
- Run the follwing command
Install newman
npm install -g newman
- Now
newman run Student_Management.postman_collection.json -e Std_Manage.postman_environment.json
- If want to export test results
first install them
npm install -g newman-reporter-html
andnpm install -g newman-reporter-htmlextra
- Now run follwing command for report
newman run Student_Management.postman_collection.json -e Std_Manage.postman_environment.json -r cli,htmlextra
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
- 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]
A Newman report has been generated for the API test
-
HTML Report Link
-
Snapshots:
refresh this web page again. |
---|