Reputation: 11
I am trying to use a steeping thread group with a runtime controller
Script flow
login 400 times Business Flow -Runtime controller for execution Transaction for the time period like 1 hour logout 400 times
Now Test scenario All Vuser 1 every 05 second duration 1 hour Stop Vuser 1 every 5 second
Steeping thread group I have given a 1-hour duration and in runtime controller also I have given an hour duration
Issue: My test run for 1 hour but logout is not happening.
Thanks in Advance.
Upvotes: 0
Views: 313
Reputation: 168092
Stepping Thread Group doesn't know anything about presence of Runtime Controller(s) inside it, when 1 hour ends it tells threads to stop no matter whether they executed "logout" or not.
Personally I would rather:
Configure the Stepping Thread Group to perform the workload pattern:
Put "Login" and "Logout" under Once Only Controllers
Put the "Business Flow" under the While Controller with the following condition:
${__groovy((vars.get('TESTSTART.MS') as long) < (vars.get('TESTSTART.MS') as long) + 2000000 + 3600000,)}
So it will execute the "Business Flow" for ramp-up period plus 1 hour and then proceed further
Test plan outline:
Upvotes: 0