API Authentication
Configure BASIC, DIGEST, OAuth2, API Key, cookie, and session authentication for API tests in SHAFT Engine using setAuthentication and addHeader.
Configure BASIC, DIGEST, OAuth2, API Key, cookie, and session authentication for API tests in SHAFT Engine using setAuthentication and addHeader.
Validate API responses including JSON values, file content comparison, and schema matching using SHAFT Engine.
Configure SHAFT Engine properties for REST API testing — proxy, timeouts, retry settings, and Swagger/OpenAPI schema validation.
Test GraphQL APIs in SHAFT Engine — send queries, mutations, and subscriptions with variables, fragments, and authentication headers using sendGraphQlRequest.
Validate API responses against a JSON schema in SHAFT Engine using matchesSchema and doesNotMatchSchema for contract testing and API governance.
Build and send API requests with SHAFT Engine — GET, POST, PUT, PATCH, DELETE with authentication, headers, parameters, and body configuration.
Extract and parse API response data — body, status code, response time, JSON values, and XML values using SHAFT Engine.
Validate API responses — status codes, JSON values, response body, schema matching, and response time using SHAFT Engine.
Automate REST API testing using SHAFT Engine. Build requests, validate responses, extract JSON values, and integrate with CI/CD — all with a fluent Java API.
Discover how the SHAFT class serves as a single entry point for all test automation. Access Web, Mobile, API, CLI, and Database drivers through one unified namespace with IDE autocomplete.