Property-based testing of web services by deriving properties from business-rule models

Bernhard K. Aichernig, Richard Schumi
2017 Journal of Software and Systems Modeling  
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
more » ... vice 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.
doi:10.1007/s10270-017-0647-0 fatcat:p6lpjbi5wre2nfadbjxokmjxze