jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61709] SampleResult : Add a method setIgnore() to make JMeter ignore the SampleResult and not send it to listeners
Date Thu, 23 Nov 2017 15:34:42 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61709

--- Comment #3 from maxime.chassagneux@gmail.com ---
@Philippe Mouawad

Hello, 

I find this new method really usefull for me !!! 
But I want to use it some time in PostProcessor or Assertion script but it's
not possible. 

Are you Ok if I add a new test in JMeterThread to check this property just
before send result to listener ?

runPostProcessors(pack.getPostProcessors());
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.
Mime
View raw message