Class SmtpSampler
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
org.apache.jmeter.protocol.smtp.sampler.SmtpSampler
- All Implemented Interfaces:
- Serializable,- Cloneable,- ConfigMergabilityIndicator,- Searchable,- Sampler,- org.apache.jmeter.testelement.TestElement
Sampler-Class for JMeter - builds, starts and interprets the results of the
 sampler. Has to implement some standard-methods for JMeter in order to be
 integrated in the framework. All getter/setter methods just deliver/set
 values from/to the sampler, not from/to the message-object. Therefore, all
 these methods are also present in class SendMailCommand.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElementorg.apache.jmeter.testelement.TestElement.Companion
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.apache.jmeter.testelement.TestElementCOMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanapplies(ConfigTestElement configElement) Does configElement apply to SamplerPerforms the sample, and returns the resultMethods inherited from class org.apache.jmeter.testelement.AbstractTestElementaddPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElementaddTestElement, canRemove, clear, clearTestElementChildren, clone, get, get, get, get, get, get, get, get, get, getComment, getName, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getPropertyOrNull, getProps, getSchema, getString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removed, removeProperty, removeProperty, set, set, set, set, set, set, set, set, set, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
- 
Field Details- 
SERVER- See Also:
 
- 
SERVER_PORT- See Also:
 
- 
SERVER_TIMEOUT- See Also:
 
- 
SERVER_CONNECTION_TIMEOUT- See Also:
 
- 
USE_AUTH- See Also:
 
- 
USERNAME- See Also:
 
- 
PASSWORD- See Also:
 
- 
MAIL_FROM- See Also:
 
- 
MAIL_REPLYTO- See Also:
 
- 
RECEIVER_TO- See Also:
 
- 
RECEIVER_CC- See Also:
 
- 
RECEIVER_BCC- See Also:
 
- 
SUBJECT- See Also:
 
- 
SUPPRESS_SUBJECT- See Also:
 
- 
MESSAGE- See Also:
 
- 
PLAIN_BODY- See Also:
 
- 
INCLUDE_TIMESTAMP- See Also:
 
- 
ATTACH_FILE- See Also:
 
- 
MESSAGE_SIZE_STATS- See Also:
 
- 
HEADER_FIELDS- See Also:
 
- 
USE_EML- See Also:
 
- 
EML_MESSAGE_TO_SEND- See Also:
 
- 
ENABLE_DEBUG- See Also:
 
- 
FILENAME_SEPARATOR- See Also:
 
 
- 
- 
Constructor Details- 
SmtpSamplerpublic SmtpSampler()
 
- 
- 
Method Details- 
samplePerforms the sample, and returns the result- Parameters:
- e- Standard-method-header from JMeter
- Returns:
- Result of the sample
- See Also:
 
- 
appliesDescription copied from class:AbstractSamplerDoes configElement apply to Sampler- Specified by:
- appliesin interface- ConfigMergabilityIndicator
- Overrides:
- appliesin class- AbstractSampler
- Parameters:
- configElement-- ConfigTestElement
- Returns:
- boolean
- See Also:
 
 
-