Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions

Jump to navigation Jump to search
m
Line 1,103: Line 1,103:
== Section 7: Working With APIs ==
== Section 7: Working With APIs ==
=== What is an API? ===
=== What is an API? ===
I'm reasonably familiar with API's. Just making some cursory notes for this lesson.
Methods
* GET
* POST
* PUT
* DELETE
Parts
* URL
* Headers
* Method
* Body
Response Status Codes
* 200's - Success
* 300's - Redirection
* 400's - Client Error
* 500's - Server Error
Playwright API Mocking
* powerful
* fast
* risky when API contracts are changing
=== Setup New Project ===
=== Setup New Project ===
=== Mocking API ===
=== Mocking API ===

Navigation menu