|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.jdbc.config.DataSourceElement
Field Summary |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
DataSourceElement()
|
Method Summary | |
void |
addConfigElement(ConfigElement config)
Add a configuration element to this one. |
Object |
clone()
|
boolean |
expectsModification()
If your config element expects to be modified in the process of a test run, and you want those modifications to carry over from sample to sample (as in a cookie manager - you want to save all cookies that get set throughout the test), then return true for this method. |
String |
getCheckQuery()
|
String |
getConnectionAge()
|
String |
getDataSource()
|
String |
getDbUrl()
|
String |
getDriver()
|
String |
getPassword()
|
String |
getPoolMax()
|
String |
getTimeout()
|
String |
getTrimInterval()
|
String |
getUsername()
|
org.apache.avalon.excalibur.datasource.DataSourceComponent |
initPool()
|
boolean |
isAutocommit()
|
boolean |
isKeepAlive()
|
void |
setAutocommit(boolean autocommit)
|
void |
setCheckQuery(String checkQuery)
|
void |
setConnectionAge(String connectionAge)
|
void |
setDataSource(String dataSource)
|
void |
setDbUrl(String dbUrl)
|
void |
setDriver(String driver)
|
void |
setKeepAlive(boolean keepAlive)
|
void |
setPassword(String password)
|
void |
setPoolMax(String poolMax)
|
void |
setTimeout(String timeout)
|
void |
setTrimInterval(String trimInterval)
|
void |
setUsername(String username)
|
void |
testEnded()
Called once for all threads after the end of a test |
void |
testEnded(String host)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Called just before the start of the test Note that not all the test variables will have been set up at this point. |
void |
testStarted(String host)
|
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceElement()
Method Detail |
public void testEnded()
TestListener
testEnded
in interface TestListener
StandardJMeterEngine.stopTest()
public void testEnded(String host)
testEnded
in interface TestListener
public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart
in interface TestListener
event
- public void testStarted()
TestListener
testStarted
in interface TestListener
StandardJMeterEngine.run()
public void testStarted(String host)
testStarted
in interface TestListener
public Object clone()
clone
in interface ConfigElement
clone
in class AbstractTestElement
public org.apache.avalon.excalibur.datasource.DataSourceComponent initPool() throws Exception
Exception
public void addConfigElement(ConfigElement config)
ConfigElement
addConfigElement
in interface ConfigElement
config
- the element to be added to this ConfigElementpublic boolean expectsModification()
ConfigElement
expectsModification
in interface ConfigElement
public String getCheckQuery()
public void setCheckQuery(String checkQuery)
checkQuery
- The checkQuery to set.public String getConnectionAge()
public void setConnectionAge(String connectionAge)
connectionAge
- The connectionAge to set.public String getDataSource()
public void setDataSource(String dataSource)
dataSource
- The dataSource to set.public String getDbUrl()
public void setDbUrl(String dbUrl)
dbUrl
- The dbUrl to set.public String getDriver()
public void setDriver(String driver)
driver
- The driver to set.public String getPassword()
public void setPassword(String password)
password
- The password to set.public String getPoolMax()
public void setPoolMax(String poolMax)
poolMax
- The poolMax to set.public String getTimeout()
public void setTimeout(String timeout)
timeout
- The timeout to set.public String getTrimInterval()
public void setTrimInterval(String trimInterval)
trimInterval
- The trimInterval to set.public String getUsername()
public void setUsername(String username)
username
- The username to set.public boolean isAutocommit()
public void setAutocommit(boolean autocommit)
autocommit
- The autocommit to set.public boolean isKeepAlive()
public void setKeepAlive(boolean keepAlive)
keepAlive
- The keepAlive to set.
|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |