Modern QA2026Exercises
Log inJoin
10 / 12 · Book 4 · The API Testing Landscape← prev⊞ allnext →Get the book →

1.10Exercises

Exercise 1.1 (Starter): Install all the prerequisites listed in Section 1.7 and verify each tool works by running its version command. Create the project directory structure.

Exercise 1.2 (Intermediate): Find an open-source REST API with an OpenAPI specification (e.g., the PetStore API, GitHub API, or Stripe API). Download the specification file and identify how many endpoints, schemas, and security requirements it defines.

Exercise 1.3 (Advanced): Write a simple Python script that uses pyyaml to parse an OpenAPI specification and print a summary: number of paths, number of operations, number of schema definitions, and number of security schemes.