Modern QA2026Practical Exercise — tiles
Log inJoin
15 / 65 · 14 API Testing Fundamentals · Newman and pytest for API Automation← prev⊞ allnext →☰ Read as one page

2.6Practical Exercise

  1. Create a pytest project with conftest.py containing base_url, auth, and API session fixtures
  2. Write CRUD tests for a resource (create, read, update, delete)
  3. Add parametrized validation tests for at least one endpoint
  4. Add a factory fixture that creates test data and cleans it up after the test
  5. Run the suite against a local or public API