Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElementpublic class MongoScriptSampler extends AbstractSampler implements TestBean
| Modifier and Type | Field | Description |
|---|---|---|
static String |
DATABASE |
|
static String |
PASSWORD |
|
static String |
SCRIPT |
|
static String |
SOURCE |
|
static String |
USERNAME |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor | Description |
|---|---|
MongoScriptSampler() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDatabase() |
|
String |
getPassword() |
|
String |
getScript() |
|
String |
getSource() |
|
String |
getTitle() |
|
String |
getUsername() |
|
SampleResult |
sample(Entry e) |
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
|
void |
setDatabase(String database) |
|
void |
setPassword(String password) |
|
void |
setScript(String script) |
|
void |
setSource(String source) |
|
void |
setUsername(String username) |
appliesaddPropertiesValues, 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, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddTestElement, 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, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traversepublic static final String SOURCE
public static final String DATABASE
public static final String USERNAME
public static final String PASSWORD
public static final String SCRIPT
public SampleResult sample(Entry e)
Samplerpublic String getTitle()
public String getScript()
public void setScript(String script)
public String getDatabase()
public void setDatabase(String database)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getSource()
public void setSource(String source)
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.