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.