Loading video player...
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/playwright-ts-api-testing Restful Ecommerce APIs: https://github.com/mfaisalkhatri/restful-ecommerce **YouTube Tutorials** 1. Restful ECommerce Demo APIs: https://youtu.be/9WDhjf-Qlo4 2. API Test Automation Playlist: https://youtube.com/playlist?list=PLMer2TvhZIw8sOOsB2YEOSafm2uAPLgGZ&si=LJX_do8HiUcKRJVz 3. Software Testing Tutorials: https://youtube.com/playlist?list=PLMer2TvhZIw-Qhz82h0BvWWemgO-PQQaN&si=bJorFY09nk7LcGb3 Read Software Testing and Test Automation tutorial blogs on: Medium - https://medium.com/@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/JoiS9BaZ6nbAZx08t6TODc - 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