用于服务输入报文的模板匹配方法及系统、电子设备
By querying the target database and generating executable method handles in the interface testing service, the problem of message templates being unable to adapt to complex logical operations in complex scenarios is solved. This achieves efficient and flexible template matching and custom mock logic, thereby improving the efficiency of interface testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INDUSTRIAL AND COMMERCIAL BANK OF CHINA
- Filing Date
- 2023-07-10
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies, when used in complex mock scenarios for interface testing services, suffer from message templates that cannot adapt to complex logical operations, resulting in low matching efficiency, high configuration workload, and an inability to support highly flexible mock logic.
A template matching method is provided, which receives a service simulation request, queries the target database, parses the input message template and the actual input message, obtains the simulated output message, and supports two types of template matching: the first template type is parsed according to a specified format, and the second template type is based on custom code logic to generate an executable method handle.
It achieves flexible template matching, which is suitable for complex data logic processing scenarios, improves program matching efficiency, supports custom mock logic, and enhances the flexibility and efficiency of interface testing.
Smart Images

Figure CN117056737B_ABST