Skip to content

Api Call

Function: API_CALL

The API_CALL function is used to make an API call from the test device. This function is essential for testing interactions with external APIs.

Parameters

Parameter Name Description Example Values Required Default Value
API_CALL_CONFIG The configuration details for the API call, including endpoint, headers, and payload. JSON object Yes
EXPECT The expected result of the API call attempt. It defines what constitutes a successful API call. SUCCESS, FAILURE Yes SUCCESS