Skip to content

How to Execute an API Configuration

After creating an API Configuration, we need to select it while adding a Test Step in a Test Case. To do that, please follow the steps below:

  1. Navigate to the Test Cases Tab:

    • Open Test Cases in the TEO menu.
  2. Add a New Test Case:

    • Click on the + sign on the top-right of the page to add a new Test Case.
  3. Fill in Required Fields:

    • After filling in the required fields and selecting a mobile ID to be used in the test steps, click on the Add Step button.
  4. Select API_CALL Function:

    • Choose the API_CALL function from the dropdown menu.

  1. Select API Configuration:

    • Choose the API Configuration to be executed from the API_CALL_CONFIG parameter dropdown.
  2. Save and Execute:

    • Save the Test Case, then run it with Run Now (Direct Run), or add it to a Test Suite and execute the suite.
  3. Review Execution Results:

    • After the run, the test step execution result will be FAIL or SUCCESS based on the selected EXPECT parameter and the response result of the API Request. See the following examples:

a. EXPECT: SUCCESS and API Response: No Error

b. EXPECT: SUCCESS and API Response: Error

c. EXPECT: FAIL and API Response: Error