You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Zyaad Gungapersad <zy...@prodigious.mu> on 2015/12/09 06:55:49 UTC
Help to control test flow
Hello Guys,
I am currently setting up a test and I am having some issues to control the
test flow. Please refer to the below scenario to understand what I am trying
to achieve.
My test plan is as follows:
Thread Group
Transaction Controller 1
Transaction Controller 2
Runtime Controller
Transaction Controller 3
Transaction Controller 4
Transaction Controller 5
Transaction Controller 6
Controller 1 & 2 (Launch Application and Login) - should happen only once
Runtime Controller contains some transactions - this will iterate for a
duration of 1 hour
Controller 6 (Logout) - should happen only once
All samplers are found inside the controllers.
I want to run my test for the duration of 1 hour. The problem is when I set
1 hour for my thread group and 1 hour for my runtime controller, Transaction
Controller 6 does not get executed. It all depends where the test flow has
reached when duration hit 1 hour.
How can I make the test to stop (like gradual exiting) but executes the
remaining transactions when we hit the 1 hour mark before stopping the test
completely?
Is there a controller that will wait for the remaining transactions to
execute before stopping the test even if the duration has reached 1 hour?
Your assistance will be greatly appreciated. Thank You
Kind Regards
Re: Help to control test flow
Posted by Flavio Cysne <fl...@gmail.com>.
If you want logout controller to execute then don't use a time limit in the
Threads Group.
If you really need to terminate your test within 1 hour then rampup logout
controller and decrement estimated logout total time in runtime controller
duration. Don't expect it to be 1 hour exactly.
There are surely other ways to achieve your goal.