|
Apache JMeter 2.0.1.20050615 |
|||||||||
| 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.samplers.AbstractSampler
org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
A sampler which understands JDBC database requests.
| Field Summary | |
static String |
CONNECTION_POOL_IMPL
|
static String |
DRIVER
|
static String |
JDBCSAMPLER_PROPERTY_PREFIX
|
static String |
QUERY
|
static String |
URL
|
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
JDBCSampler()
Creates a JDBCSampler. |
|
| Method Summary | |
String |
getDriver()
|
String |
getPassword()
|
String |
getQuery()
|
String |
getUrl()
|
String |
getUsername()
|
SampleResult |
sample(Entry e)
Obtains statistics about the given Entry, and packages the information into a SampleResult. |
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)
|
String |
toString()
|
| Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, 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, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.testelement.TestElement |
addTestElement, canRemove, clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse |
| Field Detail |
public static final String URL
public static final String DRIVER
public static final String QUERY
public static final String JDBCSAMPLER_PROPERTY_PREFIX
public static final String CONNECTION_POOL_IMPL
| Constructor Detail |
public JDBCSampler()
| Method Detail |
public SampleResult sample(Entry e)
Sampler
sample in interface Samplerpublic String getDriver()
public String getUrl()
public String getUsername()
public String getPassword()
public String getQuery()
public String toString()
public void testStarted(String host)
testStarted in interface TestListenerpublic void testStarted()
TestListener
testStarted in interface TestListenerStandardJMeterEngine.run()public void testEnded(String host)
testEnded in interface TestListenerpublic void testEnded()
TestListener
testEnded in interface TestListenerStandardJMeterEngine.stopTest()public void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart in interface TestListenerevent -
|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||