API Capabilities in algoQA
Explore the API automation capabilities of algoQA, including CRUD operations, parameterization, authentication, assertions, and environment configuration.
API Capabilities
-
CRUD Operation Testing
- Supports automated Create, Read, Update, and Delete operations.
- Validates request–response cycles for all HTTP methods: GET, POST, PUT, PATCH, DELETE.
-
Parameterization
- Dynamic handling of:
- Path parameters
- Query parameters
- Headers
- Request bodies
- Supports environment-specific variables (e.g., URLs, tokens).
- Enables dataset-driven testing (e.g., using CSV files).
- Dynamic handling of:
-
Data Decoupling
- Test logic and test data are fully separated.
- Test data is stored in external files (e.g., YAML, JSON) for improved maintainability and scalability.
-
Authentication Support
Supports multiple authentication mechanisms:
- Basic Authentication
- OAuth 2.0
- Bearer Token
-
Assertions & Validations
- Response Code Validation: 200, 400, 401, 404, 500, etc.
- JSON Schema Validation: Ensures structure and data type consistency.
- Field-Level Validations: Verify specific response fields and values.
- Header Validations: Confirm presence and correctness of response headers.
-
Negative Testing Support
- Validates boundary conditions, invalid inputs, and missing fields.
- Ensures correct error codes and error handling behavior from APIs.
-
Environment Configuration
- Supports multiple environments:
- Development
- Staging
- Production
- Environment-specific configuration files for:
- Base URLs
- Authentication credentials
- Tokens and other variables
- Supports multiple environments:
Was this page helpful?