Patent ID: 8775551

Claim:
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.