Web test generation
First Claim
Patent Images
1. A computer-implemented method for generating a web test, the method comprising computer-implemented instructions for:
- receiving a log file containing one or more requests received at a web server;
extracting relevant information from the log file into a data file byretrieving a line from the log file;
determining whether the line matches a match rule that identifies a type of request based on values of one or more attributes contained in each line;
in response to determining that the line matches the match rule, identifying a web test definition that registered the match rule, the web test definition identifying an extraction rule and the web test template;
retrieving a web test template;
determining whether the relevant information can be extracted from the line according to the extraction rule;
in response to determining that the relevant information can be extracted from the line according to the extraction rule, extracting the relevant information from the line according to the extraction rule; and
populating the web test template with the relevant information from the data file to generate the web test.
2 Assignments
0 Petitions
Accused Products
Abstract
Technologies are described herein for generating a suite of web tests that are then combined into a load test. A log file is received. The log file may contain one or more requests received at a web server. Relevant information is extracted from the log file into a data file. A web test template is retrieved. The web test template is populated with the relevant information from the data file to generate the web test.
43 Citations
17 Claims
-
1. A computer-implemented method for generating a web test, the method comprising computer-implemented instructions for:
-
receiving a log file containing one or more requests received at a web server; extracting relevant information from the log file into a data file by retrieving a line from the log file; determining whether the line matches a match rule that identifies a type of request based on values of one or more attributes contained in each line; in response to determining that the line matches the match rule, identifying a web test definition that registered the match rule, the web test definition identifying an extraction rule and the web test template; retrieving a web test template; determining whether the relevant information can be extracted from the line according to the extraction rule; in response to determining that the relevant information can be extracted from the line according to the extraction rule, extracting the relevant information from the line according to the extraction rule; and populating the web test template with the relevant information from the data file to generate the web test. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system, comprising:
-
a processor; a memory communicatively coupled to the processor; and a program module which (i) executes in the processor from the memory and (ii) which, when executed by the processor, causes the computer system to generate a web test by receiving a log file comprising one or more lines, each of the lines corresponding to a request received at a web server, retrieving a line from the log file, identifying a match rule that identifies a type of request based on values of one or more attributes contained in each line that matches the line, upon identifying a match rule that matches the line, identifying a web test definition that registered the match rule, the web test definition identifying an extraction rule and a web test template, determining whether the relevant information can be extracted from the line according to the extraction rule, in response to determining that the relevant information can be extracted from the line according to the extraction rule, extracting relevant information from the line according to the extraction rule into a data file by determining whether the relevant information contains an ambiguity, if the relevant information does not contain an ambiguity, extracting the relevant information from the line according to the extraction rule, if the relevant information does contain an ambiguity, retrieving heuristic data, and, utilizing the heuristic data to extract the relevant information from the line according to the extraction rule, retrieving the web test template, and populating the web test template with the relevant information from the data file to generate the web test. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a computer, cause the computer to:
-
receive a log file comprising one or more lines, each of the lines corresponding to a request received at a web server; retrieve a line from the log file; identify a match rule that identifies a type of request based on values of one or more attributes contained in each line that matches the line; upon identifying a match rule that matches the line, identify a web test definition that registered the match rule, the web test definition identifying an extraction rule and a web test template; determine whether the relevant information can be extracted from the line according to the extraction rule by determining whether the relevant information contains an ambiguity; in response to determining that the relevant information does not contain an ambiguity, extract the relevant information from the line according to the extraction rule into a data file; in response to determining that the relevant information contains an ambiguity, retrieve heuristic data; upon retrieving the heuristic data, utilize the heuristic data to extract the relevant information from the line according to the extraction rule; retrieve the web test template; and populate the web test template with the relevant information from the data file to generate a web test.
-
Specification