Hi JMeter devs,

I'm trying to write a Listener plugin for JMeter:
public class BlaBla implements BackendListenerClient, Runnable {

And the Listener class receives objects of type SampleResult with results from 
the test.
However, I'm not figuring out how to distinguish Sampler entries from 
Transaction Controller entries.

Is it possible for a plugin to distinguish Sampler entries from TX Controller 
ones?


As far as I could understand, if the TX Controller is set to "Generate parent 
sample", the object SampleResult will come with a .getSubResults() > 0.

But if the TX Controller is not set to "Generate parent sample" .. I'm not 
finding any distinguishing characteristic.




Regards,
Paulo Augusto Maia Borges


The information in this e-mail and any attachments is confidential and may be 
legally privileged. It is intended solely for the addressee or addressees. Any 
use or disclosure of the contents of this e-mail/attachments by a not intended 
recipient is unauthorized and may be unlawful. If you have received this e-mail 
in error please notify the sender. Please note that any views or opinions 
presented in this e-mail are solely those of the author and do not necessarily 
represent those of TEMENOS. We recommend that you check this e-mail and any 
attachments against viruses. TEMENOS accepts no liability for any damage caused 
by any malicious code or virus transmitted by this e-mail.

Reply via email to