Search for contacts, projects,
courses and publications

STILE : a tool for optimizing E2E web test scripts parallelization

Additional information

Authors
Olianas D., Leotta M., Ricca F., Biagiola M., Tonella P.
Type
Journal Article
Year
2025
Language
English
Abstract
Web applications quality is commonly assessed by executing End-to-End (E2E) test scripts interacting with those systems as a human tester would. To avoid setting up the web application state for each test script, testers usually create test scripts that may depend on others previously executed. However, the presence of dependencies prevents parallelization, a fundamental technique for speedup the execution of large test suites. In this paper, we present Stile, a tool for parallelizing the execution of E2E web test scripts that generates and executes a set of test schedules satisfying two important constraints: (1) every schedule respects existing test dependencies, and (2) all test scripts in the test suite are executed at least once. Moreover, Stile optimizes the execution by running only once the test scripts that are shared among the schedules. We empirically evaluated Stile on eight E2E test suites by comparing the execution time of Stile both with the sequential execution and with the parallel execution based on Selenium Grid. Our results show that Stile can reduce the execution time up to 80% w.r.t. the sequential execution and up to 50% w.r.t. Grid. Moreover, Stile provides a reduction in the CPUs usage (i.e., overall CPU-time) up to 75%.
Keywords
End-to-end testing, Web testing, Parallel testing, Dependency graph, Selenium Docker
Journal
Journal of Systems and Software
Volume
222
Pages (or article number)
112304
ISSN
0164-1212

Diffusion

License
CC BY-NC-ND
Visibility
Public
Status open access
Hybrid