API Tests for HTTP GET method - JavaScript API Automation

preview_player
Показать описание
#api #test #automation
Let's take a look at how to write API tests for the HTTP GET method when doing API Automation using JavaScript.

🔗Video Resources:

🚀 Enjoying my content and would like to support my work? Why not buy me a coffee! or Subscribe to this channel! 🚀

# Timestamps:
0:00 - Working with HTTP GET method
00:33 - Getting data for the individual user - users/:id
1:35 - Alternative way to handle async calls
3:20 - Write GET users/:id test
4:55 - Working with query params
7:23 - Write a test for query params
11:00 - Review

You can check out my content here as well:

Thanks for watching :)

Automation Bro
Рекомендации по теме
Комментарии
Автор

All your tutorial videos are really good and helpful.. Way of explanation is awesome. Thank you and more power to you. You deserve a lot more appreciation.

anandsharma
Автор

Thanks you Bro. Awesome guide for API testing by JS! Very simple for understanding.

TheFersy
Автор

Many thanks ! Lots of likes for this video!

tester
Автор

I am getting this error while executing this script
throw err;
"TypeError: Cannot read properties of undefined (reading 'body')"
what should i do.

shivanipote
Автор

Why does it say cannot read properties of undefined (reading ‘id’)?

IceKnight
Автор

great tutorials!

btw, the page: ",

learner
Автор

Hi Bro, without a token can we get the request? if yes could you please let me know!

priyadharshinihariharan
Автор

do you guys know how to check that at least one result in the set satisfies a certain condition? e.g., exists at least one user that has id=1000

cracken
Автор

Many thanks for the video, I followed the same steps but I am caught up with this issue, can you help

mjjtube
welcome to shbcf.ru