Outline

Ingegneria Sismica

Ingegneria Sismica

FlowMock: A gRPC-based Process-Aware Service Simulator

Author(s): Chunyan Yang1, Jinran Du1, Haonan Liu1, Miaopeng Yu1, Tao Dai1, Chuanmao Xu1, Kequan Lin2
1China Southern Power Grid Electric Power Research Institute, Guangzhou 510663, Guangdong, China
2China Southern Power Grid, Guangzhou 510663, Guangdong, China
Yang, Chunyan. et al “FlowMock: A gRPC-based Process-Aware Service Simulator.” Ingegneria Sismica Volume 43 Issue 3: 1-16, doi:10.65102/is20261232.

Abstract

The study examines important obstacles to external service simulation in microservice architectures and it is identified that existing simulators lack the ability to simulate complex business processes and exceptions. To address these limitations, a process-aware service simulator, FlowMock, is proposed. FlowMock is implemented on the open-source Remote Procedure Call (RPC) framework gRPC and supports tight integration between process mining algorithms and the large language model DeepSeek. On this basis, a fully automated pipeline is constructed, covering event-log–based process discovery, interface and response configuration, and test-client code generation. Experiments on multiple real-world and synthetic log datasets show that the simulator achieves high process fidelity and stable response behavior. These results suggest that FlowMock constitutes a new technical framework for automated testing and service verification in microservice-based systems.

Keywords
process-aware; service simulator; gRPC; business process mining; AI-driven code generation; automated testing

Related Articles

Liqin Zheng1, Dongrui Qing2, Yan Zhang1
1School of Mathematics and Statistics, Shaan Xi Xue Qian Normal University Xi’an 710100, P.R.China
2School of Marxism, Xi’an University of Finance and Economics Xi’an 710100, P.R.China
Yanan Gao1, Aiqun Peng2, Nina Ma2
1Management School of Anhui Business and Technology College Hefei 230000, Anhui, China
2Economics and Trade School of Anhui Business and Technology College Hefei 230000, Anhui, China
Ya’ning Liu1, Ping Ma1
1School of Teacher Education, Shihezi University, Shihezi, Xinjiang, 832000, China
Yuhui Li1, Zhongliang Gong1
1College of Mechanical and Intelligent Manufacturing, Central South University of Forestry and Technology, Changsha, Hunan, 410004, China
Hanqing Hu1, Chengjin Liu1, Tianmu Tian1
1School of Management Science and Engineering, Beijing Information Science & Technology University, Beijing 100192