Common recording and replaying performance test tool for a client-server environment
First Claim
1. A computer-implemented method for recording and replaying an execution of a client application in a client-server environment, comprising:
- determining, by a common recorder, a type of the client application from a plurality of client application types, wherein the common recorder is configured to identify applications of each of the plurality of application types, the plurality of application types comprising;
a Web service application type, a Remote Method Invocation (RMI) application type, a Common Object Request Broker Architecture (CORBA) application type an Enterprise JavaBeans (EJB) application type, and Internet Inter-Orb Protocol (IIOP) application type;
identifying, by the common recorder, particular class files used by the client application to process client actions during the execution based on the determined type of the client application,identifying, by the common recorder, data passed in client requests and data returned in server responses to be recorded using contents the identified class files;
recording, by the common recorder, the identified class files and the identified data in a replay file; and
generating a server load based on the replay file by recreating actions of the client application using the data recorded in the replay file during a replay execution;
wherein the common recorder utilizes the particular class files of the client application to interact with the server,wherein the common recorder interfaces with remote interface stubs of a plurality of client applications executed on at least one client,wherein, if the determined application the comprises the Web service application type the identifying the particular class files comprises identifying dynamic proxy class files of the client application;
wherein, if the determined application type comprises the Remote Method Invocation (RMI) application type, the identifying the particular class files comprises identifying stub class tiles and skeleton class files of the client application, andwherein, if the determined application type comprises one of the CORBA application type, EJB application type, and IIOP application type the identifying the particular class files comprises identifying “
Ties”
files of the client application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer program product for recording and replaying a program execution in a client-server environment capable of supporting different client-server communication protocols. A common recorder of the exemplary embodiments identifies respective class files and libraries used by a client application to process client actions and data passed in client requests and server responses. The recorder stores class files and data in a replay file and later re-creates server loads and client actions based on the class files, data and client action results in the replay file during a replay of the execution.
-
Citations
14 Claims
-
1. A computer-implemented method for recording and replaying an execution of a client application in a client-server environment, comprising:
-
determining, by a common recorder, a type of the client application from a plurality of client application types, wherein the common recorder is configured to identify applications of each of the plurality of application types, the plurality of application types comprising;
a Web service application type, a Remote Method Invocation (RMI) application type, a Common Object Request Broker Architecture (CORBA) application type an Enterprise JavaBeans (EJB) application type, and Internet Inter-Orb Protocol (IIOP) application type;identifying, by the common recorder, particular class files used by the client application to process client actions during the execution based on the determined type of the client application, identifying, by the common recorder, data passed in client requests and data returned in server responses to be recorded using contents the identified class files; recording, by the common recorder, the identified class files and the identified data in a replay file; and generating a server load based on the replay file by recreating actions of the client application using the data recorded in the replay file during a replay execution; wherein the common recorder utilizes the particular class files of the client application to interact with the server, wherein the common recorder interfaces with remote interface stubs of a plurality of client applications executed on at least one client, wherein, if the determined application the comprises the Web service application type the identifying the particular class files comprises identifying dynamic proxy class files of the client application; wherein, if the determined application type comprises the Remote Method Invocation (RMI) application type, the identifying the particular class files comprises identifying stub class tiles and skeleton class files of the client application, and wherein, if the determined application type comprises one of the CORBA application type, EJB application type, and IIOP application type the identifying the particular class files comprises identifying “
Ties”
files of the client application. - View Dependent Claims (2, 3, 4, 5, 6, 14)
-
-
7. A non-transitory computer readable storage medium executed by a computer having program code embodied therein and operable to:
-
determine, by a common recorder, a type of the client application from a plurality of client application types, wherein the common recorder is configured to identify applications of each of the plurality of application types, the plurality of application types comprising;
a Web service application type, a Remote Method Invocation (RMI) application type, a Common Object Request Broker Architecture (CORBA) application type an Enterprise JavaBeans (EJB) application type, and Internet Inter-Orb Protocol (IIOP) application type;identify, by the common recorder, particular class files used by the client application to process client actions during the execution based on the determined type of the client application, identify by the common recorder, data passed in client requests and data returned in server responses to be recorded using contents the identified class files; record, by the common recorder, the identified class files and the identified data in a replay file; and generate a server load based on the replay file during a replay execution by recreating actions of the client application using the data recorded in the replay file during a replay execution; wherein the common recorder utilizes the particular class files of the client application to interact with the server, wherein the common recorder interfaces with remote interface stubs of a plurality of client applications executed on at least one client, wherein, if the determined application the comprises the Web service application type the identifying the particular class files comprises identifying dynamic proxy class files of the client application; wherein, if the determined application type comprises the Remote Method Invocation (RMI) application type, the identifying the particular class files comprises identifying stub class tiles and skeleton class files of the client application, and wherein, if the determined application type comprises one of the CORBA application type, EJB application type, and IIOP application type the identifying the particular class files comprises identifying “
Ties”
files of the client application.- View Dependent Claims (8, 9, 10, 11)
-
-
12. A common recorder for recording and replaying an execution of a client application in a client-server environment, comprising:
- a memory storing components; and
a processor executing the stored components, the components comprising;a component for determining a type of the client application from a plurality of client application types to process client actions and responses during the execution of the client application, wherein the common recorder is configured to identify applications of each of the plurality of application types, the plurality of application types comprising;
a Web service application type, a Remote Method Invocation (RMI) application type, a Common Object Request Broker Architecture (CORBA) application type an Enterprise JavaBeans (EJB) application type, and Internet Inter-Orb Protocol (IIOP) application type;a component for identifying particular class files used by the client application to process client actions during the execution based on the determined type of the client application, a component for identifying data passed in client requests and data returned in server responses during the execution to be recorded using contents the identified class files; a component for recording the identified class files and data in a replay file; and a component for generating a server load based on the replay file by recreating actions of the client application using the data recorded in the replay file during a replay execution, wherein the common recorder utilizes the particular class files of the client application to interact with the server, wherein the common recorder interfaces with remote interface stubs of a plurality of client applications executed on at least one client, wherein, if the determined application the comprises the Web service application type the identifying the particular class files comprises identifying dynamic proxy class files of the client application; wherein, if the determined application type comprises the Remote Method Invocation (RMI) application type, the identifying the particular class files comprises identifying stub class tiles and skeleton class files of the client application, and wherein, if the determined application type comprises one of the CORBA application type, EJB application type, and IIOP application type the identifying the particular class files comprises identifying “
Ties”
files of the client application. - View Dependent Claims (13)
- a memory storing components; and
Specification