arrow
Return

STILE: A tool for optimizing E2E web test scripts parallelization

delete2025-04-01
delete0
delete
OA
AI
D
Dario Olianas
M
Maurizio Leotta *
F
Filippo Ricca
M
Matteo Biagiola
P
Paolo Tonella
DOI:10.1016/j.jss.2024.112304delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
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:
Web testing
Parallel testing
Dependency graph
Selenium
Docker
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.4K
Citations:
8.4K

Organization

U
Universita della Svizzera Italiana
Scholars:
3.3K
Papers: 2.8K
Citations: 3
U
university of genoa
Scholars:
2.9W
Papers: 2.2W
Citations: 20