Skip to content

Review Testing POSTMAN

tamarazard edited this page Mar 18, 2021 · 1 revision

We first create a review. We also created 3 others.

WhatsApp Image 2021-03-18 at 7 28 13 PM (2)

We then edit one of the reviews by changing the description and the rating

WhatsApp Image 2021-03-18 at 7 28 33 PM (2)

We then view all the reviews (there are 4)

WhatsApp Image 2021-03-18 at 7 29 18 PM (2) WhatsApp Image 2021-03-18 at 7 30 26 PM (2) WhatsApp Image 2021-03-18 at 7 30 51 PM (2) WhatsApp Image 2021-03-18 at 7 31 17 PM (2)

We view the reviews of a specific customer: TestCustomer (there are 3)

WhatsApp Image 2021-03-18 at 7 31 59 PM (1) WhatsApp Image 2021-03-18 at 7 32 40 PM (1)

We view the reviews of a specific service (cservice1)

WhatsApp Image 2021-03-18 at 7 33 12 PM (1) WhatsApp Image 2021-03-18 at 7 33 39 PM (1)

We view the specific review that was made on 2021-05-10 at 11:00

WhatsApp Image 2021-03-18 at 7 34 14 PM (1)

We get the average rating of service cservice1. One review had a rating of 2 and the two others of 5. (5+5+2)/3=4

WhatsApp Image 2021-03-18 at 7 34 55 PM (1)

We delete the review that starts on the 2021-05-10 at 11:00

WhatsApp Image 2021-03-18 at 7 37 01 PM (1)