- Clone this project
- Open with Postman / Command Shell
- Run Command:
newman run Shop_API_Manan_Ahmed_Broti.postman_collection.json -e Shop_API_Manan_Ahmed_Broti.postman_environment.json
- Run Command for Report:
newman run Shop_API_Manan_Ahmed_Broti.postman_collection.json -e Shop_API_Manan_Ahmed_Broti.postman_environment.json -r cli,htmlextra
- Run Command for Report With Iteration:
newman run Shop_API_Manan_Ahmed_Broti.postman_collection.json -e Shop_API_Manan_Ahmed_Broti.postman_environment.json -n "number of iteration" -r cli,htmlextra
- Postman
- Newman
- Jdk
- Node Js
- Newman
- Html Report Library
- Newman Install Command:
npm install -g newman
- Newman Html Report Install Command:
npm install -g newman-reporter-htmlextra
Total Number of Test Scripts 78 and a Total of 237 Assertions were done. All of them passed with 0 skipped tests. The number of iterations is 3.
-
- ✓ Create data sets using the dynamic random variables.
- ✓ Generate authentication token
- ✓ Check status code
- ✓ Store the dataset in the environment
-
In the test I have validated the following field values & checked those features:
- ✓ Password
- ✓ Generate token
- ✓ Check status code
-
In the test I have validated the following field values & checked those features:
- ✓ Create data sets using dynamic random variables
- ✓ Check status code is 201 [created]
- ✓ Product price validation
- ✓ Product quantity validation
- ✓ Product name validation
- ✓ Store dataset in the environment
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
- ✓ Check the product ID found in the list
- ✓ Check the product name found in the list
- ✓ Check the product description found in the list
- ✓ Check the product category found in the list
- ✓ Check the product quantity found in the list
- ✓ Check the product price found in the list
- ✓ Check the product picture found in the list
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
- ✓ Product ID validation
- ✓ Product name validation
- ✓ product description validation
- ✓ Product category validation
- ✓ Product quantity validation
- ✓ Product price validation
- ✓ Product picture validation
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
- ✓ Check response contains a photo or not
- ✓ Product photo validation
-
In the test I have validated the following field values & checked those features:
- ✓ Create data sets using dynamic random variables
- ✓ Check status code
- ✓ Product ID validation
- ✓ Product name validation
- ✓ product description validation
- ✓ Product category validation
- ✓ Product quantity validation
- ✓ Product price validation
- ✓ Product picture validation
-
In the test I have validated the following field values & checked those features:
- ✓ Create data sets using dynamic random variables
- ✓ Check status code is 201 [created]
- ✓ Product ID validation
- ✓ Product name validation
- ✓ Order quantity validation
- ✓ Buyer ID validation
- ✓ Buyer name validation
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
- ✓ Check Order ID in the list
- ✓ Check order price in the list
- ✓ Check order status in the list
- ✓ Check order notes in the list
- ✓ Check buyer ID in the list
- ✓ Check buyer name in the list
- ✓ Check buyer mobile no in the list
- ✓ Check buyer address in the list
- ✓ Check order billing type in the list
- ✓ Check order billing status in the list
- ✓ Check order discount in the list
- ✓ Check order quantity in the list
- ✓ Check Product ID in the list
- ✓ Check seller ID in the list
- ✓ Check seller name in the list
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
- ✓ Check Order ID
- ✓ Check order price
- ✓ Check order status
- ✓ Check order notes
- ✓ Check buyer ID
- ✓ Check buyer name
- ✓ Check buyer mobile no
- ✓ Check buyer address
- ✓ Check order billing type
- ✓ Check order billing status
- ✓ Check order discount
- ✓ Check order quantity
- ✓ Check Product ID
- ✓ Check seller ID
- ✓ Check seller name
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
- ✓ Check order status changed or not
- ✓ Check order quantity changed or not
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code
-
In the test I have validated the following field values & checked those features:
- ✓ Check status code is 204 [Not Found]
In this API test project, I have tested all the API routes & performed effective tests. To learn more about APIs & HTTP requests you can read my blogs/posts: