You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/10/06 18:20:35 UTC
svn commit: r582514 - in /jakarta/jmeter/trunk/xdocs: changes.xml
usermanual/component_reference.xml
Author: sebb
Date: Sat Oct 6 09:20:34 2007
New Revision: 582514
URL: http://svn.apache.org/viewvc?rev=582514&view=rev
Log:
JDBC Sampler now allows per-thread connections
Modified:
jakarta/jmeter/trunk/xdocs/changes.xml
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=582514&r1=582513&r2=582514&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Sat Oct 6 09:20:34 2007
@@ -48,6 +48,7 @@
<li>Property Display to show the value of System and JMeter properties and allow them to be changed</li>
<li>Bug 43451 - Allow Regex Extractor to operate on Response Code/Message</li>
<li>JDBC Sampler now allows INOUT and OUT parameters for Called procedures</li>
+<li>JDBC Sampler now allows per-thread connections</li>
</ul>
<h4>Non-functional Improvements</h4>
Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=582514&r1=582513&r2=582514&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Sat Oct 6 09:20:34 2007
@@ -2473,8 +2473,18 @@
<property name="Name" required="No">Descriptive name for the connection pool that is shown in the tree.</property>
<property name="Variable Name" required="Yes">The name of the variable the connection pool is tied to.
Multiple connection pools can be used, each tied to a different variable, allowing JDBC Samplers
- to select the pool to draw connections from.</property>
- <property name="Max Number of Connections" required="Yes">Maximum number of connections allowed in the pool</property>
+ to select the pool to draw connections from.
+ <b>Each pool name must be different. If there are two configuration elements using the same pool name,
+ only one will be saved. JMeter versions after 2.3 log a message if a duplicate name is detected.</b>
+ </property>
+ <property name="Max Number of Connections" required="Yes">Maximum number of connections allowed in the pool.
+ To ensure that threads don't have to wait for connections, set the max count to the same as the number of threads.
+ In versions of JMeter after 2.3, the value "0" is treated specially.
+ Instead of sharing the pool between all threads in the test plan, a pool containing a single connection
+ is created for each thread. This ensures that the same connection can be re-used for multiple samplers
+ in the same thread.
+ Multiple such pools can be used - e.g. for connecting to different databases - just give them different names.
+ </property>
<property name="Pool timeout" required="Yes">Pool throws an error if the timeout period is exceeded in the
process of trying to retrieve a connection</property>
<property name="Idle Cleanup Interval (ms)" required="Yes">Uncertain what exactly this does.</property>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org