Skip to main content

10 docs tagged with "api"

View all tags

API Authentication

Configure BASIC, DIGEST, OAuth2, API Key, cookie, and session authentication for API tests in SHAFT Engine using setAuthentication and addHeader.

API Response Validations

Validate API responses including JSON values, file content comparison, and schema matching using SHAFT Engine.

Basic Configuration for API

Configure SHAFT Engine properties for REST API testing — proxy, timeouts, retry settings, and Swagger/OpenAPI schema validation.

GraphQL API Testing

Test GraphQL APIs in SHAFT Engine — send queries, mutations, and subscriptions with variables, fragments, and authentication headers using sendGraphQlRequest.

JSON Schema Validation

Validate API responses against a JSON schema in SHAFT Engine using matchesSchema and doesNotMatchSchema for contract testing and API governance.

Request Builder

Build and send API requests with SHAFT Engine — GET, POST, PUT, PATCH, DELETE with authentication, headers, parameters, and body configuration.

Response Getters

Extract and parse API response data — body, status code, response time, JSON values, and XML values using SHAFT Engine.

Response Validations

Validate API responses — status codes, JSON values, response body, schema matching, and response time using SHAFT Engine.

The SHAFT Single Entry Point

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.