Skip to main content

Tests

Note: Deleting a folder in the list will permanently remove all data within that folder, including interfaces, subfolders, and their automated test history reports.

Use Case

This guide is designed for developers and QA teams looking to streamline their testing processes through automation. Efficient test execution helps ensure software reliability, validate API functionality, and uphold performance standards. It’s particularly valuable in continuous integration and delivery workflows, allowing teams to detect issues early and enhance overall product quality.

1. Running Tests

1.1 Select and Run a Folder

  1. In the file list, right-click the folder you want to execute.
  2. Choose “Run All” to navigate to the automated test configuration page.

image.png

1.2 Configure Test Items

  • Set the required configuration options on the configuration page.

    • Iterations: Specifies the number of times the current test case will be executed after clicking "Run".

    • Interval: Defines the interval duration between each execution when running multiple test processes.

    • Data: This is for global test data. For detailed instructions on data management, please refer to the Test Data documentation.

    • Test Environment: You can select different test environments from the dropdown, or create and edit new ones. For details, refer to the Environment Management Introduction document.

  • Select the interfaces you want to run.

  • Once completed, click “Run” to enter the execution screen.

image.png

1.3 Monitor the Execution Process

  • During execution, the system will display real-time updates on the iteration progress and interface execution. image.png
  • Click on the interfaces in the report to view detailed execution information. image.png

1.4 Control Execution

  • After execution ends, you will see a summary of configuration details and execution results, including lists of successful and failed interfaces. image.png
  • You can click “Stop” to interrupt the report execution midway. image.png

2. Managing Historical Reports

2.1 View and Manage Reports

  • Click “History Report” next to the folder name to switch to the report view. image.png
  • Click “View” to see the report. image.png
  • Click “Delete” to remove the report.