Session template packages for automated load testing
First 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.
3 Assignments
0 Petitions
Accused Products
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.
-
Citations
10 Claims
-
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. - View Dependent Claims (2, 3, 4, 5)
-
-
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. - View Dependent Claims (7, 8, 9, 10)
-
Specification