Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
API Test Automation with Playwright and Python
Rating: 4.5 out of 5(1 rating)
107 students

API Test Automation with Playwright and Python

Create modern, reliable, and maintainable API tests with Python and Playwright
Last updated 4/2026
English

What you'll learn

  • Create automated API tests with Python and Playwright
  • Organize API automation projects
  • Use JSON Schema to ensure the quality and consistency of API responses
  • Generate professional reports (HTML and Allure)
  • Run tests in parallel, optimizing time and performance in large test suites

Course content

7 sections21 lectures2h 9m total length
  • Resources
  • Introduction to the API concept3:59
  • HTTP Methods
  • Setting up the environment8:30
  • First API test in practice6:15

Requirements

  • Basic knowledge of programming logic or Python is helpful, but not required.

Description

This course contains the use of artificial intelligence.

The goal of this course is to enable you to develop automated API tests using Playwright and Python, mastering everything from the fundamentals to advanced techniques applied in real-world projects.

You will start by understanding the essential concepts: what REST APIs are, how they fit into the development lifecycle, and how to work with the main HTTP methods (GET, POST, PUT, DELETE, PATCH). You will also learn how to set up your development environment with Python, Playwright, Pytest, and all the required dependencies.

Next, we move on to the first steps with Playwright for APIs, where you will create your first practical test, explore requests and responses (status codes, headers, body), handle authentication and tokens, and build a complete CRUD.

After that, the course demonstrates how to structure a professional project by applying best practices and Object-Oriented Programming, as well as implementing helper functions to improve code reusability.

You will also learn how to apply validations using JSON Schema to ensure the quality of responses, and how to work with data-driven testing (DDT), running multiple scenarios automatically from CSV and JSON files.

Finally, we will cover reporting and performance, where you will generate HTML and Allure reports, and configure parallel execution to improve the performance of your test suite.

This course is practical, straight to the point, and focused on real-world applications, preparing you to build modern, scalable, and reliable API test automation.

Who this course is for:

  • Software Test Analysts