Learning Paths
intermediate
API Test Automation with Python & pytest
A practical, opinionated course on API testing with Python. Covers the full stack from basic requests to schema validation, test data factories, mocking, and running in CI — the way it works in real engineering teams.
+200 XP7h (179m total)10 lessons2 enrolled
What you'll learn
- HTTP methods, status codes, and response validation
- pytest fixtures for auth tokens and base URLs
- @pytest.mark.parametrize for data-driven tests
- JSON schema validation with pydantic
- Mocking external dependencies with responses
- Running pytest in GitHub Actions CI
Curriculum— 3 modules, 10 lessons
HTTP methods, status codes, and headers you need to knowFREE12mSetting up pytest and the requests libraryFREE18m
Your first API test: GET, POST, assert status and body20m