Class DebugSampler

All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, org.apache.jmeter.testelement.TestElement

public class DebugSampler extends AbstractSampler implements TestBean
The Debug Sampler can be used to "sample" JMeter variables, JMeter properties and System Properties.
See Also:
  • Constructor Details

    • DebugSampler

      public DebugSampler()
  • Method Details

    • getSchema

      public org.apache.jmeter.sampler.DebugSamplerSchema getSchema()
      Specified by:
      getSchema in interface org.apache.jmeter.testelement.TestElement
    • getProps

      public org.apache.jmeter.testelement.schema.PropertiesAccessor<? extends DebugSampler,? extends org.apache.jmeter.sampler.DebugSamplerSchema> getProps()
      Specified by:
      getProps in interface org.apache.jmeter.testelement.TestElement
    • sample

      public SampleResult sample(Entry e)
      Description copied from interface: Sampler
      Obtains statistics about the given Entry, and packages the information into a SampleResult.
      Specified by:
      sample in interface Sampler
      e - the Entry (TODO seems to be unused)
      information about the sample
    • isDisplayJMeterVariables

      public boolean isDisplayJMeterVariables()
    • setDisplayJMeterVariables

      public void setDisplayJMeterVariables(boolean displayJMeterVariables)
    • isDisplayJMeterProperties

      public boolean isDisplayJMeterProperties()
    • setDisplayJMeterProperties

      public void setDisplayJMeterProperties(boolean displayJMeterProperties)
    • isDisplaySystemProperties

      public boolean isDisplaySystemProperties()
    • setDisplaySystemProperties

      public void setDisplaySystemProperties(boolean displaySystemProperties)
    • applies

      public boolean applies(ConfigTestElement configElement)
      Description copied from class: AbstractSampler
      Does configElement apply to Sampler
      Specified by:
      applies in interface ConfigMergabilityIndicator
      applies in class AbstractSampler
      configElement - ConfigTestElement
      See Also: