Patent ID: 9703682
Date: 2017-07-11
CPC Classifications: G06F,H04L

Claim:
1. A computer program product for replicating on a test server a production load of a production server, the computer program product comprising: a computer-readable storage device having computer-readable program code embodied therewith, the computer-readable program code comprising instructions executable by at least one processor, the computer-readable program code comprising: computer-readable program code configured to receive from the production server a plurality of messages from a plurality of clients, the plurality of messages representing the production load on the production server, each of the plurality of messages corresponding to a respective client request received from a respective client; and computer-readable program code configured to, responsive to receiving each message, in real time, parse data from the message and, from the parsed data, generate a replicated client request corresponding to the client request, wherein the replicated client request comprises state information representing a unique state formed between the production server and the respective client, and, in real time, communicate the replicated client request to a test server in order to replicate the production load on the test server; wherein: the client requests are communicated from the clients to the production server via production socket connections established between the respective clients and the production server; and the computer-readable program code configured to generate the replicated client request corresponding to the client request comprises computer-readable program code configured to, for a plurality of the client requests, map corresponding production socket connections to respective test socket connections associated with the corresponding replicated client requests.