Mining Service Behavior for Stateful Service Emulation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Hossain, Md Arafat, Han, Jun, Kabir, Muhammad Ashad, Versteeg, Steve, Schneider, Jean-Guy, Jiang, Jiaojiao
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909861393989632
author Hossain, Md Arafat
Han, Jun
Kabir, Muhammad Ashad
Versteeg, Steve
Schneider, Jean-Guy
Jiang, Jiaojiao
author_facet Hossain, Md Arafat
Han, Jun
Kabir, Muhammad Ashad
Versteeg, Steve
Schneider, Jean-Guy
Jiang, Jiaojiao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_18519
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mining Service Behavior for Stateful Service Emulation
Hossain, Md Arafat
Han, Jun
Kabir, Muhammad Ashad
Versteeg, Steve
Schneider, Jean-Guy
Jiang, Jiaojiao
Software Engineering
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.
title Mining Service Behavior for Stateful Service Emulation
topic Software Engineering
url https://arxiv.org/abs/2510.18519