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 2006/08/20 21:36:23 UTC
svn commit: r433020 - in /jakarta/jmeter/branches/rel-2-2/xdocs/usermanual:
build-db-test-plan.xml component_reference.xml
Author: sebb
Date: Sun Aug 20 12:36:23 2006
New Revision: 433020
URL: http://svn.apache.org/viewvc?rev=433020&view=rev
Log:
Clarify JDBC pool name usage
Modified:
jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-db-test-plan.xml
jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-db-test-plan.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-db-test-plan.xml?rev=433020&r1=433019&r2=433020&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-db-test-plan.xml (original)
+++ jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-db-test-plan.xml Sun Aug 20 12:36:23 2006
@@ -111,13 +111,19 @@
<p>Set up the following fields (these assume we will be using a local MySQL database called test):</p>
<ul>
-<li>Variable name bound to pool. This needs to uniquely identify the configuration.</li>
+<li>Variable name bound to pool. This needs to uniquely identify the configuration. It is used by the JDBC Sampler to identify the configuration to be used.</li>
<li>Database URL: jdbc:mysql://localhost:3306/test</li>
<li>JDBC Driver class: com.mysql.jdbc.Driver</li>
<li>Username: guest</li>
<li>Password: password for guest</li>
</ul>
<p>The other fields on the screen can be left as the defaults.</p>
+<p>JMeter creates a database connection pool with the configuration settings as specified in the Control Panel.
+The pool is referred to in JDBC Requests in the 'Variable Name' field.
+Several different JDBC Configuration elements can be used, but they must have unique names.
+Every JDBC Request must refer to a JDBC Configuration pool.
+More than one JDBC Request can refer to the same pool.
+</p>
<figure image="jdbctest/jdbc-config.png">
Figure 7.3. JDBC Configuration</figure>
Modified: jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml?rev=433020&r1=433019&r2=433020&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml Sun Aug 20 12:36:23 2006
@@ -199,7 +199,10 @@
<properties>
<property name="Name" required="No">Descriptive name for this controller that is shown in the tree.</property>
- <property name="Variable Name" required="Yes">Name of the JMeter variable that the connection pool is bound to</property>
+ <property name="Variable Name" required="Yes">
+ Name of the JMeter variable that the connection pool is bound to.
+ This must agree with the 'Variable Name' field of a JDBC Connection Configuration.
+ </property>
<property name="Query Type" required="Yes">Set this according to the statement type</property>
<property name="SQL Query" required="Yes">SQL query (for example, "select * from t_customers").</property>
</properties>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org