Under CopyrightDrabek, ChristianChristianDrabekWeiß, GereonGereonWeißBauer, BernhardBernhardBauer2022-03-054.8.20182018https://publica.fraunhofer.de/handle/publica/25353010.24406/publica-fhg-253530Runtime verification checks if the behavior of a system under observation in a certain run satisfies a given correctness property. While a positive description of the system's behavior is often available from specification, it contains no information for the monitor how it should continue in case the system deviates from this behavior. If the monitor does not resume its operation in the right way, test coverage will be unnecessarily low or further observations are misclassified. To close this gap, we present a new method for extending state-based runtime monitors in an automated way, called resumption. Therefore, this paper examines how runtime verification monitors based on a positive behavior description can be resumed to find all detectable deviations instead of reporting only invalid traces. Moreover, we examine when resumption can be applied successfully and we present alternative resumption algorithms. Using an evaluation framework, their precision and recall for detecting different kinds of deviations are compared. While the algorithm seeking expected behavior for resumption works very well in all evaluated cases, the framework can also be used to find the best suited resumption extension for a specific application scenario. Further, two real world application scenarios are introduced where resumption has been successfully applied.enresumptionruntime verificationmonitorstate machinenetworked embedded systemcurrent state uncertaintymodel-based621Resumption of runtime verification monitors: Method, approach and applicationjournal article