Extraction of problem diagnostic knowledge from test cases

US9417995B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9417995-B2
Application numberUS-201615071252-A
CountryUS
Kind codeB2
Filing dateMar 16, 2016
Priority dateJul 10, 2014
Publication dateAug 16, 2016
Grant dateAug 16, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: processing, by one or more computer processors, a first set of log data generated during execution of application code in a first scenario to identify one or more log entries appearing in the first set of log data, wherein: the first set of log data includes the one or more log entries and a set of run-time data, and 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; and associating, by one or more computer processors, the first rule with information describing the first scenario. 2. The method of claim 1 , further comprising: receiving, by one or more computer processors, a second set of log data generated during execution of application code in a second scenario; processing, by one or more computer processors, the second set of log data to identify one or more log entries appearing in the second set of log data; determining, by one or more computer processors, whether the identified one or more log entries appearing in the second set of log data satisfy the first rule; and responsive to determining that the identified one or more log entries appearing in the second set of log data satisfy the first rule, providing to a user, by one or more computer processors, the information describing the first scenario. 3. The method of claim 2 , further comprising: receiving, by one or more computer processors, information describing the second scenario; associating, by one or more computer processors, the information describing the second scenario with the first rule and the information describing the first scenario; and storing, by one or more computer processors, the information describing the second scenario in a database. 4. The method of claim 2 , wherein the first scenario is an application development testing scenario, and the second scenario is an end-user application usage scenario. 5. The method of claim 2 , further comprising: updating, by one or more computer processors, one or more lines of the application code such that upon execution of the application code, a third set of log data is generated; receiving, by one or more computer processors, the third set of log data generated during execution of application code in a third scenario; and creating, by one or more computer processors, a second rule based on a second pattern of one or more log entries appearing in the third set of log data. 6. The method of claim 2 , wherein the step of processing, by one or more computer processors, the first set of log data to identify the one or more log entries comprises: processing, by one or more computer processors, the first set of log data to identify a message identifier for each of the one or more log entries in the first set of log data. 7. The method of claim 6 , wherein the step of determining, by one or more computer processors, whether the identified one or more log entries appearing in the second set of log data satisfy the first rule comprises: determining, by one or more computer processors, whether message identifiers appearing in the second set of log data match content and a chronological order of the plurality of message identifiers appearing in the first set of log data. 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 process a first set of log data generated during execution of application code in a first scenario to identify one or more log entries appearing in the first set of log data, wherein: the first set of log data includes the one or more log entries and a set of run-time data, and 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; and program instructions to associate the first rule with information describing the first scenario. 9. The computer program product of claim 8 , wherein the program instructions stored on the one or more computer readable storage media further comprise: program instructions to receive a second set of log data generated during execution of application code in a second scenario; program instructions to process the second set of log data to identify one or more log entries appearing in the second set of log data; program instructions to determine whether the identified one or more log entries appearing in the second set of log data satisfy the first rule; and program instructions to, responsive to determining that the identified one or more log entries appearing in the second set of log data satisfy the first rule, provide to a user the information describing the first scenario. 10. The computer program product of claim 9 , wherein the program instructions stored on the one or more computer readable storage media further comprise: program instructions to receive information describing the second scenario; program instructions to associate the information describing the second scenario with the first rule and the information describing the first scenario; and program instructions to store the information describing the second scenario in a database. 11. The computer program product of claim 9 , wherein the first scenario is an application development testing scenario, and the second scenario is an end-user application usage scenario. 12. The computer program product of claim 9 , wherein the program instructions stored on the one or more computer readable storage media further comprise: program instructions to update one or more lines of the application code such that upon execution of the application code, a third set of log data is generated; program instructions to receive the third set of log data generated during execution of application code in a third scenario; and program instructions to create a second rule based on a second pattern of one or more log entries appearing in the third set of log data. 13. The computer program product of claim 9 , wherein the program instructions to process the first set of log data to identify the one or more log entries comprise: program instructions to process the first set of log data to identify a message identifier for each of the one or more log entries in the first set of log data. 14. The computer program product of claim 13 , wherein the program instructions to determine whether the identified one or more log entries appearing in the second set of log data satisfy the first rule comprise: program instructions to determine whether message identifiers appearing in the second set of log data match content and a chronological order of the plurality of message identifiers appearing in the first set of log data. 15. A computer system comprising: one or more computer processors; one or more computer readable storage media; program instructions

Assignees

Inventors

Classifications

  • for test execution, e.g. scheduling of test suites · CPC title

  • Environments for analysis, debugging or testing of software · CPC title

  • for test results analysis · CPC title

  • for test version control, e.g. updating test cases to a new software version · CPC title

  • by runtime analysis (performance monitoring G06F11/3466) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9417995B2 cover?
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 t…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3688. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 16 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).