Automatic Generation of Test Data for XML Schema-based Testing of Web Services
Dessislava Petrova-Antonova, Kunka Kuncheva, Sylvia Ilieva
2015
Abstract
Service-Oriented Architecture (SOA) is a widely accepted paradigm for development of distributed applications using interoperable and flexible software components. Still the preferred technology for SOA implementation is provided by the web services. Their interface as well as complex interactions are described with XML-based standards, such as Web Service Description Language (WSDL) and Business Process Execution Language for Web Services (WS-BPEL). The WSDL and WS-BPEL documents allow automation of test data generation through instantiation of the referenced XML Schemas. The approach proposed in this paper is a step towards such goal. It provides derivation of XML instances from a given XML Schema. The approach is automated in a software tool supporting data-driven test definition. The tool automatically extracts an XML Schema form a WSDL or WS-BPEL documents and generates XML messages needed for web service interactions. Since the proposed approach supports generation of both correct and incorrect XML instances, the tool is applicable to functional as well as robustness testing of web services.
References
- W3C, Web of Services, viewed 9 February 2015, <http://www.w3.org/standards/webofservices/>.
- Eclipse.org, Structured text editors for markup languages, viewed 6 January 2015, <http://help.eclipse.org/juno/index.jsp?topic=%2Forg. eclipse.wst.xmleditor.doc.user%2Ftopics%2Ftxedttag. html>
- Donkeydevelopment.com, XML Spear, viewed 6 January 2015, <http://www.donkeydevelopment.com/>
- Simon Tuffs P 2004, XML-XIG: XML Instance Generator, viewed 6 January 2015, <http://xmlxig.sourceforge.net/>
- Sorens M 2009, Taking XML Validation to the Next Level: Introducing CAM, viewed 6 January 2015, <http://www.devx.com/xml/Article/41066>.
- Bartolini C, Bertolino A, Marchetti E & A.Polini 2009, WS-TAXI: a WSDL-based testing tool for Web Services, in Proceedings of the 2nd International Conference on Software Testing, Verification, and Validation, Denver, Colorado USA, pp. 326-335.
- Apache.org 2012, XMLBeans, viewed 6 January 2015, <http://xmlbeans.apache.org/>.
- Herrmann H 2005, Test Data Generation Tool, viewed 6 January 2015, <http://iwm.uni-koblenz.de/datagen/ manual/DataGen_UserManual.pdf>.
- Frank H, Crescenzio D, Chavez E, Databene Benerator, viewed 6 January 2015, <http://databene.org/databenebenerator.html>.
- Pavlov V., Borisov B., Ilieva S., & Petrova-Antonova D., 2010, Framework for Testing Service Compositions, in Proceeding of 12th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing, Timisoara, Romania, September 23-26, pp. 557-560.
- Bai X., Dong W., Tsai W.-T., & Chen Y., 2005. WSDL based automatic test case generation for web services testing. In Proceding of IEEE Int. Work. SOSE, Washington, USA, IEEE Comp. Soc., pp. 215-220.
- Sneed H. M., Huang S., 2007. The design and use of WSDL-test: a tool for testing web services. Journal of software Maintenance and Evolution: Research and Practice, 19:297-314.
Paper Citation
in Harvard Style
Petrova-Antonova D., Kuncheva K. and Ilieva S. (2015). Automatic Generation of Test Data for XML Schema-based Testing of Web Services . In Proceedings of the 10th International Conference on Software Engineering and Applications - Volume 1: ICSOFT-EA, (ICSOFT 2015) ISBN 978-989-758-114-4, pages 277-284. DOI: 10.5220/0005500602770284
in Bibtex Style
@conference{icsoft-ea15,
author={Dessislava Petrova-Antonova and Kunka Kuncheva and Sylvia Ilieva},
title={Automatic Generation of Test Data for XML Schema-based Testing of Web Services},
booktitle={Proceedings of the 10th International Conference on Software Engineering and Applications - Volume 1: ICSOFT-EA, (ICSOFT 2015)},
year={2015},
pages={277-284},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005500602770284},
isbn={978-989-758-114-4},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 10th International Conference on Software Engineering and Applications - Volume 1: ICSOFT-EA, (ICSOFT 2015)
TI - Automatic Generation of Test Data for XML Schema-based Testing of Web Services
SN - 978-989-758-114-4
AU - Petrova-Antonova D.
AU - Kuncheva K.
AU - Ilieva S.
PY - 2015
SP - 277
EP - 284
DO - 10.5220/0005500602770284