SimCo – Hybrid Simulator for Testing of Component Based Applications
- 3 Citations
- 974 Downloads
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.
Keywords
software component testing simulation performance OSGiPreview
Unable to display preview. Download preview PDF.
References
- 1.Szyperski, C., Gruntz, D., Murer, S.: Component Software – Beyond Object-Oriented Programming. ACM Press, New York (2000)Google Scholar
- 2.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)CrossRefGoogle Scholar
- 3.Heam, P.C., Kouchnarenko, O., Voinot, J.: Component Simulation-based Substitutivity Managing QoS Aspects. Electronic Notes in Theoretical Computer Science 260, 109–123 (2010)CrossRefGoogle Scholar
- 4.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)CrossRefGoogle Scholar
- 5.The OSGi Alliance: OSGi Service Platform Core Specification, release 4, version 4.2 (2009)Google Scholar
- 6.Rubio, D.: Pro Spring Dynamic Modules for OSGiTM Service Platform. Apress, USA (2009)Google Scholar
- 7.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)Google Scholar
- 8.Fujimoto, R.M.: Parallel and Distributed Simulation Systems. John Wiley & Sons, New York (2000)Google Scholar
- 9.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)Google Scholar
- 10.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)Google Scholar
- 11.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)Google Scholar
- 12.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)Google Scholar
- 13.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)Google Scholar
- 14.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)Google Scholar
- 15.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)CrossRefGoogle Scholar
- 16.Verbraeck, A.: Component-based Distributed Simulations. The Way Forward? In: Proceedings of the 18th Workshop on Parallel and Distributed Simulation, Kufstein (2004)Google Scholar
- 17.de Lara, J.: Distributed Event Graphs: Formalizing Component-based Modelling and Simulation. Electronic Notes in Theoretical Computer Science 127, 145–162 (2004, 2005)Google Scholar
- 18.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)CrossRefGoogle Scholar
- 19.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)Google Scholar
- 20.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)Google Scholar
- 21.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)CrossRefGoogle Scholar
- 22.Openmatics. Applications (2012), http://www.zf.com/brands/content/en/openmatics/-products_services/apps/apps_openmatics.html (cited June 28, 2012)
- 23.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)Google Scholar
- 24.Š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)CrossRefGoogle Scholar