How to test GET API requests with Playwright TypeScript | API Testing with Playwright
Автор: Testing Talks with Faisal Khatri
Загружено: 2026-01-06
Просмотров: 138
This tutorial video on testing Get API requests with Playwright TypeScript explains the following:
How to Set Up and Install Playwright with TypeScript
How to send a GET API Request with Playwright TypeScript:
With single/ multiple parameters
With Headers
With Timeout
Using the failOnStatusCode option
Different ways to verify response data, including:
Verifying Status Code
Verifying the response structure
Performing basic-level data verification
Verifying the response in details
Matching the Object and Array in the response
Extracting the data from the response body
Using best practices to verify the response data
Attaching the response data to the Playwright report
Chapters:
00:00 Introduction
01:02 - Installing Playwright with TypeScript
04:00 - Setting up the demo Application
06:27 - Sending a GET API request and verifying 200 Status Code
11:00 - Sending a GET API request and verifying 404 Status Code
12:16 - Sending a GET API request with multiple parameters
14:35 - Sending a GET API request with Headers
17:22 - Sending a GET request with a Timeout parameter
19:20 - Sending a GET request with the failOnStatusCode parameter
22:40 - Verifying the structure of the response
26:04 - Validating the response data
30:42 - Verifying response data by matching Object and Array
36:40 - Using best practices to perform response verification
39:01 - Extracting data from the response
41:15 - Attaching Response data to the Playwright Report
GitHub Project Link: https://github.com/mfaisalkhatri/play...
Restful Ecommerce APIs: https://github.com/mfaisalkhatri/rest...
*YouTube Tutorials*
1. Restful ECommerce Demo APIs: • RESTful E-Commerce API in Node.js: Demo AP...
2. API Test Automation Playlist: • API Test Automation
3. Software Testing Tutorials: • Software Testing Tutorials
Read Software Testing and Test Automation tutorial blogs on:
Medium - / iamfaisalkhatri
DZone: https://dzone.com/authors/mfaisalkhatri
Link to my GitHub: https://github.com/mfaisalkhatri
**Join my Software Testing Learning Group on the following social media platforms **
WhatsApp: https://chat.whatsapp.com/JoiS9BaZ6nb...
Telegram: https://t.me/continuoustesting
Connect with me @ Linktree - https://linktr.ee/faisalkhatri
#softwaretesting #apitesting #testing #playwright #tester #qa #tutorial #learning #technology #youtube #testautomation #automationtesting #apiautomation
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: