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/03/09 21:19:55 UTC
svn commit: r516544 - in /jakarta/jmeter/branches/rel-2-2/xdocs/usermanual:
build-jms-point-to-point-test-plan.xml get-started.xml
Author: sebb
Date: Fri Mar 9 12:19:54 2007
New Revision: 516544
URL: http://svn.apache.org/viewvc?view=rev&rev=516544
Log:
Move Active MQ jar details to getting started
Clarify JMeter lib and lib/ext directories
Modified:
jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-jms-point-to-point-test-plan.xml
jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/get-started.xml
Modified: jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-jms-point-to-point-test-plan.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-jms-point-to-point-test-plan.xml?view=diff&rev=516544&r1=516543&r2=516544
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-jms-point-to-point-test-plan.xml (original)
+++ jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/build-jms-point-to-point-test-plan.xml Fri Mar 9 12:19:54 2007
@@ -23,7 +23,15 @@
<body>
+
<section name="11. Building a JMS Point-to-Point Test Plan" anchor="building">
+
+ <note>
+ Make sure the required jar files are in JMeter's lib directory. If they are not, shutdown JMeter,
+ copy the jar files over and restart JMeter.
+ See <a href="get-started.html#libraries_activemq">Getting Started</a> for details.
+ </note>
+
<p>In this section, you will learn how to create a
<a href="build-test-plan.html">Test Plan</a> to test a JMS Point-to-Point messaging solution.
The setup of the test is 1 threadgroup with 5 threads sending 4 messages each through a request queue.
@@ -95,12 +103,6 @@
<section name="11.2 Adding JMS Point-to-Point Sampler" anchor="adding_point_to_point_sampler">
- <note>
- Make sure the required jar files are in JMeter's lib directory. If they are not, shutdown JMeter,
- copy the jar files over and restart JMeter. See <a href="#libraries_activemq">here</a> for details
- on ActiveMQ 3.0.
- </note>
-
<p>Start by adding the sampler <complink name="JMS Point-to-Point"/>
to the Jakarta Users element (Add --> Sampler --> JMS Point-to-Point).
Then, select the JMS Point-to-Point sampler element in the tree.
@@ -234,27 +236,5 @@
will ensure during the test run that no sample is recorded to the same file more than once.</note>
</section>
-
- <section name="11.6 Libraries for ActiveMQ 3.0" anchor="libraries_activemq">
- <p>The following libraries have to be supplied in the lib\ext directory of JMeter:
- <ol>
- <li>activation.jar</li>
- <li>activeio-1.0-SNAPSHOT.jar</li>
- <li>activemq-3.0.jar</li>
- <li>activemq-core-3.0.jar</li>
- <li>commons-logging-1.0.3.jar</li>
- <li>concurrent-1.3.4.jar</li>
- <li>geronimo-spec-j2ee-jacc-1.0-rc4.jar</li>
- <li>geronimo-spec-j2ee-management-1.0-rc4.jar</li>
- <li>geronimo-spec-jms-1.1-rc4.jar</li>
- <li>geronimo-spec-jta-1.0.1B-rc4.jar</li>
- <li>jms.jar</li>
- <li>jndi.jar</li>
- <li>log4j-1.2.8.jar</li>
- <li>spring-1.1.jar</li>
- </ol>
- </p>
- </section>
-
</body>
</document>
Modified: jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/get-started.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/get-started.xml?view=diff&rev=516544&r1=516543&r2=516544
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/get-started.xml (original)
+++ jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/get-started.xml Fri Mar 9 12:19:54 2007
@@ -130,6 +130,26 @@
you need to download the beanshell jar from <a href="http://www.beanshell.org/">http://www.beanshell.org/</a> and copy the jar file to the jmeter/lib directory, where JMeter will automatically pick it up.</p>
</subsection>
+<subsection name="2.2.7 Libraries for ActiveMQ 3.0" anchor="libraries_activemq">
+<note>This list is probably out of date</note>
+ <p>The following libraries have to be supplied in the lib directory of JMeter:
+ <ol>
+ <li>activation.jar</li>
+ <li>activeio-1.0-SNAPSHOT.jar</li>
+ <li>activemq-3.0.jar</li>
+ <li>activemq-core-3.0.jar</li>
+ <li>concurrent-1.3.4.jar</li>
+ <li>geronimo-spec-j2ee-jacc-1.0-rc4.jar</li>
+ <li>geronimo-spec-j2ee-management-1.0-rc4.jar</li>
+ <li>geronimo-spec-jms-1.1-rc4.jar</li>
+ <li>geronimo-spec-jta-1.0.1B-rc4.jar</li>
+ <li>jms.jar</li>
+ <li>jndi.jar</li>
+ <li>spring-1.1.jar</li>
+ </ol>
+ </p>
+</subsection>
+
<note>
See the <a href="#classpath">JMeter Classpath</a> section for more details on installing additional jars.
</note>
@@ -137,8 +157,10 @@
<section name="2.3 Installation" anchor="install">
-<p><b>Note: avoid installing JMeter in a path with spaces in the name.
-This causes problems for remote testing.</b></p>
+<note>
+Note: avoid installing JMeter in a path with spaces in the name.
+This causes problems for remote testing.
+</note>
<p>We recommend that most users run the <a href="http://jakarta.apache.org/site/downloads/index.html">latest release</a>.</p>
<p>To install a release build, simply unzip the zip/tar file into the directory
where you want JMeter to be installed. Provided that you have a JRE/JDK correctly installed
@@ -152,20 +174,26 @@
</p>
<subsection name="2.4.1 JMeter's Classpath" anchor="classpath">
-<p>JMeter automatically finds classes from jars in its JMETER_HOME/lib and JMETER_HOME/lib/ext directories.
-If you have developed new JMeter components,
-then you should jar them and copy the jar into JMeter's JMETER_HOME/lib/ext directory. JMeter will
-automatically find JMeter components in any jars found here.
-Support jars should be placed in the JMETER_HOME/lib directory.
-If you don't want to put the extension jars in the JMETER_HOME/lib/ext directory,
+<p>JMeter automatically finds classes from jars in the following directories:</p>
+<ul>
+<li>JMETER_HOME/lib - used for utility jars</li>
+<li>JMETER_HOME/lib/ext - used for JMeter components and add-ons</li>
+</ul>
+<p>If you have developed new JMeter components,
+then you should jar them and copy the jar into JMeter's <b>lib/ext</b> directory.
+JMeter will automatically find JMeter components in any jars found here.
+</p>
+<p>Support jars (libraries etc) should be placed in the <b>lib</b> directory.</p>
+
+<p>If you don't want to put the extension jars in the <b>lib/ext</b> directory,
then define the property <b>search_paths</b> in jmeter.properties.
Do not use lib/ext for utility jars; it is only intended for JMeter components.
</p>
<p>
Other jars (such as JDBC, JavaMail, Beanshell and any other support libaries needed by the JMeter code)
- should be placed in the JMETER_HOME/lib directory - not the lib/ext directory</p>
+ should be placed in the <b>lib</b> directory - not the <b>lib/ext</b> directory</p>
<p>Note: JMeter will only find .jar files, not .zip.</p>
-<p>You can also install utility Jar files in $JAVA_HOME/jre/lib/ext, or (since 2.1.1) you can set the property user.classpath in jmeter.properties</p>
+<p>You can also install utility Jar files in $JAVA_HOME/jre/lib/ext, or (since 2.1.1) you can set the property <b>user.classpath</b> in jmeter.properties</p>
<p>Note that setting the CLASSPATH environment variable will have no effect.
This is because JMeter is started with "java -jar",
and the java command silently ignores the CLASSPATH variable, and the -classpath/-cp options when -jar is used.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org