Skip to main content

What are "Run Configurations" in PostQode ?

The Run Configuration feature allows users to set up execution environments for the Test Suites. It provides options to define the execution strategy, environment, and the selection of test cases to run. This feature helps to customize the tests that are being executed, either in a sequence or simultaneously, across various environments with a specific variable.

Select Environment

This dropdown allows the user to select a pre-configured environment where the API tests will be executed. Environments could refer to different servers, deployment stages (development, staging, production), or system configurations.

Select Suite Variable

Users can select a suite-wide variable to pass specific values (like authentication tokens, base URLs, or other global parameters) into the test cases. This enables dynamic data injection into the tests, and ensures flexibility.

Execution Mode

Users can select the below given two ways of execution method for the test cases:

Serial Execution

In serial execution, test cases are run one after the other, sequentially. This ensures that each test case runs only after the one before it, is completed.

  • Use Case: Ideal for test cases with dependencies or environments that don't support parallel execution.
  • Impact: Longer total execution time but has a predictable execution order.

Parallel Execution

In parallel execution, multiple test cases are executed simultaneously, across multiple threads or processes.

  • Use Case: Ideal for speeding up the test execution process, especially when the tests are independent of each other.
  • Impact: Offers faster execution but requires resource allocation for parallel test runs, making it ideal for stateless and independent tests.

Test Case Selection

Users can choose between the below given two test cases to initiate a run in the configuration:

All Test Cases: Executes all available test cases within the selected test suite and configuration.

Custom Select Test Cases: Allows users to manually select specific test cases from the suite for the execution. This option is useful while testing only a particular subset of cases or focusing on a particular scenario.