Title :
Data flow testing of service-oriented workflow applications
Author :
Mei, Lijun ; Chan, W.K. ; Tse, T.H.
Author_Institution :
Univ. of Hong Kong, Hong Kong
Abstract :
WS-BPEL applications are a kind of service-oriented application. They use XPath extensively to integrate loosely-coupled workflow steps. However, XPath may extract wrong data from the XML messages received, resulting in erroneous results in the integrated process. Surprisingly, although XPath plays a key role in workflow integration, inadequate researches have been conducted to address the important issues in software testing. This paper tackles the problem. It also demonstrates a novel transformation strategy to construct artifacts. We use the mathematical definitions of XPath constructs as rewriting rules, and propose a data structure called XPath rewriting graph (XRG), which not only models how an XPath is conceptually rewritten but also tracks individual rewritings progressively. We treat the mathematical variables in the applied rewriting rules as if they were program variables, and use them to analyze how information may be rewritten in an XPath conceptually. We thus develop an algorithm to construct XRGs and a novel family of data flow testing criteria to test WS-BPEL applications. Experiment results show that our testing approach is promising.
Keywords :
Web services; XML; data flow graphs; data structures; program testing; query languages; specification languages; workflow management software; WS-BPEL application testing; XML message; XPath rewriting graph data structure; XRG; data flow testing criteria; loosely-coupled workflow step integration; query rewriting rule; service-oriented workflow application; software testing; transformation strategy; Application software; Concrete; Data mining; Data structures; Engines; Information analysis; Mathematical model; Software testing; Web services; XML; rewriting rules; service-orientation; soa; testing; workflow testing; ws-bpel; xml; xml document model; xpath;
Conference_Titel :
Software Engineering, 2008. ICSE '08. ACM/IEEE 30th International Conference on
Conference_Location :
Leipzig
Print_ISBN :
978-1-4244-4486-1
Electronic_ISBN :
0270-5257
DOI :
10.1145/1368088.1368139