Skip to content

API Testing

Testing below the interface: faster, more stable, and closer to the business logic than UI testing.

Fundamentals

API automation

Tools

  • VS Code REST Client — testing APIs with .http files 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.