public class MongoScriptSampler extends AbstractSampler implements TestBean
Modifier and Type | Field and Description |
---|---|
static String |
DATABASE |
static String |
PASSWORD |
static String |
SCRIPT |
static String |
SOURCE |
static String |
USERNAME |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
MongoScriptSampler() |
Modifier and Type | Method and 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) |
applies
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 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)
Sampler
public 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-2019 Apache Software Foundation. All Rights Reserved.