×

Performance testing of web application components using image differentiation

  • US 9,600,400 B1
  • Filed: 10/29/2015
  • Issued: 03/21/2017
  • Est. Priority Date: 10/29/2015
  • Status: Active Grant
First Claim
Patent Images

1. A processor-based system to evaluate performance of an application, the system comprising:

  • at least one nontransitory processor-readable medium that stores at least one of processor-executable instructions or data; and

    at least one processor communicably coupled to the at least one nontransitory processor-readable medium, the at least one processor;

    receives a selection of a plurality of user interface components of the application rendered on a display screen of the processor-based system;

    for each of the plurality of selected user interface components, causes a corresponding plurality of baseline screenshot images to be captured, each of the baseline screenshot images depicting a region of the display screen which renders a corresponding selected user interface component;

    logically associates each of the captured baseline screenshot images with a corresponding one of the selected user interface components in a nontransitory processor-readable storage medium;

    for each of the selected user interface components,causes a data call request for the user interface component to be sent to a server processor-based system;

    detects a completion of a response from the server processor-based system received by the processor-based system responsive to the sent data call request;

    detects a response completion time of the completion of the response from the server processor-based system, the detected response completion time indicative of a starting time at which the user interface is re-rendered responsive to the sent data call request;

    logically associates the response completion time as a rendering starting time for the user interface component in the nontransitory processor-readable storage medium;

    causes a test screenshot image of the region which renders the user interface component to be captured;

    determines whether the captured test screenshot image matches the baseline screenshot image for the user interface component;

    while the captured test screenshot image does not match the baseline screenshot image, iteratively;

    causes a test screenshot image of the region which renders the user interface component to be captured; and

    determines whether the captured test screenshot image matches the baseline screenshot image for the user interface component;

    responsive to a determination that the captured test screenshot image matches the baseline screenshot image, detects a rendering completed time which represents the time at which the captured test screenshot image was found to match the baseline screenshot image; and

    determines a rendering execution time for the user interface component based at least in part on the rendering completed time for the user interface component and the rendering starting time for the user interface component.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×