Abstract
Web services compositions are being widely adopted by developers, therefore the economic impact of WS-BPEL service compositions has increased, and deeper insight on how to test them effectively is required. In fact, new software testing techniques are being developed nowadays, specially those related with applications to Web Services, because of transations through Internet. Languages for composing web services, such as the OASIS WS-BPEL 2.0 standard, open a new field for large-scale programming and they present a challenge for traditional quality assurance. Metamorphic Testing has proved useful to test and improve the quality of traditional imperative programs. This paper presents a proposal to use Metamorphic Testing to WS-BPEL compositions and provides a component diagram and an implementation approach as well as a case study with promising results.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
ActiveVOS: ActiveBPEL WS-BPEL Engine (October 2009), http://sourceforge.net/search/?q=ActiveBPEL
Andrews, J.H., Briand, L.C., Labiche, Y.: Is mutation an appropriate tool for testing experiments? In: Proceedings of the 27th International Conference on Software Engineering (ICSE 2005), pp. 402–411. ACM Press (2005)
Beizer, B.: Software Testing Techniques, 2nd edn. International Thomson Computer Press, 2 sub edn. (June 1990)
Bozkurt, M., Harman, M., Hassoun, Y.: TR-10-01: testing web services: A survey. Tech. Rep. TR-10-01, King’s College, London (2010)
Chan, W.K., Cheung, S.C., Leung, K.R.: A metamorphic testing approach for online testing of service-oriented software applications. International Journal of Web Services Research 4(2), 61–81 (2007)
Chan, W.K., Cheung, S., Leung, K.: Towards a metamorphic testing methodology for service-oriented software applications. In: Fifth International Conference on Quality Software (QSIC 2005), pp. 470–476 (2006)
Chen, T.Y.: Metamorphic testing: A new approach for generating next test cases. Technical Report HKUST-CS98-01, Department of. Computer Science, Hong Kong University of Science and Technology (1998)
Chen, T.Y.: Metamorphic testing: A simple approach to alleviate the oracle problem. In: Proceedings of the 5th IEEE International Symposium on Service Oriented System Engineering. IEEE Computer Society (2010)
Chen, T.Y., Feng, J., Tse, T.H.: Metamorphic testing of programs on partial differential equations: A case study. In: Proceedings of the 26th International Computer Software and Applications Conference on Prolonging Software Life: Development and Redevelopment, COMPSAC 2002, pp. 327–333. IEEE Computer Society, Washington, DC (2002), http://portal.acm.org/citation.cfm?id=645984.675903
Chen, T.Y., Huang, D.H., Tse, T.H., Zhou, Z.Q.: Case studies on the selection of useful relations in metamorphic testing. In: Proceedings of the 4th Ibero-American Symposium on Software Engineering and Knowledge Engineering (JIISIC 2004), pp. 569–583 (2004)
Domínguez-Jiménez, J.J., Estero-Botaro, A., García-Domínguez, A., Medina-Bulo, I.: GAmera: An automatic mutant generation system for WS-BPEL compositions. In: ECOWS 2009: Seventh IEEE European Conference on Web Services, pp. 97–106. IEEE Computer Society, Eindhoven (2009)
García-Fanjul, J., Tuya, J., de la Riva, C.: Generación sistemática de pruebas para composiciones de servicios utilizando criterios de suficiencia basados en transiciones. In: JISBD 2007: Actas de las XII Jornadas de Ingeniería del Software y Bases de Datos (2007)
Gotlieb, A., Botella, B.: Automated metamorphic testing. In: Annual International on Computer Software and Applications Conference, pp. 34–40 (2003)
IDC: Research reports (2008), http://www.idc.com
Mayer, P., Lübke, D.: Towards a BPEL unit testing framework. In: TAV-WEB 2006: Proceedings of the 2006 workshop on Testing, Analysis, and Verification of Web Services and Applications, pp. 33–42. ACM, New York (2006)
Murphy, C., Kaiser, G., Hu, L., Wu, L.: Properties of machine learning applications for use in metamorphic testing. In: Proc. of the 20th International Conference on Software Engineering and Knowledge Engineering (SEKE), pp. 867–872 (2008)
Murphy, C., Shen, K., Kaiser, G.: Using JML runtime assertion checking to automate metamorphic testing in applications without test oracles. In: International Conference on Software Testing Verification and Validation, ICST 2009, pp. 436–445 (2009)
Myers, G.J., Sandler, C., Badgett, T., Thomas, T.M.: The Art of Software Testing, 2nd edn. Wiley - Interscience (2004)
OASIS: Web Services Business Process Execution Language 2.0 (2007), http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html , Organization for the Advancement of Structured Information Standards
Segura, S., Hierons, R.M., Benavides, D., Ruiz-Cortes, A.: Automated test data generation on the analyses of feature models: A metamorphic testing approach. In: 2008 International Conference on Software Testing, Verification, and Validation, pp. 35–44 (2010)
UCASE Research Group: GAmera home site (2010), http://neptuno.uca.es/~gamera
UCASE Research Group: Takuan home site (May 2010), https://neptuno.uca.es/redmine/projects/takuan-website
Weyuker, E.: On testing Non-Testable programs. The Computer Journal 25(4), 465–470 (1982), http://dx.doi.org/10.1093/comjnl/25.4.465
Yan, J., Li, Z., Yuan, Y., Sun, W., Zhang, J.: BPEL4WS unit testing: Test case generation using a concurrent path analysis approach. In: ISSRE 2006: 17th International Symposium on Software Reliability Engineering, pp. 75–84. IEEE Computer Society, Raleigh (2006)
Zhang, Z.Y., Chan, W.K., Tse, T.H., Hu, P.F.: An experimental study to compare the use of metamorphic testing and assertion checking. Journal of Software 20(10), 2637–2654 (2009)
Zheng, Y., Zhou, J., Krause, P.: An automatic test case generation framework for web services. Journal of Software 2(3), 64–77 (2007)
Zhou, Z.Q., Huang, D.H., Tse, T.H., Yang, Z., Huang, H., Chen, T.Y.: Metamorphic testing and its applications. In: Proceedings of the 8th International Symposium on Future Software Technology (ISFST 2004), Software Engineers Association (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Castro-Cabrera, C., Medina-Bulo, I. (2012). Application of Metamorphic Testing to a Case Study in Web Services Compositions. In: Obaidat, M.S., Sevillano, J.L., Filipe, J. (eds) E-Business and Telecommunications. ICETE 2011. Communications in Computer and Information Science, vol 314. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35755-8_13
Download citation
DOI: https://doi.org/10.1007/978-3-642-35755-8_13
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35754-1
Online ISBN: 978-3-642-35755-8
eBook Packages: Computer ScienceComputer Science (R0)