Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The attaching video visualizes how to achieve this, the video has the replay of the script as well as a load test with multiple users.

...

The Inner Loops started from Page 1 are listed at the bottom of

Video Time Stamp & Step

Screenshot/Description

Time 00:00

View of the script. (5 pages)

Page 1: Start Page

Page 2: Booking

Page 3: Media

Page 4 Shopping Cart

Page 5: Home

Time 00:12

Clicking into Page 1 (Start Page), the first call, to open the URL Details/Var Handler

Please Note:

  • Loop Counter Global Variable (LC)

  • Loop Variable (team)

  • Input File (team.txt)

  • Load Test Plug-in #1 (SupportModularScripts)

Image Modified

Time 00:26 Manage the Inner Loops from a Page.

Image Removed

Time 00:29-39

Click on Page #1 (Start Page) link in Column 1 that opens up the Manage Page Dialog.

Image Removed
Image Added

Time 00:29-39

Click on the magnifying glass on the loop to edit the conditions to the target inner loop and set the conditions of when to start the inner loop (from Page #1 (Start Page)).

The Inner Loops started from Page 1 are listed at the bottom of the Manage Page Dialog.

Image Added

Time 00:47

Image Removed

Repeat for Page #5 (Home). Click on the Manage Page Column #1.

Image Added

Time 01:02

Image Removed

Clicking on the magnifying glass for the Load Test Plug-in #1 (SupportModularScripts) will provide more detail on the plug-in and when it executes:

Image Added

Time 01:17 through 02:01

Image RemovedThe

The Replay the Recording starts and the results show that Pages #1 and 5 each ran once while the pages between them each ran 3 times in one minute.

Image Added

Time 02:18

Image RemovedImage Removed

Delete the Global Variable LC

was deleted

and Define a new user variable “LC”

defined

in

its

it's place, with the initial value set to “loop counter”

.

Image AddedImage Added

Time 02:42

Image Removed

The Inner Loop magnifying glass for Page 1 shows a similar Manage Page as before when the LC was set as a Global Variable, but now it’s a user variable.

Image Added

Time 02:50

Image Removed

With the variable redefined, regenerate the Load Test

needs to be regenerated and then executed again

.

Time 03:16

Re-execute for 2 Concurrent Users

(Time 3:16)

to show the User Variable effect on the loops.

Image Added

Time 04:47

The revised LC user variable Test Results show that Pages #1 and 5 each ran twice while the pages between them each ran 18 times over the same 1 minute as our first run.

Image Removed

Image Added

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1fe877
showSpacefalse
sortmodified
typepage
reversetrue
labelszebratester scripting
cqllabel in ( "zebratester" , "scripting" ) and type = "page" and space = "DAZT"

...