All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement

public class Example2 extends AbstractSampler implements TestBean
This TestBean is just an example about how to write testbeans. The intent is to demonstrate usage of the TestBean features to podential TestBean developers. Note that only the class's introspector view matters: the methods do nothing -- nothing useful, in any case.
See Also:
  • Constructor Details

    • Example2

      public Example2()
  • Method Details

    • 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
      Parameters:
      e - the Entry (TODO seems to be unused)
      Returns:
      information about the sample
    • setMyStringProperty

      public void setMyStringProperty(String s)
    • getMyStringProperty

      public String getMyStringProperty()