API Testing Overview
After successfully publishing your API Testing suite, you can execute tests in multiple ways. This guide explains how to specify where and when to execute your tests for maximum flexibility and efficiency.
Execution Methods
Manual Test Execution
To run API tests manually:
- Navigate to your API Repository’s publish center and select the API Testing tab
- Locate your published API Testing suite in the list and click on it to access the details page
- Switch to the Test Cases tab in the details view
- Select a test case from the tree list in the left sidebar
- Click the Run button to initiate the API test
Test results will appear in the right panel. Click on any result to view detailed execution logs.
Scheduled Test Execution
To set up automated test schedules:
- Navigate to your API Repository’s publish center and select the API Testing tab
- Locate your published API Testing suite in the list and click on it to access the details page
- Switch to the Execution Schedules tab
- Click Add Schedule to create a new schedule
- Configure the following settings:
- Test frequency (hourly, daily, weekly, etc.)
- Execution time
- Environment selection
- Test cases to include
- Save your schedule configuration
Your tests will now run automatically according to the defined schedule, with results available for review in the execution history.
Best Practices
- Run critical test cases manually after deploying changes
- Set up regular scheduled tests to catch regression issues
- Configure notifications for failed tests to enable quick remediation
- Review execution history periodically to identify patterns in test failures
Last updated on