https://bz.apache.org/bugzilla/show_bug.cgi?id=64093

--- Comment #2 from [email protected] ---
(In reply to Philippe Mouawad from comment #1)
> It's a misunderstanding about how JMeter works.
> 
> A PreProcessor is a scoped component that only runs if a sampler runs, so it
> will run only before JSR223 Sampler is run in your case.
> As a consequence you cannot update Thread Group number of threads from it.
So what you're saying is that the first PreProcessor, i.e. the one outside of a
ThreadGroup calling props.setProperty(String, String), is only run inside the
ThreadGroup instead of outside of it (as the TestPlan would imply)?

That makes sense if that's what the JMeter-PreProcessor does conceptually,
albeit I'd argue that it is very counterintuitive. A PreProcessor is an element
pre-processing things, not necessarily bound to a sampler. Though I suppose I'm
arguing semantics now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to