A Testing Method for Web Services Composition Based on Data-Flow
Jun Hou,Baowen Xu,Lei Xu,Di Wang,Junling Xu
DOI: https://doi.org/10.1007/s11859-008-0415-8
2008-01-01
Wuhan University Journal of Natural Sciences
Abstract:This paper proposes a method of data-flow testing for Web services composition. Firstly, to facilitate data flow analysis and constraints collecting, the existing model representation of business process execution language (BPEL) is modified in company with the analysis of data dependency and an exact representation of dead path elimination (DPE) is proposed, which overcomes the difficulties brought to dataflow analysis. Then defining and using information based on data flow rules is collected by parsing BPEL and Web services description language (WSDL) documents and the def-use annotated control flow graph is created. Based on this model, data-flow anomalies which indicate potential errors can be discovered by traversing the paths of graph, and all-du-paths used in dynamic data flow testing for Web services composition are automatically generated, then testers can design the test cases according to the collected constraints for each path selected.