# US 10,958,548 B2 · Generating production server load activity for a test server

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,548 B2
- Document ID: US10958548B2
- Status: Granted
- Kind: B2
- Application number: 16/519,002
- Filed: 2019-07-23
- Published: 2019-11-14
- Granted: 2021-03-23
- Earliest claimed: 2011-11-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Richard J. Smith; Gary D. Williams
- Web page: https://patentgrep.com/patent/US10958548B2

## CPC

- H04L 12/6418: {Hybrid transport}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- H04L 43/0817: by checking functioning
- H04L 43/50: Testing arrangements
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Replicating on a test server a production load of a production server. A plurality of messages representing the production load on the production server can be received from the production server. Each message can correspond to a respective client request received from a respective client. Responsive to receiving each message, in real time, data can be parsed from the message and, from the parsed data, a replicated client request corresponding to the client request can be generated, wherein the replicated client request includes state information representing a unique state formed between the production server and the respective client. The replicated client request can be communicated, in real time, to a test server in order to replicate the production load on the test server.

## Claims

### Claim 1

A method of replicating on a test server a production load of a production server, the method comprising:
receiving from the production server a plurality of messages representing the production load on the production server, each message corresponding to a respective client request received from a respective client; and
responsive to receiving each message, in real time, parsing data from the message and, from the parsed data, generating 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 communicating, in real time, the replicated client request to a test server, the replicated client request replicating the production load on the test server.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
configuring an audit facility to automatically generate, by the production server, the message corresponding to the respective client request in real time responsive to the client request being processed by the production server.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
identifying a respective production socket connection via which the client request is communicated from the respective client to the production server;
wherein communicating the replicated client request to the test server in order to replicate the production load on the test server comprises communicating the replicated client request via a test socket connection correlating to the production socket connection.

### Claim 4 (depends on 1)

The method of claim 1, wherein the state information indicates at least one cookie associated with the client request based on prior usage of the production server.

### Claim 5 (depends on 1)

The method of claim 1, wherein the state information indicates at least one page service provided to the respective client.

### Claim 6 (depends on 1)

The method of claim 1, wherein the state information indicates a connection handle allocated for the respective client.

### Claim 7 (depends on 1)

The method of claim 1, wherein the state information indicates bind information associated with the respective client request.

### Claim 8 (depends on 1)

The method of claim 1, wherein communicating the replicated client request to the test server in order to replicate the production load on the test server comprises:
communicating the replicated client request to the test server without altering a behavior of the production server with respect to services provided to clients by the production server.

### Claim 9

A method of replicating on a test server a production load of a production server, the method comprising:
receiving from the production server a replicated production load corresponding to a production load on the production server created by processing client requests, wherein the replicated production load is generated in real time while the client requests are processed by the production server and defines state information representing unique states formed between the production server and the clients from which the client requests are received;
responsive to receiving the replicated production load, in real time, via a processor, processing the replicated production load to generate a plurality of replicated client requests, wherein each of the replicated client requests replicates a respective client request received by the production server and at least a portion of the replicated client requests define the state information associated with the respective client from which the client request is received; and
communicating, in real time, the replicated client requests to the test server.

### Claim 10 (depends on 9)

The method of claim 9, 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
processing the replicated production load to generate the plurality of replicated client requests comprises, for a plurality of the client requests, mapping corresponding production socket connections to respective test socket connections associated with the corresponding replicated client requests.

### Claim 11 (depends on 9)

The method of claim 9, wherein the state information indicates cookies associated with the respective clients that vary based on prior usage of the production server.

### Claim 12 (depends on 9)

The method of claim 9, wherein the state information indicates page services provided to the respective clients.

### Claim 13 (depends on 9)

The method of claim 9, wherein the state information indicates connection handles allocated for the respective clients.

### Claim 14 (depends on 9)

The method of claim 9, wherein the state information indicates bind information associated with the respective client requests.

### Claim 15 (depends on 9)

The method of claim 9, further comprising:
filtering the replicated production load to prevent certain client requests from being replicated to the test server.
