Let’s take a look at how to write API tests for the HTTP POST method when doing API Automation using JavaScript.
You can find the code for this video on GitHub - https://github.com/automationbro/JavaScript-API-Automation-Tests
🔗Video Resources:
API Testing Site - https://gorest.co.in/
This video is part of the Javascript API Automation tutorial series - https://www.youtube.com/watch?v=ZSVw3TyZur4&list=PL6AdzyjjD5HDR2kNRU2dA1C8ydXRAaaBV&ab_channel=AutomationBro
0:00 - API Tests for HTTP POST method
00:30 - Overview of the POST method
1:20 - Write HTTP POST API test
8:15 - Using Chai deep.include assertion
10:45 - Review
Thanks for watching :)
Automation Bro
#http #api #automation #javascript