Score: 0

Mining Service Behavior for Stateful Service Emulation

Published: October 21, 2025 | arXiv ID: 2510.18519v1

By: Md Arafat Hossain , Jun Han , Muhammad Ashad Kabir and more

Potential Business Impact:

Tests computer programs that talk to each other better.

Business Areas:
Simulation Software

Enterprise software systems are increasingly integrating with diverse services to meet expanding business demands. Testing these highly interconnected systems presents a challenge due to the need for access to the connected services. Service virtualization has emerged as a widely used technique to derive service models from recorded interactions, for service response generation during system testing. Various methods have been proposed to emulate actual service behavior based on these interactions, but most fail to account for the service's state, which reduces the accuracy of service emulation and the realism of the testing environment, especially when dealing with stateful services. This paper proposes an approach to deriving service models from service interactions, which enhance the accuracy of response generation by considering service state. This is achieved by uncovering contextual dependencies among interaction messages and analyzing the relationships between message data values. The approach is evaluated using interaction traces collected from both stateful and stateless services, and the results reveal notable enhancements in accuracy and efficiency over existing approaches in service response generation.

Country of Origin
🇦🇺 Australia

Page Count
19 pages

Category
Computer Science:
Software Engineering