Abstract
In this paper, the message-driven test case generation framework is proposed for client-server architecture systems which are communicated with each other by using API messages. Basically proposed framework automatically generates test cases, which are extracted with reverse engineering mechanism from captured network packets between client-server communications over networks. We propose a novel approach to record packets for regression testing. The studying is motivated due to the fact that there is a lack of regression test automation framework in a specific domain: client-server apps which uses API messages for the communication, such as financial applications, banking applications, trading systems, real-time apps. Our approach supports the reuse of test cases and will ensure 100% automation from test case generation to execution in API regression testing for client-server applications. Our work reports the significant reuse capability and reduction of effort on a real-word financial system example.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Java Library for reading and writing PCAPs. https://github.com/aboutsip/pkts
Garousi, V., Elberzhager, F.: Test automation: not just for test execution. IEEE Softw. 34(2), 90–96 (2017). https://doi.org/10.1109/ms.2017.34
Liu, Z., Chen, Q., Jiang, X.: A maintainability spreadsheet-driven regression test automation framework. In: IEEE 16th International Conference on Computational Science and Engineering, Sydney, NSW, pp. 1181–1184 (2013). https://doi.org/10.1109/cse.2013.175
Sneha, K., Malle, G.M.: Research on software testing techniques and software automation testing tools. In: 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS), Chennai, pp. 77–81 (2017). https://doi.org/10.1109/icecds.2017.8389562
Sharma, R.M.: Quantitative analysis of automation and manual testing. Int. J. Eng. Innovative Technol. (IJEIT) 4(1), 1–6 (2014)
Bhateja, N.: A study on various software automation testing tools. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 5(6), 1250–1252 (2015)
Sultanía, A.K.: Developing software product and test automation software using agile methodology. In: Proceedings of the 2015 Third International Conference on Computer, Communication, Control and Information Technology (C3IT), Hooghly, pp. 1–4 (2015)
FIX Protocol. https://www.borsaistanbul.com/docs/default-source/nasdaq-dokuman/genium-inet-fix-protocol-specification-.pdf?sfvrsn=46
OUCH Protocol. https://www.borsaistanbul.com/docs/default-source/nasdaq-dokuman/bistech-ouch-protocol-specification-va-2410.pdf?sfvrsn=8
Dalal, S., Solanki, K.: Challenges of regression testing: a pragmatic perspective. Int. J. Adv. Res. Comput. Sci. 9(1), 499–503 (2018)
Itkonen, J., Mantyla, M.V.: Are test cases needed? Replicated comparison between exploratory and test-case based software testing. Empirical Softw. Eng. 19(2), 303–342 (2014). https://doi.org/10.1007/s10664-013-9266-8
Han, X., Zhang, N., He, W., Zhang, K., Tang, L.: Automated warship software testing system based on loadrunner automation API. In: 2018 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), Lisbon, pp. 51–55 (2018)
Bangare, S., Bangare, S., Borse, S., Bangare, P., Nandedkar, S.: Automated API testing approach. Int. J. Eng. Sci. Technol. 4, 1–4 (2012)
Isha, A.S., Revathi, M.: Automated API testing. In: 2018 3rd International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, pp. 788–791 (2018). https://doi.org/10.1109/icict43934.2018.9034254
Gonçalves, W., de Almeida, C.B., Araújo, L., Ferraz, M., Xandú, R., Junior, I.: The impact of human factors on the software testing process: the importance of these factors in a software testing environment. J. Inf. Syst. Eng. Manage. 2, 24 (2017). https://doi.org/10.20897/jisem.201724
Engström, E., Runeson, P.: A qualitative survey of regression testing practices. In: Ali Babar, M., Vierimaa, M., Oivo, M. (eds.) PROFES 2010. LNCS, vol. 6156, pp. 3–16. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-13792-1_3
Fernandez-Sanz, L., Misra, S.: Practical application of UML activity diagrams for the generation of test cases. Proc. Romanian Acad. Ser. A 13(3), 251–260 (2012)
Xu, D., Xu, W., Kent, M., Thomas, L., Wang, L.: An automated test generation technique for software quality assurance. IEEE Trans. Reliab. 64(1), 247–268 (2015). https://doi.org/10.1109/tr.2014.2354172
Chen, Y., Gao, Y., Zhou, Y., Chen, M., Ma, X.: Design of an automated test tool based on interface protocol. In: 2019 IEEE 19th International Conference on Software Quality, Reliability and Security Companion (QRS-C), Sofia, Bulgaria, pp. 57–61 (2019). https://doi.org/10.1109/qrs-c.2019.00024
Aiya, K.V., Verma, H.: Keyword driven automated testing framework for web application. In: 2014 9th International Conference on Industrial and Information Systems (ICIIS), Gwalior, pp. 1–6 (2014). https://doi.org/10.1109/iciinfs.2014.7036478
Wang, J., Bai, X., Li, L., Ji, Z., Ma, H.: A model-based framework for cloud API testing. In: 2017 IEEE 41st Annual Computer Software and Applications Conference (COMPSAC), Turin, pp. 60–65 (2017). https://doi.org/10.1109/compsac.2017.24
Acknowledgments
This study was supported by Borsa Istanbul of Turkey.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Demircioğlu, E.D., Kalıpsız, O. (2020). Test Case Generation Framework for Client-Server Apps: Reverse Engineering Approach. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2020. ICCSA 2020. Lecture Notes in Computer Science(), vol 12253. Springer, Cham. https://doi.org/10.1007/978-3-030-58814-4_54
Download citation
DOI: https://doi.org/10.1007/978-3-030-58814-4_54
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-58813-7
Online ISBN: 978-3-030-58814-4
eBook Packages: Computer ScienceComputer Science (R0)