jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 61806] New: Allow to use setIgnore() in post processor and assertion script
Date Thu, 23 Nov 2017 15:53:00 GMT

            Bug ID: 61806
           Summary: Allow to use setIgnore() in post processor and
                    assertion script
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
  Target Milestone: ---

Actually, the new setIgnore() method allow to not send the sampleResut to all
But you have to set the propertie in the sampler, you can't change it on a
post-processor or in a assertion script. 

I think it could be usefull to allow this behaviour. 

Actually, I check in a assertion script if a JMS subscriber sampler got a 404
as code result ( i.e timeout , no message in the queue, but it's just a purge
thread group, so I don't care) and I rly don't want to pollute my result with

For me, we just need to check the ignore status before send to listener result
like this =>

checkAssertions(pack.getAssertions(), result, threadContext);
if ( !result.isIgnore() ) {
   // Do not send subsamples to listeners which receive the transaction sample
   List<SampleListener> sampleListeners = getSampleListeners(pack,
transactionPack, transactionSampler);
   notifyListeners(sampleListeners, result);

You are receiving this mail because:
You are the assignee for the bug.
View raw message