Apache JMeter

org.apache.jmeter.samplers
Interface Sampler

All Superinterfaces:
Cloneable, Serializable, TestElement
All Known Implementing Classes:
AbstractSampler, BeanShellSampler, BSFSampler

public interface Sampler
extends Serializable, TestElement

Classes which are able to generate information about an entry should implement this interface.

Version:
$Revision: 493779 $ Last updated: $Date: 2007-01-07 17:46:38 +0000 (Sun, 07 Jan 2007) $
Author:
unattributed

Field Summary
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Method Summary
 SampleResult sample(Entry e)
          Obtains statistics about the given Entry, and packages the information into a SampleResult.
 
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
 

Method Detail

sample

public SampleResult sample(Entry e)
Obtains statistics about the given Entry, and packages the information into a SampleResult.


Apache JMeter

Copyright © 1998-2008 Apache Software Foundation. All Rights Reserved.