API Management
The
AngusTester API Management
feature supports end-to-end API lifecycle management, enabling efficient collaboration from creation and testing to documentation, thereby improving API development and testing efficiency.
I. Basic API Operations
1. Add HTTP API
Description: Create standard HTTP protocol APIs
Steps:
- Navigate to
API → Services
- Click the "Add HTTP API" button
- Configure request method, path, and parameters
- Click "Send Request" to test the API
- Click "Archive" to save the API
⚠️ Debugging Tip: Ensure parameters are correctly configured before sending requests
2. Add WebSocket API
Description: Create WebSocket protocol APIs
Steps:
- Navigate to
API → Services
- Click the "Add WebSocket API" button
- Configure path and parameters
- Click "Archive" to save the API
3. Add Unarchived API
Description: Create temporary debugging APIs (visible only to the creator)
Steps:
- Navigate to
API → Services
- Click the "Add HTTP API" button
- Configure request parameters
- Click "Save as Unarchived"
II. API Management Operations
1. Edit API
Description: Modify API configuration parameters
Steps:
- Double-click the target API
- Modify request configurations
- Click "Save"
2. Clone API
Description: Quickly duplicate API configurations
Steps:
- Select the target API
- Click the "Clone" button
- Modify the new API configuration
- Click "Save"
3. Move API
Description: Transfer an API to another service
Steps:
- Select the target API
- Click the "Move" button
- Choose the target service
- Confirm the move
4. Export API
Description: Export API definitions for backup or sharing
Steps:
- Select the target API
- Click the "Export" button
- The file will automatically download locally
5. Update API Status
Description: Update the development status of an API
Supported Statuses:
Designing
Developing
Development Completed
Published
Steps:
- Select the target API
- Click "Update Status"
- Select the new status
⚠️ Permission Requirement: "Publish" permission is required to set status as
Published
6. Follow API
Description: Subscribe to an API for change notifications
Steps:
- Select the target API
- Click the "Follow" button
⚠️ Notification Mechanism: Followed APIs will trigger notifications upon changes
7. Favorite API
Description: Add an API to the quick-access list
Steps:
- Select the target API
- Click the "Favorite" button
III. API Testing Management
1. Generate Test Script
Description: Create automated test scripts
Steps:
- Select the target API
- Click "Test Script → Generate Test Script"
- Select the test type
- Configure execution parameters
⚠️ Limitations:
- Only one script per test type is allowed
- Existing scripts must be deleted before regeneration
2. Execute Functional Test
Description: Validate API business logic correctness
Steps:
- Select the target API
- Click "Execute Test → Execute Functional Test"
- Configure server environment
- View results in the
Execution
module
3. Execute Stability Test
Description: Validate API stability under high load
Steps:
- Select the target API
- Click "Execute Test → Execute Stability Test"
- Configure server environment
- View results in the
Execution
module
4. Execute Performance Test
Description: Test API throughput and response time
Steps:
- Select the target API
- Click "Execute Test → Execute Performance Test"
- Configure server environment
- View results in the
Execution
module
5. Manage Test Cases
Description: Comprehensive test case management
Supported Operations:
- Add case (Click "Add" to configure parameters)
- Edit case (Click "Edit" to modify configurations)
- Clone case (Click "Clone" to create a copy)
- Delete case (Click "Delete" to remove)
- Execute case (Click "Execute Test" to validate functionality)
⚠️ Parameter Configuration: Variables/datasets must be pre-declared
IV. API Documentation
1. Generate Mock API
Description: Create simulated API versions
Steps:
- Select the target API
- Click "Mock API → Generate Mock API"
- Select Mock service
- Enter API name
2. Associate Mock API
Description: Bind existing mock services
Steps:
- Select the target API
- Click "Mock API → Associate Mock API"
- Select the service to associate
- Confirm association
3. Generate Client Code
Description: Obtain multi-language calling examples
Steps:
- Select the target API
- Open the "Code" tab
- Select programming language
- Copy the generated calling code
V. Test Task Management
1. Generate Test Task
Description: Create API testing tracking tasks
Steps:
- Select the target API
- Click "Test Task → Generate Test Task"
- Fill in iteration/assignee/deadline
- Track the task in the
Tasks
module
2. Manage Test Tasks
Description: Comprehensive test task status management
Supported Operations:
Operation Type | Description | Notes |
---|---|---|
Reopen | Reset to pending status | Retains original task metrics |
Restart | Reset to pending status | Clears task metrics |
Delete | Remove task | Irreversible |
⚠️ Status Restriction: Only applicable to
Completed/Canceled
tasks
VI. Other Features
1. Configure Request Proxy
Description: Set up cross-origin request proxies
Steps:
- Select the target API
- Open "Proxy" settings
- Select proxy type
⚠️ Scope: Only applies to the current user
2. View Test Results
Description: Check API test execution status
Steps:
- Select the target API
- Open the "Test Results" tab
3. View Activity Log
Description: Audit API operation history
Steps:
- Select the target API
- Open the "Activity" tab