Abstract
This paper examines techniques for the model-based testing of web applications and multilingual websites. For this purpose, the simple web game application GuessNumbers is used to explain the essential steps for a model-based test process that applies statistical usage models to generate appropriate test suites. We also discuss methods for performing on-the-fly testing by means of an executable usage model. Model-based techniques that provide graphical representations of usage models make it easy to set the test focus on specific regions of the system under test that shall be tested. In addition, adapted profiles support the selective generation of test suites. We also show how generic usage models that are adapted to specific environments during the test execution, enable multilingual websites to be tested. Using the TestPlayer tool chain, a model-based testing approach is easily done.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
El-Far, I.K., Whittaker, J.A.: Model-based software testing. In: Marciniak, J.J. (ed.) Encyclopedia on Software Engineering. Wiley, New York (2001)
Legeard, B., Utting, M.: Practical Model-Based Testing. Elsevier, Amsterdam (2007)
Rosaria, S., Robinson, H.: Applying models in your testing process. Inf. Softw. Technol. 42, 815–824 (2000)
Whittaker, J.A., Poore, J.H.: Markov analysis of software specifications. ACM Trans. Softw. Eng. Methodol. 2(1), 93–106 (1993)
Walton, G.H., Poore, J.H., Trammell, C.J.: Statistical testing of software based on a usage model. Softw. Pract. Exp. 25(1), 97–108 (1995)
Musa, J.D.: The operational profile. In: Özekici, S. (ed.) Reliability and Maintenance of Complex Systems. NATO ASI Series (Series F: Computer and Systems Sciences), vol. 154, pp. 333–344. Springer, Heidelberg (1996). https://doi.org/10.1007/978-3-662-03274-9_18
Walton, G., Poore, J.: Generating transition probabilities to support model-based software testing. Softw. Pract. Exp. 30(10), 1095–1106 (2000)
Poore, J., Walton, G., Whittaker, J.: A constraint-based approach to the representation of software usage models. Inf. Softw. Technol. 42(12), 825–833 (2000)
Takagi, T., Furukawa, Z.: Constructing a usage model for statistical testing with source code generation methods. In: Proceedings of the 11th Asia-Pacific Software Engineering Conference (APSEC 2004) (2004)
Dulz, W., Holpp, S., German, R.: A polyhedron approach to calculate probability distributions for Markov chain usage models. Electron. Notes Theor. Comput. Sci. 264(3), 19–35 (2010)
Prowell, S.: Computations for Markov chain usage models. Technical report, Software Engineering Institute, Carnegie-Mellon University, Pittsburgh, USA, 2000. UT-CS-03-505 (2000)
Sayre, K., Poore, J.: Stopping criteria for statistical testing. Inf. Softw. Technol. 42(12), 851–857 (2000)
Gutjahr, W.: Importance sampling of test cases in Markovian software usage models. Probab. Eng. Inf. Sci. 11, 19–36 (1997)
Prowell, S.J.: JUMBL: a tool for model-based statistical testing. In: HICSS, pp. 3–37 (2003)
Dulz, W., Zhen, F.: MaTeLo - statistical usage testing by annotated sequence diagrams, Markov chains and TTCN-3. In: IEEE International Conference on Quality Software (QSIC 2003), pp. 336–342 (2003)
Dulz, W.: A comfortable testplayer for analyzing statistical usage testing strategies. In: ICSE Workshop on Automation of Software Test (AST 2011), Honolulu, Hawaii (2011)
Dulz, W.: Model-based strategies for reducing the complexity of statistically generated test suites. In: Winkler, D., Biffl, S., Bergsmann, J. (eds.) SWQD 2013. LNBIP, vol. 133, pp. 89–103. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-35702-2_7
Veanes, M., Campbell, C., Schulte, W., Kohli, P.: On-The-fly testing of reactive systems. Technical report, Microsoft Research, Redmond, WA, USA, 2005. MSR-TR-2005-05 (2005)
Dulz, W.: On-the-fly testing by using an executable TTCN-3 Markov chain usage model. In: Maciaszek, L.A., González-Pérez, C., Jablonski, S. (eds.) ENASE 2008. CCIS, vol. 69, pp. 17–30. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-14819-4_2
Dulz, W.: A versatile tool environment to perform model-based testing of web applications and multilingual websites. In: 13th International Conference on Software Technologies (ICSOFT 2018), pp. 45–56 (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Dulz, W. (2019). Model-Based On-the-Fly Testing of Web Applications and Multilingual Websites. In: van Sinderen, M., Maciaszek, L. (eds) Software Technologies. ICSOFT 2018. Communications in Computer and Information Science, vol 1077. Springer, Cham. https://doi.org/10.1007/978-3-030-29157-0_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-29157-0_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-29156-3
Online ISBN: 978-3-030-29157-0
eBook Packages: Computer ScienceComputer Science (R0)