Abstract
Testing of component-based applications is important in order to ensure that third-party components do not compromise the functionality or properties of the whole system. However, thorough testing of functionality, behaviour and extra-functional properties is a tedious and time consuming process. In this paper we present an approach to discrete event simulation testing of components and component sets. Its unique feature is the ability to execute a mixture of real, implemented components and simulated mock-ups of the remaining parts of the application. Together, this approach allows faster testing on a wide scale of different inputs for tested components. At the same time, the use of actual components increases the confidence in the simulation test results. The approach has been implemented using the OSGi platform in the form of the SimCo framework and toolset, for which the key architectural considerations are discussed together with a short case study illustrating its usage.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Szyperski, C., Gruntz, D., Murer, S.: Component Software – Beyond Object-Oriented Programming. ACM Press, New York (2000)
Becker, S., Koziolek, H., Reussner, R.: The Palladio component model for model-driven performance prediction. Journal of Systems and Software 82(1), 3–22 (2009)
Heam, P.C., Kouchnarenko, O., Voinot, J.: Component Simulation-based Substitutivity Managing QoS Aspects. Electronic Notes in Theoretical Computer Science 260, 109–123 (2010)
Cansado, A., Henrio, L., Madelaine, E., Valenzuela, P.: Unifying Architectural and Behavioural Specifications of Distributed Components. Electronic Notes in Theoretical Computer Science 260, 25–45 (2010)
The OSGi Alliance: OSGi Service Platform Core Specification, release 4, version 4.2 (2009)
Rubio, D.: Pro Spring Dynamic Modules for OSGiTM Service Platform. Apress, USA (2009)
Brada, P., Jezek, K.: Ensuring Component Application Consistency on Small Devices: A Repository-Based Approach. In: Proceedings of the 38th Euromicro SEAA Conference. IEEE Computer Society Press (accepted for publication, 2012)
Fujimoto, R.M.: Parallel and Distributed Simulation Systems. John Wiley & Sons, New York (2000)
Miller, J.A., Ge, Y., Tao, J.: Component-Based Simulation Environments: JSIM as a Case Study Using Java Beans. In: Proceedings of the 1998 Winter Simulation Conference, Washington, DC, pp. 373–381 (1998)
Pidd, M., Oses, N., Brooks, R.J.: Component-Based Simulation on the Web. In: Proceedings of the 1999 Winter Simulation Conference, Phoenix, pp. 1438–1444 (1999)
Harrell, C.R., Hicks, D.A.: Simulation Software Component Architecture for Simulation-Based Enterprise Applications. In: Proceedings of the 1998 Winter Simulation Conference, Washington, DC, pp. 1717–1721 (1998)
Buss, A., Blair, C.: Composability and Component-Bases Discrete Event Simulation. In: Proceedings of the 2007 Winter Simulation Conference, Washington, DC, pp. 694–702 (2007)
Moradi, F., Nordvaller, P., Ayani, R.: Simulation Model Composition using BOMs. In: Proceedings of the Tenth IEEE International Symposium on Distributed Simulation and Real-Time Applications, Malaga (2006)
Rao, D.M., Wilsey, P.A.: Multi-resolution Network Simulations using Dynamic Component Substitution. In: Proceedings of the 9th Int’l Symposium on Modelling, Analysis and Simulation of Computer and Telecommunication Systems, Cincinnati (2001)
Becker, S., Koziolek, H., Reussner, R.: The Palladio component model for model-driven performance prediction. The Journal of Systems and Software 82, 3–22 (2009)
Verbraeck, A.: Component-based Distributed Simulations. The Way Forward? In: Proceedings of the 18th Workshop on Parallel and Distributed Simulation, Kufstein (2004)
de Lara, J.: Distributed Event Graphs: Formalizing Component-based Modelling and Simulation. Electronic Notes in Theoretical Computer Science 127, 145–162 (2004, 2005)
Wainer, G.A., Madhoun, R., Al-Zoubi, K.: Distributed simulation of DEVS and Cell-DEVS models in CD++ using Web-Services. Simulation Modelling Practice and Theory 16, 1266–1292 (2008)
Yao, Y., Wang, Y.: A Framework for Testing Distributed Software Components. In: Annual Canadian Conference on Electrical and Computer Engineering, Saskatoon, pp. 1566–1569 (2005)
Becker, S., Koziolek, H., Reussner, R.: Model-Based Performance Prediction with the Palladio Component Model. In: Proceedings of the 6th International Workshop on Software and Performance, Buenos Aires (2007)
An, G., Park, J.S.: Cooperative Component Testing Architecture in Collaborating Network Environment. In: Xiao, B., Yang, L.T., Ma, J., Muller-Schloer, C., Hua, Y. (eds.) ATC 2007. LNCS, vol. 4610, pp. 179–190. Springer, Heidelberg (2007)
Openmatics. Applications (2012), http://www.zf.com/brands/content/en/openmatics/-products_services/apps/apps_openmatics.html (cited June 28, 2012)
Potuzak, T., Snajberk, J., Lipka, R., Brada, P.: Component-based Simulation Framework for Component Testing using SpringDM. In: Annals of DAAAM for 2010 & Proceedings of the 21st International DAAAM Symposium, Zadar, vol. 20(1) (2010)
Šimko, V., Hnětynka, P., Bureš, T.: From Textual Use-Cases to Component-Based Applications. In: Lee, R., Ma, J., Bacon, L., Du, W., Petridis, M. (eds.) SNPD 2010. SCI, vol. 295, pp. 23–37. Springer, Heidelberg (2010)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lipka, R., Potužák, T., Brada, P., Herout, P. (2013). SimCo – Hybrid Simulator for Testing of Component Based Applications. In: van Emde Boas, P., Groen, F.C.A., Italiano, G.F., Nawrocki, J., Sack, H. (eds) SOFSEM 2013: Theory and Practice of Computer Science. SOFSEM 2013. Lecture Notes in Computer Science, vol 7741. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35843-2_36
Download citation
DOI: https://doi.org/10.1007/978-3-642-35843-2_36
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35842-5
Online ISBN: 978-3-642-35843-2
eBook Packages: Computer ScienceComputer Science (R0)