Methods and apparatus for collecting performance metrics from a web site
First Claim
1. Using an agent executing remotely from a web site, a method for measuring performance associated with the web site, the method comprising:
- obtaining a script, wherein the script includes;
at least one transaction to be performed with the web site, the at least one transaction defining a sequence of page requests identifying web pages to obtain from the web site, wherein each page request in the script specifies a uniform resource locator of a web page on the web site associated with the transaction, wherein at least one page request in the script defines expected web page data indicating data to be present within the web page; and
page correction data that defines page error corrections to be made to web page data after retrieval based at least in part on the expected web page data not being present in the web page;
executing the script to perform the transaction with the web site, wherein executing the script to perform the transaction with the web site comprises;
for each page request defined in the script, issuing a request for the web page to be served from the web site using the uniform resource locator specified in the page request; and
during retrieval of the web page, detecting objects embedded in the web page; and
wherein performance of the transaction includes;
retrieving the sequence of web pages and identifying respective performance metrics, wherein the respective performance metrics include;
i) performance metrics associated with obtaining respective objects defined within each web page; and
ii) performance metrics associated with obtaining a complete version of each web page;
invoking the page correction data against a retrieved web page to modify the retrieved web page to correct for page errors in the retrieved web page, including modifying the HyperText Markup Language (HTML) of the retrieved web page; and
verifying contents of a modified web page associated with the page request against the expected web page data to verify whether at least a portion of the contents of the modified web page is consistent with the expected web page data; and
transmitting the performance metrics associated with execution of the transaction defined by the script to a repository.
14 Assignments
0 Petitions
Accused Products
Abstract
A system provides an agent that executes remotely from a web site and can measure performance associated with the web site. The agent obtains a script containing at least one transaction to be performed with the web site. The transaction(s) define a sequence of page requests identifying web pages to obtain from the web site. The agent executes the script to perform the transaction with the web site. Performance of the transaction includes retrieving the sequence of web pages and identifying respective performance metrics including performance metrics associated with obtaining respective objects defined within each web page, and performance metrics associated with obtaining a complete version of each web page. The agent transmits the performance metrics associated with execution of the transaction defined by the script to a repository.
100 Citations
21 Claims
-
1. Using an agent executing remotely from a web site, a method for measuring performance associated with the web site, the method comprising:
-
obtaining a script, wherein the script includes; at least one transaction to be performed with the web site, the at least one transaction defining a sequence of page requests identifying web pages to obtain from the web site, wherein each page request in the script specifies a uniform resource locator of a web page on the web site associated with the transaction, wherein at least one page request in the script defines expected web page data indicating data to be present within the web page; and page correction data that defines page error corrections to be made to web page data after retrieval based at least in part on the expected web page data not being present in the web page; executing the script to perform the transaction with the web site, wherein executing the script to perform the transaction with the web site comprises; for each page request defined in the script, issuing a request for the web page to be served from the web site using the uniform resource locator specified in the page request; and during retrieval of the web page, detecting objects embedded in the web page; and wherein performance of the transaction includes; retrieving the sequence of web pages and identifying respective performance metrics, wherein the respective performance metrics include; i) performance metrics associated with obtaining respective objects defined within each web page; and ii) performance metrics associated with obtaining a complete version of each web page; invoking the page correction data against a retrieved web page to modify the retrieved web page to correct for page errors in the retrieved web page, including modifying the HyperText Markup Language (HTML) of the retrieved web page; and verifying contents of a modified web page associated with the page request against the expected web page data to verify whether at least a portion of the contents of the modified web page is consistent with the expected web page data; and transmitting the performance metrics associated with execution of the transaction defined by the script to a repository. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer system comprising:
-
a memory; a processor; a network interface; and an interconnection mechanism coupling the memory, the processor and the network interface; wherein the memory is encoded with an agent application that when executed on the processor, produces an agent process that causes the computer system to measure performance associated with a web site accessible on a network via the network interface by causing the computer system to perform operations of; obtaining a script, wherein the script includes; at least one transaction to be performed with the web site, the at least one transaction defining a sequence of page requests identifying web pages to obtain from the web site, each page request in the script specifying a uniform resource locator of a web page on the web site associated with the transaction, wherein at least one page request in the script defines expected web page data indicating data to be present within the web page; and page correction data that defines page error corrections to be made to web page data after retrieval based at least in part on the expected web page data not being present in the web page; executing the script to perform the transaction with the web site, executing including, for each page request defined in the script; issuing a request for the web page to be served from the web site using the uniform resource locator specified in the page request; and during retrieval of the web page, detecting objects embedded in the web page with page errors; and wherein performance of the transaction includes; retrieving the sequence of web pages and identifying respective performance metrics, wherein the respective performance metrics include; i) performance metrics associated with obtaining respective objects defined within each web page; and ii) performance metrics associated with obtaining a complete version of each web page; invoking the page correction data against a retrieved web page to modify the retrieved web page to correct for page errors in the retrieved web page, including modifying the HyperText Markup Language (HTML) of the retrieved web page; and verifying contents of a modified web page associated with the page request against the expected web page data to verify whether at least a portion of the contents of the modified web page is consistent with the expected web page data; and transmitting the performance metrics associated with execution of the transaction defined by the script to a repository via the network interface. - View Dependent Claims (18, 19, 20, 21)
-
Specification