|
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.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
C. Barreto et al., Eds. Web Services Business Process Execution Language Version 2.0: Primer. OASIS, 2007. Available at http://docs.oasis-open.org/wsBPEL/2.0/wsBPEL-v2.0.html.
|
| |
2
|
B. Benatallah, R.M. Dijkman, M. Dumas, and Z. Maamar. Service composition: concepts, techniques, tools and trends. In Service-Oriented Software Engineering: Challenges and Practices, pages 48--66. Idea Group Publishing, 2005.
|
| |
3
|
A. Berglund et al., Eds. XML Path Language (XPath) 2.0: W3C Recommendation. World Wide Web Consortium, 2007. Available at http://www.w3c.org/TR/xpath20/.
|
| |
4
|
BPWS4J: a Platform for Creating and Executing BPEL4WS Processes, Version 2.1. IBM, 2004. Available at http://www.alphaworks.ibm.com/tech/bpws4j.
|
 |
5
|
|
 |
6
|
|
| |
7
|
H. Foster, S. Uchitel, J. Magee, and J. Kramer. Model-based verification of web service compositions. In Proceedings of ASE 2003, pages 152--161. 2003.
|
| |
8
|
|
 |
9
|
|
 |
10
|
|
 |
11
|
|
| |
12
|
J. García-Fanjul, J. Tuya, and C. de la Riva. Generating test cases specifications for BPEL compositions of web services using SPIN. In Proceedings of WS-MaTe 2006, pages 83--94. 2006.
|
 |
13
|
|
| |
14
|
|
| |
15
|
Monica Hutchins , Herb Foster , Tarak Goradia , Thomas Ostrand, Experiments of the effectiveness of dataflow- and controlflow-based test adequacy criteria, Proceedings of the 16th international conference on Software engineering, p.191-200, May 16-21, 1994, Sorrento, Italy
|
| |
16
|
C. Innocenti. SOA and the importance of XQuery. SOA Magazine Issue X, September 2007.
|
 |
17
|
|
| |
18
|
|
 |
19
|
|
 |
20
|
|
 |
21
|
|
| |
22
|
|
| |
23
|
D. Olteanu, T. Furche, and F.Bry. Evaluating complex queries against XML streams with polynomial combined complexity. In Key Technologies for Data Management, volume 3112 of LNCS, pages 31--44. 2004.
|
| |
24
|
Oracle BPEL Process Manager. Oracle Technology Network. Available at http://www.oracle.com/technology/products/ias/bpel/.
|
| |
25
|
K. Schmidt and C. Stahl. A Petri net semantic for BPEL4WS: validation and application. In Proceedings of the 11th Workshop on Algorithms and Tools for Petri Nets, pages 1--6. 2004.
|
| |
26
|
|
| |
27
|
Web Services Invocation Framework: DSL Provider Sample Application. Apache Software Foundation. Available at http://svn.apache.org/viewvc/webservices/wsif/trunk/java/samples/dslprovider/README.html?view=co.
|
| |
28
|
|
 |
29
|
|
INDEX TERMS
Primary Classification:
D.
Software
D.2
SOFTWARE ENGINEERING
D.2.5
Testing and Debugging
Subjects:
Testing tools (e.g., data generators, coverage testing)
Additional Classification:
D.
Software
D.2
SOFTWARE ENGINEERING
D.2.8
Metrics
Subjects:
Product metrics
General Terms:
Measurement,
Reliability,
Verification
Keywords:
rewriting rules,
service-orientation,
soa,
testing,
workflow testing,
ws-bpel,
xml,
xml document model,
xpath
|