Unanswered question

How can you display what 'Loop' you are on during runtime?

I couldn't find a way to set up iterations on the new 'Actions' container in 4.0, so I put all my business logic in the Action container and defined a 'Loop' inside it. How can I display the loop number during runtime?

Example:
Init
Actions
Loop (set to loop 3 times)
Container1
Container2
Container3
End

During runtime, how can I see that Container2 is on the 2nd loop, for instance? If I look at the Runtime Users tab during runtime, is there a way to add the loop to the columns?

I also tried to add the loop count as a ${} variable on the container but it doesn't allow it.

Any ideas?

Lisa M.
Lisa M.

Lisa M.

Level
0
0 / 100
points

Answers

Lisa M.
Lisa M.

Lisa M.

Level
0
0 / 100
points

I think I just answered my own question but found it in the runtime section, not the design section. Sorry...

What is the difference between the number of users launched and the number of iterations executed?

During a test under a constant load using n Virtual Users, NeoLoad starts n Virtual Users. The n number stands for the total number of Users launched.

Every Virtual User initializes on executing the Init Container, iterates its Action Container during the whole test to replay the pages and the requests defined in the scenario, then executes the End Container before stopping. The number of executed iterations stands for the number of times when the Action Container is executed by every Virtual User.

For example, for a 5-minute test with a constant load of 10 Virtual Users, executing every Init/Actions/End Container may last for 1 minute. The total number of Users launched is 10. The total number of iterations executed is 40 — every Virtual User executes the Init Container once, then iterates the Actions Container four times. After 5 minutes, every Virtual User executes the End Container, for a total duration of 6 minutes.