Generating Mock Skeletons for Lightweight Web-Service Testing
- 1 December 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 181-188
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
All Related Versions
This publication has 21 references indexed in Scilit:
- Predicting metamorphic relations for testing scientific software: a machine learning approach using graph kernelsSoftware Testing, Verification and Reliability, 2015
- An Empirical Study on Testing of SOA based ServicesInternational Journal of Information Technology and Computer Science, 2014
- What Is Service Virtualization?2012
- The WEKA data mining softwareACM SIGKDD Explorations Newsletter, 2009
- Service-oriented computing: concepts, characteristics and directions2003
- Fast Effective Rule Induction1995
- The power of decision tables1995
- Rule induction with CN2: Some recent improvements1991
- Induction of decision treesMachine Learning, 1986
- A general method applicable to the search for similarities in the amino acid sequence of two proteinsJournal of Molecular Biology, 1970