Playwright API Testing for Public and Authenticated Endpoints | Must know!
Автор: QA Routine
Загружено: 2024-10-27
Просмотров: 443
Learn how to use Playwright’s powerful APIRequestContext to test public and authenticated API endpoints effectively! In this video, we’ll dive into setting up your test environment, making API calls to both public and secure endpoints, handling authentication, and verifying responses with ease. Whether you're adding API tests to your existing Playwright test suite or getting started with API testing, this tutorial has you covered with step-by-step examples and best practices. Perfect for QA engineers and developers looking to boost their testing toolkit!
Dummy API: https://dummyjson.com/products/1
CHAPTERS:
00:00 CHAD GTP
00:50 Playwright API intro
03:25 Playwright install
05:00 Create public api scenario
05:16 Setup API structure
08:18 Setup fixtures
14:37 Create response models
16:27 Assert api response
21:10 Authenticated api methods
24:53 Authenticated api scenario
29:01 BONUS: shared cookies
32:10 Call authenticated endpoint
35:42 Conclusions
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: