System for debugging a network environment
Abstract
Disclosed is a system for debugging the network environment under regression testing. Initially, a data receiving module receives data pertaining to the network environment. An extraction module extracts a plurality of features by using a parser. An identification module identifies an error as a Problem Report (PR) or a False Failure (FF) based on classification of a test case execution log and a similarity confidence. The test case execution log may be classified based on comparison of a predefined pattern with an error pattern of the test case execution log. A generation module may generate second test case based on the plurality of features, a predefined set of instructions and the error pattern associated with the test case execution log by using a K-means and a Nearest Neighbour algorithm. A debugging module debugs the network environment based on execution of a test case.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A method for debugging a network environment, the method comprising:
receiving, by a processor, data pertaining to a network environment under regression testing upon execution of first test case;
extracting, by the processor, a plurality of features from the data by using a parser;
identifying, by the processor, an error as at least one of a Problem Report (PR) and a False Failure (FF) based on classification of a test case execution log, of the first test case, and a similarity confidence, wherein the classification is based on comparison of a predefined pattern of a test case execution log with an error pattern of the test case execution log, and wherein the test case execution log indicates a summary pertaining to an execution of the first test case, and wherein the PR indicates occurrence of the error, and wherein the FF indicates incorrect reporting of the error;
generating, by the processor, second test case based on the plurality of features, a predefined set of instructions and the error pattern associated with the test case execution log by using a K-means and a Nearest Neighbour algorithm, when the error identified is the PR;
and debugging, by the processor, the network environment based on execution of the second test case.
2. The method of claim 1 further comprises recommending the error as the PR based on a comparison of the plurality of features with a predefined set of features corresponding to the first test case, wherein the comparison is based on the similarity confidence associated with each feature.
3. The method of claim 1 further comprises notifying a user, when the error is rectified from the network environment, and when the error is identified as the FF.
4. The method of claim 1 , wherein the plurality of features includes information such as router details, param file, param version, topology, library file/path, pm specific lines, non- pm specific lines, and interface details.
5. A system for debugging a network environment, the system ( 102 ) comprising:
a processor; and
a memory coupled to the processor, wherein the processor is capable of executing a plurality of modules stored in the memory, and wherein the plurality of modules comprising:
a data receiving module for receiving data pertaining to a network environment under regression testing upon execution of first test case;
an extraction module for extracting a plurality of features from the data by using a parser;
an identification module for identifying an error as at least one of a Problem Report (PR) and a False Failure (FF) based on classification of a test case execution log, of the first test case, and a similarity confidence, wherein the classification is based on comparison of a predefined pattern of a test case execution log with an error pattern of the test case execution log, and wherein the test case execution log indicates a summary pertaining to an execution of the first test case, and wherein the PR indicates occurrence of the error, and wherein the FF indicates incorrect reporting of the error;
a generation module for generating second test case based on the plurality of features, a predefined set of instructions and the error pattern associated with the test case execution log by using a K-means and a Nearest Neighbour algorithm, when the error identified is the PR; and
a debugging module for debugging the network environment based on execution of the second test case.
6. The system of claim 5 is further configured to recommend the error as the PR based on a comparison of the plurality of features with a predefined set of features corresponding to the first test case, wherein the comparison is based on the similarity confidence associated with each feature.
7. The system of claim 5 is further configured to notify a user,
when the error is rectified from the network environment, and
when the error is identified as the FF.
8. The system of claim 5 , wherein the plurality of features includes information such as router details, param file, param version, topology, library file/path, pm specific lines, non-pm specific lines, and interface details.
9. A non-transitory computer readable medium embodying a program executable in a computing device for debugging a network environment, the program comprising a program code:
a program code for receiving data pertaining to a network environment under regression testing upon execution of first test case;
a program code for extracting a plurality of features from the data by using a parser;
a program code for identifying an error as at least one of a Problem Report (PR) and a False Failure (FF) based on classification of a test case execution log, of the first test case, and a similarity confidence, wherein the classification is based on comparison of a predefined pattern of a test case execution log with an error pattern of the test case execution log, and wherein the test case execution log indicates a summary pertaining to an execution of the first test case, and wherein the PR indicates occurrence of the error, and wherein the FF indicates incorrect reporting of the error;
a program code for generating second test case based on the plurality of features, a predefined set of instructions and the error pattern associated with the test case execution log by using a K-means and a Nearest Neighbour algorithm, when the error identified is the PR; and
a program code for debugging the network environment based on execution of the second test case.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.