API Testing โ
Testing below the interface: faster, more stable, and closer to the business logic than UI testing.
Fundamentals โ
- HTTP fundamentals โ methods, status codes, headers: the language of APIs.
- What to test in an API โ checklist: contract, data, errors, security, and idempotency.
API automation โ
- Architecture of an API testing framework โ layers, service objects, and organization (Java + REST Assured + JUnit 5).
- Anatomy of an API test โ Given-When-Then, the per-endpoint case matrix, and assertions.
- JSON Schema validation โ validate the contract, not just the values.
- Test data and authentication โ builders with random data, ephemeral users, and least privilege.
- Async APIs with Awaitility โ polling with a timeout instead of sleeps.
Tools โ
- VS Code REST Client โ testing APIs with
.httpfiles versioned in the repo. - SQL for QA โ the 20 % of SQL that solves 80 % of the job: verifying persistence, preparing data and spotting inconsistencies.
- Postman and SoapUI โ testing APIs without a framework: collections with assertions, and SOAP with its WSDL contract.
- NoSQL for QA โ which guarantees disappear without a fixed schema and what to validate because of it, with MongoDB as the example.
- Karate: API testing with BDD โ self-contained features with match assertions, no step definitions.