Dynamic Testing and Deployment of a Contract Monitoring Service

Internet and cloud based services involve electronic interactions that are normally regulated using service agreements (SA). Once an agreement between business partners is in place, a service can be monitored and/or enforced using an SA equivalent electronic contract. Because of the dynamic nature of such Internet and cloud based relationships, the rapidity at which electronic contracts are constructed, verified for correctness, tested, and deployed is an extremely important factor. This paper describes a model checker based framework for supporting the automated testing and deployment of electronic contracts. The central components of the framework are a contract monitoring service called the Contract Compliance Checker (CCC), the SPIN model checker, and EPROMELA, a language developed specifically for modeling electronic contracts. We describe how SPIN can be used to automatically generate execution sequences from an EPROMELA model of a contract, and how such sequences can then be used to test the correctness of the model equivalent electronic contract deployed to the CCC.

[1]  Wil M. P. van der Aalst,et al.  DecSerFlow: Towards a Truly Declarative Service Flow Language , 2006, WS-FM.

[2]  Ibrahim K. El-Far Enjoying the Perks of Model-Based Testing , 2001 .

[3]  Santosh K. Shrivastava,et al.  An architecture for negotiation and enforcement of resource usage policies , 2011, 2011 IEEE International Conference on Service-Oriented Computing and Applications (SOCA).

[4]  Antony Galton Temporal logic and computer science: an overview , 1987 .

[5]  Santosh K. Shrivastava,et al.  A Model for Checking Contractual Compliance of Business Interactions , 2012, IEEE Transactions on Services Computing.

[6]  Mauro Pezzè,et al.  Software testing and analysis - process, principles and techniques , 2007 .

[7]  Victoria Ungureanu,et al.  Establishing Business Rules for Inter-Enterprise Electronic Commerce , 2000, DISC.

[8]  Santosh K. Shrivastava,et al.  On Model Checker Based Testing of Electronic Contracting Systems , 2010, 2010 IEEE 12th Conference on Commerce and Enterprise Computing.

[9]  Santosh K. Shrivastava,et al.  Model Checking Correctness Properties of Electronic Contracts , 2003, ICSOC.

[10]  Arne-Michael Törsel A Testing Tool for Web Applications Using a Domain-Specific Modelling Language and the NuSMV Model Checker , 2013, 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation.

[11]  Heiko Ludwig,et al.  Simple Obligation and Right Model (SORM) - for the Runtime Management of Electronic Service Contracts , 2003, WES.

[12]  Tom Hvitved,et al.  A Survey of Formal Languages for Contracts , 2011 .

[13]  Gordon Fraser,et al.  Testing with model checkers: a survey , 2009 .

[14]  Santosh K. Shrivastava,et al.  Establishing Conformance between Contracts and Choreographies , 2013, 2013 IEEE 15th Conference on Business Informatics.

[15]  Santosh K. Shrivastava,et al.  Exception Handling in Electronic Contracting , 2009, 2009 IEEE Conference on Commerce and Enterprise Computing.

[16]  Santosh K. Shrivastava,et al.  A high-level model-checking tool for verifying service agreements , 2011, Proceedings of 2011 IEEE 6th International Symposium on Service Oriented System (SOSE).

[17]  Shin Nakajima,et al.  The SPIN Model Checker : Primer and Reference Manual , 2004 .

[18]  Santosh K. Shrivastava,et al.  A Rule-Based Notation to Specify Executable Electronic Contracts , 2008, RuleML.

[19]  Santosh K. Shrivastava,et al.  Implementing Business Conversations with Consistency Guarantees Using Message-Oriented Middleware , 2007, 11th IEEE International Enterprise Distributed Object Computing Conference (EDOC 2007).

[20]  Santosh K. Shrivastava,et al.  Implementing a Rule-Based Contract Compliance Checker , 2009, I3E.

[21]  Santosh K. Shrivastava,et al.  Contract representation for run-time monitoring and enforcement , 2003, EEE International Conference on E-Commerce, 2003. CEC 2003..