public class SmtpSampler extends AbstractSampler
Modifier and Type | Field and Description |
---|---|
static String |
ATTACH_FILE |
static String |
EML_MESSAGE_TO_SEND |
static String |
ENABLE_DEBUG |
static String |
FILENAME_SEPARATOR |
static String |
HEADER_FIELDS |
static String |
INCLUDE_TIMESTAMP |
static String |
MAIL_FROM |
static String |
MAIL_REPLYTO |
static String |
MESSAGE |
static String |
MESSAGE_SIZE_STATS |
static String |
PASSWORD |
static String |
PLAIN_BODY |
static String |
RECEIVER_BCC |
static String |
RECEIVER_CC |
static String |
RECEIVER_TO |
static String |
SERVER |
static String |
SERVER_CONNECTION_TIMEOUT |
static String |
SERVER_PORT |
static String |
SERVER_TIMEOUT |
static String |
SUBJECT |
static String |
SUPPRESS_SUBJECT |
static String |
USE_AUTH |
static String |
USE_EML |
static String |
USERNAME |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
SmtpSampler() |
Modifier and Type | Method and Description |
---|---|
boolean |
applies(ConfigTestElement configElement)
Does configElement apply to Sampler
|
SampleResult |
sample(Entry e)
Performs the sample, and returns the result
|
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, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
public static final String SERVER
public static final String SERVER_PORT
public static final String SERVER_TIMEOUT
public static final String SERVER_CONNECTION_TIMEOUT
public static final String USE_AUTH
public static final String USERNAME
public static final String PASSWORD
public static final String MAIL_FROM
public static final String MAIL_REPLYTO
public static final String RECEIVER_TO
public static final String RECEIVER_CC
public static final String RECEIVER_BCC
public static final String SUBJECT
public static final String SUPPRESS_SUBJECT
public static final String MESSAGE
public static final String PLAIN_BODY
public static final String INCLUDE_TIMESTAMP
public static final String ATTACH_FILE
public static final String MESSAGE_SIZE_STATS
public static final String HEADER_FIELDS
public static final String USE_EML
public static final String EML_MESSAGE_TO_SEND
public static final String ENABLE_DEBUG
public static final String FILENAME_SEPARATOR
public SampleResult sample(Entry e)
e
- Standard-method-header from JMeterSampler.sample(org.apache.jmeter.samplers.Entry)
public boolean applies(ConfigTestElement configElement)
AbstractSampler
applies
in interface ConfigMergabilityIndicator
applies
in class AbstractSampler
configElement
- ConfigTestElement
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.