Testing a network system
First Claim
1. A method of testing a network system comprising an existing server having a first kind of database and a client device transmitting an HTTP request message of session traffic, comprising:
- installing a second kind of database onto a staging server in the network system, said second kind of database providing at least an upgrade to the first kind of database;
duplicating the HTTP request message from the client device;
detecting whether the HTTP request message has a first session identifier;
in response to the HTTP request message having said first session identifier, searching for a mapping relation between said first session identifier and a second session identifier;
transmitting the HTTP request message to the existing server and said duplicated HTTP request message to said staging server, wherein said first session identifier of the HTTP request message is replaced with said second session identifier, based on said first session identifier and said mapping relation, in said duplicated HTTP request message to said staging server;
receiving a first HTTP reply message from the existing server and a second HTTP reply message from said staging server;
comparing said first HTTP reply message from the existing server and said second HTTP reply message from said staging server to determine whether contents of said replies are identical; and
in response to a determination that said contents of said replies are identical, replacing said first kind of database with said second kind of database.
1 Assignment
0 Petitions
Accused Products
Abstract
A network system uses a staging server. The network system comprises an existing server and a client device that transmits session traffic comprising an HTTP request message. The HTTP request message is duplicated to form duplicated HTTP request messages. It is determined whether the HTTP request message has a first session identifier. If so, a mapping relation between the first session identifier and a second session identifier is searched for. The duplicated HTTP request messages to the existing server and the staging server, respectively, are transmitted, wherein the session identifier of the HTTP request message to the staging server is replaced with the second session identifier based on the first session identifier and the mapping relation. One embodiment may also comprise receiving an HTTP reply message from the existing server and an HTTP reply message from the staging server. The HTTP reply message from the existing server and the HTTP reply message from the staging server are compared.
-
Citations
22 Claims
-
1. A method of testing a network system comprising an existing server having a first kind of database and a client device transmitting an HTTP request message of session traffic, comprising:
-
installing a second kind of database onto a staging server in the network system, said second kind of database providing at least an upgrade to the first kind of database; duplicating the HTTP request message from the client device; detecting whether the HTTP request message has a first session identifier; in response to the HTTP request message having said first session identifier, searching for a mapping relation between said first session identifier and a second session identifier; transmitting the HTTP request message to the existing server and said duplicated HTTP request message to said staging server, wherein said first session identifier of the HTTP request message is replaced with said second session identifier, based on said first session identifier and said mapping relation, in said duplicated HTTP request message to said staging server; receiving a first HTTP reply message from the existing server and a second HTTP reply message from said staging server; comparing said first HTTP reply message from the existing server and said second HTTP reply message from said staging server to determine whether contents of said replies are identical; and in response to a determination that said contents of said replies are identical, replacing said first kind of database with said second kind of database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for testing a network system comprising an existing server having a first kind of database and a client device transmitting an HTTP request message of session traffic, the computer program product comprising a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
-
computer readable program code configured to install a second kind of database onto a staging server in the network system, said second kind of database providing at least an upgrade to the first kind of database; computer readable program code configured to duplicate the HTTP request message from the client device; computer readable program code configured to detect whether the HTTP request message has a first session identifier; in response to the HTTP request message having said first session identifier, computer readable program code configured to search for a mapping relation of said first session identifier and a second session identifier; computer readable program code configured to transmit the HTTP request message to the existing server and said duplicated HTTP request message to said staging server, respectively, wherein said first session identifier of the HTTP request message is replaced with said second session identifier, based on said first session identifier and said mapping relation, in said duplicated HTTP request message to said staging server; computer readable program code configured to receive a first HTTP reply message from the existing server and a second HTTP reply message from said staging server; computer readable program code configured to compare said first HTTP reply message from the existing server and said second HTTP reply message from said staging server to determine whether contents of said replies are identical; and in response to a determination that said contents of said replies are identical, computer readable program code configured to replace said first kind of database with said second kind of database. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer for testing a network system comprising an existing server having a first kind of database and a client device transmitting an HTTP request message of session traffic, comprising:
-
a processor; and memory connected to the processor, wherein the memory is encoded with instructions and wherein the instructions when executed comprise; instructions for installing a second kind of database onto a staging server in the network system, said second kind of database providing at least an upgrade to the first kind of database; instructions for duplicating the HTTP request message from the client device; instructions for detecting whether the HTTP request message has a first session identifier; in response to the HTTP request message having said first session identifier, instructions for searching for a mapping relation between said first session identifier and a second session identifier; instructions for transmitting the HTTP request message to the existing server and said duplicated HTTP request message to said staging server, respectively, wherein said first session identifier of the HTTP request message is replaced with said second session identifier, based on said first session identifier and said mapping relation, in said duplicated HTTP request message to said staging server; instructions for receiving a first HTTP reply message from the existing server and a second HTTP reply message from said staging server; instructions for comparing said first HTTP reply message from the existing server and said second HTTP reply message from said staging server to determine whether contents of said replies are identical; and in response to a determination that said contents of said replies are identical, instructions for replacing said first kind of database with said second kind of database. - View Dependent Claims (19, 20, 21, 22)
-
Specification