2022
Report  Restricted

Unobtrusive in vivo test and rollback of Java applications

Bertolino A., De Angelis G., Miranda B., Tonella P.

Software testing  In vivo testing  Rollback 

Modern software systems accommodate complex configurations and execution conditions that depend on the environment where the software is run. While in house testing can exercise only a fraction of such execution contexts, in vivo testing can take advantage of the execution state observed in the field to conduct further testing activities. In this paper, we present the Groucho approach to in vivo testing. Groucho can suspend the execution, run some in vivo tests, rollback the side effects introduced by such tests, and eventually resume normal execution. Differently from the state-of-art approach Invite, Groucho can be transparently applied to the original application code, even if only available as compiled code, and is fully automated. Our empirical studies of the performance overhead introduced by Groucho under various configurations showed that this may be kept to a negligible level by activating in vivo testing with low probability. Our empirical studies about the effectiveness of the approach confirm previous findings on the existence of faults that are unlikely exposed in house and become easy to expose in the field. Moreover, we include the first study to quantify the coverage increase gained when in vivo testing is added to complement in house testing.

Source: ISTI Technical Report, ISTI-2022-TR/008, 2022


Metrics



Back to previous page
BibTeX entry
@techreport{oai:it.cnr:prodotti:466129,
	title = {Unobtrusive in vivo test and rollback of Java applications},
	author = {Bertolino A. and De Angelis G. and Miranda B. and Tonella P.},
	doi = {10.32079/isti-tr-2022/008},
	institution = {ISTI Technical Report, ISTI-2022-TR/008, 2022},
	year = {2022}
}