Many thanks for the clarification
-----Original Message----- From: Dmitri T <glin...@live.com> Sent: Wednesday, October 26, 2022 12:02 AM To: user@jmeter.apache.org Subject: Re: Only Once Controller when thread failures If you're "curious" how about trying this yourself, there is Dummy Sampler <https://www.blazemeter.com/blog/jmeter-dummy-sampler>which allows to simulate request and response body, response time and other metrics <https://jmeter.apache.org/usermanual/glossary.html>, and whether the sampler is successful or not. Once Only Controller runs its children during 1st iteration of the Thread Group only, it doesn't check whether there are any errors or not. The number of requests which will be sent depends on what is your "Action to be taken after a Sampler error" in the Thread Group <https://jmeter.apache.org/usermanual/component_reference.html#Thread_Group>. If it has default value of "Continue" - your Sampler will "run" 200 times no matter of failures presence or absence. On 10/25/2022 8:18 PM, Dave Hreczany wrote: > Hi Team, > Am curious how the Only Once Controller is impacted if there's a sampler > error or assertion failure encountered within a thread iteration. > > For example, if my thread group is set to run 20 threads concurrently for 10 > iterations and there's 10 failures, does the Only Once Controller run > **again** when there's an error in an iteration. In other words, using above > example, will it run 200 times or 210 times? > > Much thanks, > Dave > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org