org.apache.jmeter.examples.testbeans.example1
Class Example1
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.testbeans.TestBean
org.apache.jmeter.examples.testbeans.example1.Example1
- All Implemented Interfaces:
- Cloneable, Sampler, Serializable, TestElement
- public class Example1
- extends TestBean
- implements Sampler
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.testbeans.TestBean |
addProperty, addTestElement, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, prepare, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from interface org.apache.jmeter.testelement.TestElement |
addTestElement, canRemove, clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse |
Example1
public Example1()
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()
setMyStrings
public void setMyStrings(String[] s)
getMyStrings
public String[] getMyStrings()
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.