Mining Service Behavior for Stateful Service Emulation
By: Md Arafat Hossain , Jun Han , Muhammad Ashad Kabir and more
Potential Business Impact:
Tests computer programs that talk to each other better.
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.
Similar Papers
What's Coming Next? Short-Term Simulation of Business Processes from Current State
Software Engineering
Predicts business problems before they happen.
Service-Level Energy Modeling and Experimentation for Cloud-Native Microservices
Distributed, Parallel, and Cluster Computing
Measures how much energy apps use.
SAINT: Service-level Integration Test Generation with Program Analysis and LLM-based Agents
Software Engineering
Tests computer programs better using smart AI.