public class MongoScriptSampler extends AbstractSampler implements TestBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATABASE |
static java.lang.String |
PASSWORD |
static java.lang.String |
SCRIPT |
static java.lang.String |
SOURCE |
static java.lang.String |
USERNAME |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
MongoScriptSampler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatabase() |
java.lang.String |
getPassword() |
java.lang.String |
getScript() |
java.lang.String |
getSource() |
java.lang.String |
getTitle() |
java.lang.String |
getUsername() |
SampleResult |
sample(Entry e)
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
|
void |
setDatabase(java.lang.String database) |
void |
setPassword(java.lang.String password) |
void |
setScript(java.lang.String script) |
void |
setSource(java.lang.String source) |
void |
setUsername(java.lang.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 java.lang.String SOURCE
public static final java.lang.String DATABASE
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String SCRIPT
public SampleResult sample(Entry e)
Sampler
public java.lang.String getTitle()
public java.lang.String getScript()
public void setScript(java.lang.String script)
public java.lang.String getDatabase()
public void setDatabase(java.lang.String database)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getSource()
public void setSource(java.lang.String source)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.