Skip to content

Task Configuration

Task configuration is used to configure or orchestrate specific execution actions. It flexibly supports three core task types, comprehensively covering testing scenario requirements.

Task Types

AngusTester provides the following three core task types to meet different testing needs:

Task TypeApplicable ScenariosScript Types
Test Orchestration (pipelines)Complex business process testingTEST_PERFORMANCE, TEST_FUNCTIONALITY, TEST_STABILITY, TEST_CUSTOMIZATION
Mock Data (mockData)Test data generationMOCK_DATA
Mock APIs (mockApis)API simulation servicesMOCK_APIS

Important Note

AngusTester automatically selects the task type based on the type field in the script. When a script contains multiple task configurations, ensure the executed task type matches the script type.

Task Field Descriptions

Field NameTypeRequiredDescription
argumentsobjectNoPlugin-specific configuration
Extended parameters for different protocols View details
pipelinesobjectNoTest process orchestration
Build multi-step testing scenarios (see test orchestration documentation) View details
mockDataobjectNoData generation configuration
Custom test data generation (see mock data documentation) View details
mockApisobjectNoAPI simulation configuration
Virtual API service setup (see mock APIs documentation) View details

Example of Configuring a Test Task

yaml
type: TEST_PERFORMANCE              # Test type  
plugin: Http                        # Plugin  
task:                               # Task  
  pipelines:  
  - target: HTTP  
    request:  
      method: GET  
      url: http://serv01-sample.angusmock.cloud:30010/benchmark

Released under the GPL-3.0 License.