Java DSL for effortless REST and SOAP API validation β given/when/then syntax for readable API tests.
Add the dependency, configure base URI and write your first GET request with response validation.
Write HTTP method tests, pass request bodies as Strings or POJOs and validate status codes.
Extract nested fields, arrays and attributes from JSON/XML responses using path expressions.
Centralise headers, auth and base URL into reusable specs to avoid duplication across tests.
Fetch tokens from an auth endpoint and inject them as headers for secured API test flows.
Assert the full response contract β field names, types and required fields β using JSON Schema matchers.