# US 9,785,533 B2 · Session template packages for automated load testing

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

- Number: US 9,785,533 B2
- Document ID: US9785533B2
- Status: Granted
- Kind: B2
- Application number: 13/317,440
- Filed: 2011-10-18
- Published: 2013-04-18
- Granted: 2017-10-10
- Earliest claimed: 2011-10-18
- Assignees: SOASTA, Inc.
- Applicants: Charles A. Vazac; Tana Christine Jackson; Tal Broda; Kendall Cosby
- Inventors: Charles A. Vazac; Tana Christine Jackson; Tal Broda; Kendall Cosby
- Web page: https://patentgrep.com/patent/US9785533B2

## CPC

- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 11/3414: {Workload generation, e.g. scripts, playback}
- H04L 43/14: {using software, i.e. software packages (network security related monitoring H04L63/1408)}
- H04L 43/50: Testing arrangements
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06F 2201/875: Monitoring of systems including the internet
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer-implemented method includes scanning a clip of messages that includes message requests and message responses arranged in a sequence. The scanning is performed based on one or more search parameters and produces a list of one or more name/value pairs. The clip is utilized to perform a load test on a target website. Each name/value pair has a corresponding value. For each name/value pair in the list a message request in the clip is identified where the corresponding value is first used. Then, looking backwards in the sequence from the message request where the corresponding value is first used, prior message responses are located where the corresponding value is found. An extraction point is specified in the clip for the corresponding value as a latest message response in the sequence where the corresponding value was returned from the target website. The corresponding value is then stored as a property.

## Claims

### Claim 1

A computer automated method for creating a session template comprising:
automatically scanning a clip of messages that includes message requests and message responses arranged in a sequence, the clip being utilized to perform a load test on a target website server, the load test comprising communications from a plurality of virtual users to the target website server, the communications being maintained through the exchange of tokens during running of the load test, the scanning being performed based on one or more search parameters and producing a list of one or more name/value pairs, each name/value pair having a corresponding value which comprises a token used for authentication of a virtual user, the corresponding value produced by the target website server changing over the sequence;
for each name/value pair in the list:
identifying a message request in the clip where the corresponding value is first found;
looking backwards in the sequence from the message request where the corresponding value is first found to locate one or more prior message responses where the corresponding value is found;
specifying an extraction point in the clip for the corresponding value as a latest message response in the sequence where the corresponding value was returned from the target website server;
storing the corresponding value as a variable of the session template, wherein at run-time of the load test the stored variable of the session template being applied to subsequent message requests that require a correct dynamic value sent back to the website;
bundling a plurality of session templates into a session template package; and
applying the session template package to the clip.

### Claim 2 (depends on 1)

The computer automated method of claim 1 further comprising providing a user interface (UI) that allows a user to specify the one or more search parameters prior to the scanning of the clip of messages.

### Claim 3 (depends on 1)

The computer automated method of claim 1 wherein the variable is stored in a machine-readable storage medium.

### Claim 4 (depends on 1)

The computer automated method of claim 1 further comprising substituting the variable in subsequent message requests in the sequence after the extraction point where the value is found.

### Claim 5 (depends on 1)

The computer automated method of claim 1 further comprising discarding the name/value pair in the event that the corresponding value is not found in a message response prior to the message request where the corresponding value is first found.

### Claim 6

A computer program product comprising a non-transitory computer-readable medium encoded with programmed instructions, execution of the programmed instructions by a computer operable to:
automatically scan a clip of messages that includes message requests and message responses arranged in a sequence, the clip being utilized to perform a load test on a target website server, the load test comprising communications from a plurality of virtual users to the target website server, the communications being maintained through the exchange of tokens during running of the load test, the scan being performed based on one or more search parameters and producing a list of one or more name/value pairs, each name/value pair having a corresponding value which comprises a token used for authentication of a virtual user, the corresponding value comprising a dynamic value produced by the target website server, the dynamic value changing over the sequence;
for each name/value pair in the list:
identify a message request in the clip where the corresponding value is first found;
look backwards in the sequence from the message request where the corresponding value is first found to locate one or more prior message responses where the corresponding value is found;
specify an extraction point in the clip for the corresponding value as a latest message response in the sequence where the corresponding value was returned from the target website server;
store the corresponding value as a variable of a session template, wherein at run-time of the load test the stored variable of the session template being applied to subsequent message requests that require a correct dynamic value sent back to the website;
bundle a plurality of session templates into a session template package; and
apply the session template package to the clip.

### Claim 7 (depends on 6)

The computer program product of claim 6 wherein execution of the programmed instructions by the computer is further operable to provide a user interface (UI) that allows a user to specify the one or more search parameters prior to the scanning of the clip of messages.

### Claim 8 (depends on 6)

The computer program product of claim 6 wherein the variable is stored in a machine-readable storage medium.

### Claim 9 (depends on 6)

The computer program product of claim 6 wherein execution of the programmed instructions by the computer is further operable to substitute the variable in one or more subsequent message requests in the sequence after the extraction point where the name/value pair is found.

### Claim 10 (depends on 6)

The computer program product of claim 6 wherein execution of the programmed instructions by the computer is further operable to discard the name/value pair in the event that the corresponding value is not found in a message response prior to the message request where the corresponding value is first found.
