Cognitive service virtualisation: a new machine learning-based virtualisation to generate numeric values

Zeinab Farahmandpour, Mehdi Seyedmahmoudian, Alex Stojcevski, Irene Moser, Jean-Guy Schneider

Research output: Contribution to journalArticleResearchpeer-review

6 Citations (Scopus)


Continuous delivery has gained increased popularity in industry as a development approach to develop, test, and deploy enhancements to software components in short development cycles. In order for continuous delivery to be effectively adopted, the services that a component depends upon must be readily available to software engineers in order to systematically apply quality assurance techniques. However, this may not always be possible as (i) these requisite services may have limited access and (ii) defects that are introduced in a component under development may cause ripple effects in real deployment environments. Service virtualisation (SV) has been introduced as an approach to address these challenges, but existing approaches to SV still fall short of delivering the required accuracy and/or ease-of-use to virtualise services for adoption in continuous delivery. In this work, we propose a novel machine learning based approach to predict numeric fields in virtualised responses, extending existing research that has provided a way to produce values for categorical fields. The SV approach introduced here uses machine learning techniques to derive values of numeric fields that are based on a variable number of pertinent historic messages. Our empirical evaluation demonstrates that the Cognitive SV approach can produce responses with the appropriate fields and accurately predict values of numeric fields across three data sets, some of them based on stateful protocols.

Original languageEnglish
Article number5664
Pages (from-to)1-26
Number of pages26
Issue number19
Publication statusPublished - 3 Oct 2020
Externally publishedYes


  • Cognitive system
  • Machine learning
  • Quality assurance
  • Service virtualisation

Cite this