Traffic replay to detect interface changes
First Claim
1. A computing apparatus comprising:
- one or more computer readable storage media;
a processing system comprising a processor operatively coupled with the one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media, that when executed by the processing system, direct the processing system to at least;
instantiate at least classes associated with one or more software modules within an enveloping framework that forms an encapsulation border for interception of inputs to the one or more software modules and outputs from the one or more software modules;
the enveloping framework configured to;
provide the inputs to the one or more software modules based on previously recorded user activity, the inputs associated with request identifiers mapping into the previously recorded user activity;
intercept the outputs comprising calls made by the one or more software modules to external dependencies by preventing the calls from reaching the external dependencies;
present results to the one or more software modules responsive to the calls to the external dependencies, wherein the results are selected based at least on correlations with the request identifiers associated with the inputs; and
detect changes in operation of the one or more software modules based in part on a comparison of previously recorded outputs from the one or more software modules to replayed outputs that are determined by the one or more software modules when using the inputs and the results.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems, methods, apparatuses, and software for software testing systems in computing environments are provided herein. In one example, software modules are instantiated within an enveloping framework for replaying or recording of user activity with regards to the software modules. Based at least on the enveloping framework placed in a replay mode of operation, the enveloping framework provides replayed inputs to the software modules based on previously recorded user activity, the replayed inputs each associated with unique identifiers mapping into the previously recorded user activity. The enveloping framework monitors outputs from the software modules and correlates the outputs to the inputs using the unique identifiers. Changes are detected in operation of the software modules based in part on a comparison of previously recorded outputs from the software modules to the outputs that are determined by the software modules when using the replayed inputs.
-
Citations
20 Claims
-
1. A computing apparatus comprising:
-
one or more computer readable storage media; a processing system comprising a processor operatively coupled with the one or more computer readable storage media; and program instructions stored on the one or more computer readable storage media, that when executed by the processing system, direct the processing system to at least; instantiate at least classes associated with one or more software modules within an enveloping framework that forms an encapsulation border for interception of inputs to the one or more software modules and outputs from the one or more software modules; the enveloping framework configured to; provide the inputs to the one or more software modules based on previously recorded user activity, the inputs associated with request identifiers mapping into the previously recorded user activity; intercept the outputs comprising calls made by the one or more software modules to external dependencies by preventing the calls from reaching the external dependencies; present results to the one or more software modules responsive to the calls to the external dependencies, wherein the results are selected based at least on correlations with the request identifiers associated with the inputs; and detect changes in operation of the one or more software modules based in part on a comparison of previously recorded outputs from the one or more software modules to replayed outputs that are determined by the one or more software modules when using the inputs and the results. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of detecting changes in operation of software elements, comprising:
-
instantiating at least classes associated with one or more software modules within an enveloping framework that forms an encapsulation border for interception of inputs to the one or more software modules and outputs from to the one or more software modules; in the enveloping framework, providing the inputs to the one or more software modules based on previously recorded user activity, the inputs associated with request identifiers mapping into the previously recorded user activity; in the enveloping framework, intercepting the outputs comprising calls made by the one or more software modules to external dependencies by preventing the calls from reaching the external dependencies; in the enveloping framework, presenting results to the one or more software modules responsive to the calls to the external dependencies, wherein the results are selected based at least on correlations with the request identifiers associated with the inputs; and detecting changes in operation of the one or more software modules based in part on a comparison of previously recorded outputs from the one or more software modules to replayed outputs that are determined by the one or more software modules when using the inputs and the results. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computing apparatus comprising:
-
one or more computer readable storage media; a processing system comprising a processor operatively coupled with the one or more computer readable storage media; and program instructions stored on the one or more computer readable storage media, that when executed by the processing system, direct the processing system to at least; instantiate at least classes associated with one or more software modules within an enveloping framework that forms a boundary for interception of inputs to the one or more software modules and interception of outputs from the one or more software modules based at least on an instruction issued to the enveloping framework for instantiation of the one or more software modules; based at least on the enveloping framework placed in a replay mode of operation; provide the inputs comprising replayed activity to the one or more software modules based on previously recorded user activity, the inputs each associated with unique identifiers mapping into the previously recorded user activity; intercept the outputs by preventing calls made by the one or more software modules from reaching external services; and monitor the outputs from the one or more software modules and correlate the outputs to the inputs using the unique identifiers; and detect changes in operation of the one or more software modules based in part on a comparison of previously recorded outputs from the one or more software modules to the outputs that are determined by the one or more software modules when using the inputs. - View Dependent Claims (18, 19, 20)
-
Specification