API Capabilities in algoQA

Modified on Thu, 30 Oct at 2:54 PM

TABLE OF CONTENTS

1. Overview

2. API Capabilities

1. Overview

This article provides detailed information about the API capabilities in algoQA and outlines the various features and functionalities it supports.



2. API Capabilities

1. CRUD Operation Testing

  • Supports automated Create, Read, Update, and Delete operations.
  • Validates request–response cycles for all HTTP methods: GET, POST, PUT, PATCH, DELETE.


2. 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).


3. Data Decoupling

  • Test logic and test data are fully separated.
  • Test data stored in external files (e.g., YAML, JSON) for improved maintainability and scalability.


4. Authentication Support

Supports multiple authentication mechanisms:

  • Basic Authentication
  • OAuth 2.0
  • Bearer Token


5. 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.


6. Negative Testing Support

  • Validates boundary conditions, invalid inputs, and missing fields.
  • Ensures correct error codes and error handling behavior from APIs.


7. Environment Configuration

  • Supports multiple environments:
    • Development
    • Staging
    • Production
  • Environment-specific configuration files for:
    • Base URLs
    • Authentication credentials
    • Tokens and other variables

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article