Property-Based Testing of Web Services by Deriving Properties from Business-Rule Models

Bernhard K. Aichernig, Richard Alexander Schumi

Research output: Contribution to journalArticlepeer-review


Property-based testing is well suited for web-service applications, which was already shown in various case studies. For example, it has been demonstrated that JSON schemas can be used to automatically derive test-case generators for web forms. In this work, we present a test-case generation approach for a rule engine-driven web-service application. Business-rule models serve us as input for property-based testing. We parse these models to automatically derive generators for sequences of web-service requests together with their required form data. Property-based testing is mostly applied in the context of functional programming. Here, we define our properties in an object-oriented style in C# and its tool FsCheck. We apply our method to the business-rule models of an industrial web-service application in the automotive domain.
Original languageEnglish
Pages (from-to)889-911
JournalSoftware and Systems Modeling
Issue number2
Early online date2017
Publication statusPublished - 2019

Cite this