Enhancing Web Applications Observability through Instrumented Automated Browsers

被引:8
作者
Garcia, Boni [1 ]
Ricca, Filippo [2 ]
del Alamo, Jose M. [3 ]
Leotta, Maurizio [2 ]
机构
[1] Univ Carlos III Madrid, Madrid, Spain
[2] Univ Genoa, Genoa, Italy
[3] Univ Politecn Madrid, ETSI Telecomunicac, Madrid, Spain
关键词
Browser automation; Log gathering; Empirical study;
D O I
10.1016/j.jss.2023.111723
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In software engineering, observability is the ability to determine the current state of a software system based on its external outputs or signals such as metrics, logs, or traces. Web engineers rely on the web browser console as the primary tool to monitor the client-side of web applications during end-to-end tests. However, this is a manual and time-consuming task due to the different browsers available. This paper presents BrowserWatcher, an open-source browser extension providing cross-browser capabilities to observe web applications and automatically gather browser console logs in different browsers (e.g., Chrome, Firefox, or Edge). We have leveraged this extension to conduct an empirical study analyzing the browser console of the top-50 public websites manually and automatically. The results show that BrowserWatcher gathers all the well-known log categories such as console or error traces. It also reveals that each web browser additionally includes other types of logs, which differ among browsers, thus providing distinct pieces of information for the same website.& COPY; 2023 The Author(s). Published by Elsevier Inc. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
引用
收藏
页数:18
相关论文
共 39 条
[1]  
Amazon, 2022, ALEXA TOP SITES
[2]  
[Anonymous], 1990, IEEE STANDARD GLOSSA, P1, DOI [10.1109/IEEESTD.1990.101064, DOI 10.1109/IEEESTD.1990.101064]
[3]   Execution anomaly detection in large-scale systems through console log analysis [J].
Bao, Liang ;
Li, Qian ;
Lu, Peiyao ;
Lu, Jie ;
Ruan, Tongxiao ;
Zhang, Ke .
JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 143 :172-186
[4]   Software testing research: Achievements, challenges, dreams [J].
Bertolino, Antonia .
FOSE 2007: FUTURE OF SOFTWARE ENGINEERING, 2007, :85-103
[5]  
Burns D., 2022, WEBDRIVER BIDI
[6]   What 5 Million Job Advertisements Tell Us about Testing: a Preliminary Empirical Investigation [J].
Cerioli, Maura ;
Leotta, Maurizio ;
Ricca, Filippo .
PROCEEDINGS OF THE 35TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING (SAC'20), 2020, :1586-1594
[7]  
Chrome Team, 2021, CONT SCRIPTS
[8]  
Chrome Team, 2023, CHROM DEVTOOLS PROT
[9]  
Chrome Team, 2022, CHROM DEVTOOLS
[10]  
Chrome Team, CHROM EXT API