Comparative analysis of methods for testing web applications

The aim of the study was to conduct a comparative analysis of testing approaches for web applications in the two most popular architectures: monolithic and microservices. For the purpose of the study, the server-side of the application (backend) was implemented twice with identical functionalities...

Full description

Saved in:
Bibliographic Details
Main Authors: Wojciech Superson, Tomasz Smyk, Małgorzata Plechawska-Wójcik
Format: Article
Language:English
Published: Lublin University of Technology 2023-09-01
Series:Journal of Computer Sciences Institute
Subjects:
Online Access:https://ph.pollub.pl/index.php/jcsi/article/view/3697
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849387851876139008
author Wojciech Superson
Tomasz Smyk
Małgorzata Plechawska-Wójcik
author_facet Wojciech Superson
Tomasz Smyk
Małgorzata Plechawska-Wójcik
author_sort Wojciech Superson
collection DOAJ
description The aim of the study was to conduct a comparative analysis of testing approaches for web applications in the two most popular architectures: monolithic and microservices. For the purpose of the study, the server-side of the application (backend) was implemented twice with identical functionalities for each of these architectures, allowing for a precise comparison of testing differences for the same program capabilities. The results revealed that the monolithic application was easier and faster to test. However, the microservices architecture requires more energy spent on testing, but allows better scalability and elasticity for independent teams to develop applications. Each of the examined architectures certainly has its own advantages and drawbacks. Furthermore, the conducted research indicates that unit tests require significantly less time to execute. However, when it comes to comprehensive code analysis, integration tests outperform unit tests by covering a substantial portion of the application's code with a single test. Nonetheless, the best comprehensive code analysis and protection against unwanted functional changes can be achieved by employing all known types of tests.
format Article
id doaj-art-85352e53f433409ba42f4a8aece590df
institution Kabale University
issn 2544-0764
language English
publishDate 2023-09-01
publisher Lublin University of Technology
record_format Article
series Journal of Computer Sciences Institute
spelling doaj-art-85352e53f433409ba42f4a8aece590df2025-08-20T03:42:28ZengLublin University of TechnologyJournal of Computer Sciences Institute2544-07642023-09-012810.35784/jcsi.3697Comparative analysis of methods for testing web applications Wojciech Superson0Tomasz Smyk1Małgorzata Plechawska-Wójcik2Politechnika Lubelska, Wydział Elektrotechniki i InformatykiPolitechnika Lubelska, Wydział Elektrotechniki i InformatykiPolitechnika Lubelska, Wydział Elektrotechniki i Informatyki The aim of the study was to conduct a comparative analysis of testing approaches for web applications in the two most popular architectures: monolithic and microservices. For the purpose of the study, the server-side of the application (backend) was implemented twice with identical functionalities for each of these architectures, allowing for a precise comparison of testing differences for the same program capabilities. The results revealed that the monolithic application was easier and faster to test. However, the microservices architecture requires more energy spent on testing, but allows better scalability and elasticity for independent teams to develop applications. Each of the examined architectures certainly has its own advantages and drawbacks. Furthermore, the conducted research indicates that unit tests require significantly less time to execute. However, when it comes to comprehensive code analysis, integration tests outperform unit tests by covering a substantial portion of the application's code with a single test. Nonetheless, the best comprehensive code analysis and protection against unwanted functional changes can be achieved by employing all known types of tests. https://ph.pollub.pl/index.php/jcsi/article/view/3697unit testing integration testing microservices architecture monolithic architecture
spellingShingle Wojciech Superson
Tomasz Smyk
Małgorzata Plechawska-Wójcik
Comparative analysis of methods for testing web applications
Journal of Computer Sciences Institute
unit testing
integration testing
microservices architecture
monolithic architecture
title Comparative analysis of methods for testing web applications
title_full Comparative analysis of methods for testing web applications
title_fullStr Comparative analysis of methods for testing web applications
title_full_unstemmed Comparative analysis of methods for testing web applications
title_short Comparative analysis of methods for testing web applications
title_sort comparative analysis of methods for testing web applications
topic unit testing
integration testing
microservices architecture
monolithic architecture
url https://ph.pollub.pl/index.php/jcsi/article/view/3697
work_keys_str_mv AT wojciechsuperson comparativeanalysisofmethodsfortestingwebapplications
AT tomaszsmyk comparativeanalysisofmethodsfortestingwebapplications
AT małgorzataplechawskawojcik comparativeanalysisofmethodsfortestingwebapplications