English

Generating Mock Skeletons for Lightweight Web-Service Testing

Software Engineering 2026-02-11 v1

Abstract

Modern application development allows applications to be composed using lightweight HTTP services. Testing such an application requires the availability of services that the application makes requests to. However, access to dependent services during testing may be restrained. Simulating the behaviour of such services is, therefore, useful to address their absence and move on application testing. This paper examines the appropriateness of Symbolic Machine Learning algorithms to automatically synthesise HTTP services' mock skeletons from network traffic recordings. These skeletons can then be customised to create mocks that can generate service responses suitable for testing. The mock skeletons have human-readable logic for key aspects of service responses, such as headers and status codes, and are highly accurate.

Keywords

Cite

@article{arxiv.1910.09159,
  title  = {Generating Mock Skeletons for Lightweight Web-Service Testing},
  author = {Thilini Bhagya and Jens Dietrich and Hans Guesgen},
  journal= {arXiv preprint arXiv:1910.09159},
  year   = {2026}
}

Comments

8 pages, 8 figures, Accepted for Asia-Pacific Software Engineering Conference 2019

R2 v1 2026-06-23T11:49:25.814Z