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

Zhihao Jiang1,2, Limi Chen1,2, Jing Yang1
1Hainan Vocational University of Science and Technology, Haikou 571126, China
2Institute for Mathematical Research, Universiti Putra Malaysia, Serdang 43400, Malaysia
Limi Chen1,2, Zhihao Jiang1,2, Jing Yang1
1Hainan Vocational University of Science and Technology, Haikou 571126, China
2Institute for Mathematical Research, Universiti Putra Malaysia, Serdang 43400, Malaysia
Hui Yuan1, Minjie Chai2, Siqing Xu1, Jinsong Li1, Jinwan Zheng1
1Electric Power Research Institute, State Grid Shanxi Electric Power Co., Ltd., Taiyuan, 030001, Shanxi, China
2Jincheng Power Supply Branch, State Grid Shanxi Electric Power Co., Ltd., Jincheng, 048000, Shanxi, China
Yanhan Zhu1,2
1China Academy of Cultural Heritage, Chaoyang District, 100029, Beijing, China
2Beijing University of Civil Engineering and Architecture, Xicheng District, 100044, Beijing, China
Ken Wang1, Jinhan Shu2, Kan Yuan1
1School of Digital Media, Shenzhen Polytechnic University, Shenzhen 518055, Guangdong, China
2Postdoctoral Mobile Station of Journalism and communication, Fudan University, Shanghai 200433, Shanghai, China