Automated pattern detection in software for optimal instrumentation
US-9021448-B1 · Apr 28, 2015 · US
US2016098341A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2016098341-A1 |
| Application number | US-201514730692-A |
| Country | US |
| Kind code | A1 |
| Filing date | Jun 4, 2015 |
| Priority date | Oct 6, 2014 |
| Publication date | Apr 7, 2016 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A system for performance testing a web application initializes to be instrumented a subset of methods of the web application to be tested in response to a request, and then tests the application based on the subset of methods. The system generates an instrumented call tree and corresponding stack traces for each request in response to the testing, and determines one or more methods that take longer than a predetermined time period to execute using the instrumented call trees and the stack traces. The system then determines additional methods to be tested and adds the determined additional methods to the subset of methods and repeats the testing.
Opening claim text (preview).
What is claimed is: 1 . A computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to performance test a web application, the performance testing comprising: initializing to be instrumented a subset of methods of the web application to be tested in response to a request; testing the application based on the subset of methods; generating an instrumented call tree and corresponding stack traces for each request in response to the testing; determining one or more methods that take longer than a predetermined time period to execute using the instrumented call trees and the stack traces; determining additional methods to be tested; and adding the determined additional methods to the subset of methods and repeating the testing. 2 . The computer readable medium of claim 1 , wherein the web application is a Java-based web application. 3 . The computer readable medium of claim 1 , wherein the determining one or more methods that take longer than the predetermined time period to execute comprises determining boundaries of one or more of the stack traces. 4 . The computer readable medium of claim 1 , further comprising using stop methods to store only one copy of a plurality of repeated stack traces. 5 . The computer readable medium of claim 2 , wherein the testing comprises deploying a Java agent on an instrumented server. 6 . The computer readable medium of claim 5 , wherein the instrumented server is a WebLogic server. 7 . The computer readable medium of claim 5 , wherein the initializing to be instrumented the subset of methods comprises using entry points of the instrumented server as the subset of methods. 8 . A method for performance testing a web application, the method comprising: initializing to be instrumented a subset of methods of the web application to be tested in response to a request; testing the application based on the subset of methods; generating an instrumented call tree and corresponding stack traces for each request in response to the testing; determining one or more methods that take longer than a predetermined time period to execute using the instrumented call trees and the stack traces; determining additional methods to be tested; and adding the determined additional methods to the subset of methods and repeating the testing. 9 . The method of claim 8 , wherein the web application is a Java-based web application. 10 . The method of claim 8 , wherein the determining one or more methods that take longer than the predetermined time period to execute comprises determining boundaries of one or more of the stack traces. 11 . The method of claim 8 , further comprising using stop methods to store only one copy of a plurality of repeated stack traces. 12 . The method of claim 9 , wherein the testing comprises deploying a Java agent on an instrumented server. 13 . The method of claim 12 , wherein the instrumented server is a WebLogic server. 14 . The method of claim 12 , wherein the initializing to be instrumented the subset of methods comprises using entry points of the instrumented server as the subset of methods. 15 . A system for performance testing a web application, the system comprising: an analyzing module configured to initialize to be instrumented a subset of methods of the web application to be tested in response to a request; a Java agent configured to test the application based on the subset of methods; the analyzing module further configured to: generate an instrumented call tree and corresponding stack traces for each request in response to the testing; determine one or more methods that take longer than a predetermined time period to execute using the instrumented call trees and the stack traces; determine additional methods to be tested; and add the determined additional methods to the subset of methods and repeat the testing using the Java agent. 16 . The system of claim 15 , wherein the determining one or more methods that take longer than the predetermined time period to execute comprises determining boundaries of one or more of the stack traces. 17 . The system of claim 15 , the analyzing module further configured to use stop methods to store only one copy of a plurality of repeated stack traces. 18 . The system of claim 15 , further comprising an instrumented server that deploys the Java agent 19 . The system of claim 18 , wherein the instrumented server is a WebLogic server. 20 . The system of claim 18 , wherein the initializing to be instrumented the subset of methods comprises using entry points of the instrumented server as the subset of methods.
Monitoring of systems including the internet · CPC title
for test execution, e.g. scheduling of test suites · CPC title
Visualisation of programs or trace data · CPC title
for performance assessment · CPC title
Monitoring of software · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.