org.apache.jmeter.examples.testbeans.example2
Class Example2
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
org.apache.jmeter.examples.testbeans.example2.Example2
- 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:
- Serialized Form
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
Example2
public Example2()
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
setMyStringProperty
public void setMyStringProperty(String s)
getMyStringProperty
public String getMyStringProperty()
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.