Extraction of problem diagnostic knowledge from test cases
First Claim
Patent Images
1. A method comprising:
- receiving, by one or more computer processors, a first set of log data generated during execution of application code in a first scenario, wherein the first set of log data includes one or more log entries and a set of run-time data;
processing, by one or more computer processors, the first set of log data to identify the one or more log entries appearing in the first set of log data, wherein the one or more log entries are information pertaining to the application code in the first scenario;
creating, by one or more computer processors, a first rule based on a first pattern of the identified one or more log entries appearing in the first set of log data, wherein the first pattern includes a content of a plurality of message identifiers that appear in the first set of log data and a chronological order in which the plurality of message identifiers appear;
associating, by one or more computer processors, the first rule with information describing the first scenario; and
storing, by one or more computer processors, the first rule and the information describing the first scenario in a database.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention enable users to extract knowledge from testing scenarios performed during application development, and later employ that knowledge to interpret application usage scenarios to enhance serviceability of applications by expediting identification and solving of problems. In an exemplary embodiment, log data generated during simulation of test cases is analyzed to create one or more rules based on patterns in which one or more log entries appear in the log data. Later, log data may be analyzed to look for a pattern of log entries that matches a pattern-based rule, thereby facilitating faster identification and resolution of the problem.
-
Citations
20 Claims
-
1. A method comprising:
-
receiving, by one or more computer processors, a first set of log data generated during execution of application code in a first scenario, wherein the first set of log data includes one or more log entries and a set of run-time data; processing, by one or more computer processors, the first set of log data to identify the one or more log entries appearing in the first set of log data, wherein the one or more log entries are information pertaining to the application code in the first scenario; creating, by one or more computer processors, a first rule based on a first pattern of the identified one or more log entries appearing in the first set of log data, wherein the first pattern includes a content of a plurality of message identifiers that appear in the first set of log data and a chronological order in which the plurality of message identifiers appear; associating, by one or more computer processors, the first rule with information describing the first scenario; and storing, by one or more computer processors, the first rule and the information describing the first scenario in a database. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising:
-
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising; program instructions to receive a first set of log data generated during execution of application code in a first scenario, wherein the first set of log data includes one or more log entries and a set of run-time data; program instructions to process the first set of log data to identify the one or more log entries appearing in the first set of log data, wherein the one or more log entries are information pertaining to the application code in the first scenario; program instructions to create a first rule based on a first pattern of the identified one or more log entries appearing in the first set of log data, wherein the first pattern includes a content of a plurality of message identifiers that appear in the first set of log data and a chronological order in which the plurality of message identifiers appear; program instructions to associate the first rule with information describing the first scenario; and program instructions to store the first rule and the information describing the first scenario in a database. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system comprising:
-
one or more computer processors; one or more computer readable storage media; program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive a first set of log data generated during execution of application code in a first scenario, wherein the first set of log data includes one or more log entries and a set of run-time data; program instructions to process the first set of log data to identify the one or more log entries appearing in the first set of log data, wherein the one or more log entries are information pertaining to the application code in the first scenario; program instructions to create a first rule based on a first pattern of the identified one or more log entries appearing in the first set of log data, wherein the first pattern includes a content of a plurality of message identifiers that appear in the first set of log data and a chronological order in which the plurality of message identifiers appear; program instructions to associate the first rule with information describing the first scenario; and program instructions to store the first rule and the information describing the first scenario in a database. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification