Skip to main content

Test Case Generation Framework for Client-Server Apps: Reverse Engineering Approach

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2020 (ICCSA 2020)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Java Library for reading and writing PCAPs. https://github.com/aboutsip/pkts

  2. 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

    Article  Google Scholar 

  3. 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

  4. 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

  5. Sharma, R.M.: Quantitative analysis of automation and manual testing. Int. J. Eng. Innovative Technol. (IJEIT) 4(1), 1–6 (2014)

    MathSciNet  Google Scholar 

  6. Bhateja, N.: A study on various software automation testing tools. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 5(6), 1250–1252 (2015)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. FIX Protocol. https://www.borsaistanbul.com/docs/default-source/nasdaq-dokuman/genium-inet-fix-protocol-specification-.pdf?sfvrsn=46

  9. OUCH Protocol. https://www.borsaistanbul.com/docs/default-source/nasdaq-dokuman/bistech-ouch-protocol-specification-va-2410.pdf?sfvrsn=8

  10. Dalal, S., Solanki, K.: Challenges of regression testing: a pragmatic perspective. Int. J. Adv. Res. Comput. Sci. 9(1), 499–503 (2018)

    Article  Google Scholar 

  11. 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

    Article  Google Scholar 

  12. 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)

    Google Scholar 

  13. Bangare, S., Bangare, S., Borse, S., Bangare, P., Nandedkar, S.: Automated API testing approach. Int. J. Eng. Sci. Technol. 4, 1–4 (2012)

    Google Scholar 

  14. 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

  15. 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

    Article  Google Scholar 

  16. 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

    Chapter  Google Scholar 

  17. 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)

    Google Scholar 

  18. 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

    Article  Google Scholar 

  19. 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

  20. 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

  21. 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

    Google Scholar 

Download references

Acknowledgments

This study was supported by Borsa Istanbul of Turkey.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Emine Dumlu Demircioğlu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics