Skip to main content

Systematic Generation of XML Instances to Test Complex Software Applications

  • Conference paper
Rapid Integration of Software Engineering Techniques (RISE 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4401))

Abstract

We introduce the XPT approach for the automated systematic generation of XML instances which conform to a given XML Schema, and its implementation into the proof-of-concept tool TAXI. XPT can be used to automatize the black-box testing of any general application that expects in input the XML instances. We generate a comprehensive set of instances by sampling all the possible combinations of elements within the schema, applying and adapting the well known Category-Partition strategy for functional testing. Originally, XPT has been conceived for application to the e-Learning domain, within which we briefly discuss some examples.

This work has been supported by the European Project TELCERT (FP6 STREP 507128).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W3CXML: W3cxml (1996), http://www.w3.org/XML/

  2. W3CXMLSchema: W3c xmlschema (1998), http://www.w3.org/XML/Schema

  3. XMLTestSuite: Extensible markup language (xml) conformance test suites (2005), http://www.w3.org/XML/Test/

  4. NIST: Software diagnostics&conformance testing division: Web technologies (2003), http://xw2k.sdct.itl.nist.gov/brady/xml/index.asp

  5. RTTS: Rtts: Proven xml testing strategy, http://www.rttsweb.com/services/index.cfm

  6. SQC: Xml schema quality checker (2001), http://www.alphaworks.ibm.com/tech/xmlsqc

  7. W3CXMLValidator: W3c validator for xml schema (2001), http://www.w3.org/2001/03/webdata/xsv

  8. XMLJudge: Xml judge, http://www.topologi.com/products/utilities/xmljudge.html

  9. EasyCheXML: Easychexml, http://www.stonebroom.com/xmlcheck.htm

  10. Li, J.B., Miller, J.: Testing the Semantics of W3C XML Schema. In: COMPSAC 2005, pp. 443–448 (2005)

    Google Scholar 

  11. XMLSpy: Xml spy (2005), http://www.altova.com/products_ide.html

  12. Toxgene: Toxgene (2005), http://www.cs.toronto.edu/tox/toxgene/

  13. SunXMLInstanceGenerator: Sun xml instance generator (2003), http://wwws.sun.com/software/xml/developers/instancegenerator/index.html

  14. Ostrand, T., Balcer, M.: The category-partition method for specifying and generating functional tests. Communications of ACM 31(6) (1988)

    Google Scholar 

  15. Basanieri, F., Bertolino, A., Marchetti, E.: The cow_suite approach to planning and deriving test suites in uml projects. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, pp. 383–397. Springer, Heidelberg (2002)

    Google Scholar 

  16. Bertolino, A., et al.: Partition testing from xml schema. Technical report ISTI-45/2005 (2005)

    Google Scholar 

  17. DocumentObjectModel: Document object model (2005), http://www.w3.org/DOM/

  18. AAVV: IMS learning information package v.1.0.1 (2005), On-line at: http://www.imsglobal.org/content/packaging/cpv1p2pd/imscp_oviewv1p2pd.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Nicolas Guelfi Didier Buchs

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Berlin Heidelberg

About this paper

Cite this paper

Bertolino, A., Gao, J., Marchetti, E., Polini, A. (2007). Systematic Generation of XML Instances to Test Complex Software Applications. In: Guelfi, N., Buchs, D. (eds) Rapid Integration of Software Engineering Techniques. RISE 2006. Lecture Notes in Computer Science, vol 4401. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71876-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-71876-5_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-71875-8

  • Online ISBN: 978-3-540-71876-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics