Testing API calls
Test API calls to verify the request, response, and binary upload behavior before you use an API Gateway connection point at runtime.
After you complete the configuration in the connection point, run a test to verify the request and response. For binary file uploads, compare test behavior with runtime behavior to diagnose document type, transfer encoding, and content type issues.
Running a test API call
- Click .
- In the dialog box, specify, paste, or upload an example input document.
Note: You cannot define message headers for testing keywords. Replace keywords directly in the configuration with test values.
- Optionally, click the Request tab to review the request before calling the API. All path expressions are evaluated.
If conversion in the request format is selected, the converted request is displayed.
- Click . The request is sent to the API.
The test result is displayed on the Response tab.