Table of Contents
Environment & Data Management #
Test Configurations in Shift Left API allow you to define the environment-specific settings, variables, and data-driven parameters required for consistent and repeatable API testing.
Purpose : #
- Ensure tests run correctly across multiple environments.
- Separate environment-specific values (URLs, auth tokens) from test logic.
- Support data-driven testing to execute multiple scenarios automatically.
Key Features : #
- Environment Management :
- Configure multiple environments: Dev, QA, Staging, UAT, Pre-Prod, Production.
- Assign endpoints and test cases to specific environments.
- Quickly switch environments for test execution without redefining endpoints.
- Configure multiple environments: Dev, QA, Staging, UAT, Pre-Prod, Production.
- Global Variables & Headers :
- Store reusable values such as API keys, tokens, base URLs, or common request headers.
- Apply them across multiple test cases and endpoints for efficiency.
- Store reusable values such as API keys, tokens, base URLs, or common request headers.
- Data-Driven Testing :
- Parameterize test inputs (request bodies, query params) using CSV, JSON, or inline datasets.
- Run the same test with multiple datasets automatically.
- Supports scenario coverage, including edge cases and business rule variations.
- Parameterize test inputs (request bodies, query params) using CSV, JSON, or inline datasets.
- Custom Test Configurations :
- Override default environment variables for specific endpoints or test cases.
- Maintain multiple configuration profiles for complex workflows or client-specific setups.
- Override default environment variables for specific endpoints or test cases.
Usage Workflow : #
- Navigate to Project → TestConfigurations.
- Create a new configuration profile and assign environment variables, headers, and parameters.
- Link this configuration to a TestCase or TestRun.
- Execute tests – the platform automatically injects the configuration values.
Best Practices : #
- Keep environment variables centralized and version-controlled.
- Maintain separate configurations for different teams or clients.
- Regularly update variables and parameters to reflect API or environment changes.
Summary
TestConfigurations enable flexible, reusable, and environment-aware test execution, reducing maintenance effort and ensuring reliable results across all stages of the software lifecycle.







