Session Template Packages for Automated Load Testing
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
exact text as granted — not AI-modified1 - 12 . (canceled)
13 . A computer-implemented method for applying a session template to a clip of messages that includes message requests and message responses arranged in a sequence, the session template comprising an algorithm for locating and extracting a single value in a message of a recorded load test session, the computer-implemented method comprising:
applying the algorithm to each message response in the sequence until a non-empty value that matches the single value is found in a message at a location in the clip; looking backwards in the sequence from the location to confirm h the single value was not used in a prior message request; searching the clip from the location to confirm that the single value is used in a subsequent message request in association with a name stored in the session template; adding the algorithm to the message to get the single value from the messege response; and storing the single value as a variable of the session template, wherein at run-time of a load test on a target website the variable of the session template is applied to subsequent message requests that require a correct dynamic value sent back to the tar et website.
14 . The computer-implemented method of claim 13 further comprising substituting the variable for every subsequent message request that has the single value in association with the name.
15 . The computer-implemented method of claim 13 wherein the single value comprises a token used for authentication.
16 . The computer-implemented method of claim 13 further comprising:
bundling plurality of session templates into session template package; and
applying the session template package to the clip.
17 . The computer-implemented method of claim 13 wherein the variable is stored in a machine-readable storage medium.
18 . 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, provide a graphical user interface (GUI) that allows a user to create a session template comprising an algorithm to extract a single value found in a message response at a location in a sequence of messages that include message requests and message responses of recorded load test session of a target website, the GUI further allowing the user to store the single value as a property, and substitute the property in subsequent message requests, the GUI further allowing the user to bundle the session template with one or more additional session templates as a package.
19 . (canceled)
20 . The computer program product of claim 18 wherein the GUI further allows the user to apply the package to a different recorded load test ssession of the target website.
21 . The computer program product of claim 18 wherein the GUI further allows the user to specify a string used to scan the sequence of messages for a match with the single value.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.