https://issues.apache.org/bugzilla/show_bug.cgi?id=54333

Hari Krishna Dara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Hari Krishna Dara <[email protected]> ---
(In reply to comment #1)
> Currently you can ignore Requests using include/exclude patterns in JMeter
> Proxy Server. 
> Can you clarify why you would want to do that ?

I am not talking about the recording time... but rather at runtime,
specifically when using BeanShell elements such as "BeanShell Assertion",
"BeanShell Sampler". These are really useful to manipulate the run and go
beyond the standard behavior, and I would like that to include the control on
whether sample should be recorded or not. Right now, TestAction is the only one
that doesn't appear in the results, this is because, it's sample() method
unconditionally returns null for result. If I can manipulate the result the way
I was suggesting before, or even mark it as to be discarded (e.g., by calling
SampleResult.setDiscard(true)), it will provide an option to control their
appearance in the final results.

> 
> > BTW, in the documentation at
> > http://jmeter.apache.org/usermanual/test_plan.html#executionorder it
> > indicates that the listeners are skipped if SampleResult is null, but I
> > don't see the check in the code.
> 
> Can you point to the exact phrase that says that ?

I was referring to this: "unless SampleResult is null"

However, I found the code in JMeterThread that checks the result for null and
skip the documented steps, so there is nothing wrong here.

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

Reply via email to