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 2008/11/19 00:26:16 UTC

svn commit: r718765 - in /jakarta/jmeter/trunk/xdocs/usermanual: component_reference.xml get-started.xml

Author: sebb
Date: Tue Nov 18 15:26:14 2008
New Revision: 718765

URL: http://svn.apache.org/viewvc?rev=718765&view=rev
Log:
More explanations

Modified:
    jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
    jakarta/jmeter/trunk/xdocs/usermanual/get-started.xml

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=718765&r1=718764&r2=718765&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Tue Nov 18 15:26:14 2008
@@ -385,12 +385,16 @@
         </property>
         <property name="Parameter types" required="Yes, if a prepared or callable statement has parameters">
         Comma-separated list of SQL parameter types (e.g. INTEGER, DATE, VARCHAR, DOUBLE).
+        These are defined as fields in the class java.sql.Types, see for example:
+        <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Types.html">Javadoc for java.sql.Types</a>.
+        [Note: JMeter will use whatever types are defined by the runtime JVM, 
+        so if you are running on a different JVM, be sure to check the appropriate document]
         If the callable statement has INOUT or OUT parameters, then these must be indicated by prefixing the
         appropriate parameter types, e.g. instead of "INTEGER", use "INOUT INTEGER".
         If not specified, "IN" is assumed, i.e. "DATE" is the same as "IN DATE".
         <br></br>
-        If the type is not one of the standard Java SQL types, versions of JMeter after 2.3.2 also
-        accept the corresponding integer number, e.g. INTEGER == 4.
+        If the type is not one of the fields found in java.sql.Types, versions of JMeter after 2.3.2 also
+        accept the corresponding integer number, e.g. since INTEGER == 4, you can use "INOUT 4".
         <br></br>
         There must be as many types as there are placeholders in the statement.
         </property>

Modified: jakarta/jmeter/trunk/xdocs/usermanual/get-started.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/get-started.xml?rev=718765&r1=718764&r2=718765&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/get-started.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/get-started.xml Tue Nov 18 15:26:14 2008
@@ -169,6 +169,9 @@
 where you want JMeter to be installed.  Provided that you have a JRE/JDK correctly installed
 and the JAVA_HOME environment variable set, there is nothing more for you to do.</p>
 <p>
+Note: there can be problems (especially with client-server mode) if the directory path contains any spaces.
+</p>
+<p>
 The installation directory structure should look something like this (for version 2.3.1):
 <pre>
 jakarta-jmeter-2.3.1
@@ -180,7 +183,7 @@
 jakarta-jmeter-2.3.1/lib/junit
 jakarta-jmeter-2.3.1/printable_docs
 </pre>
-You can rename the parent directory (e.g. jakarta-jmeter-2.3.1) if you want, but do not change any of the sub-directory names.
+You can rename the parent directory (i.e. jakarta-jmeter-2.3.1) if you want, but do not change any of the sub-directory names.
 </p>
 </section>
 
@@ -206,12 +209,31 @@
 </p>
 
 <p>
+The environment variable can be used to override settings in the jmeter.bat script.
+For example:
+<pre>
+set JVM_ARGS="-Xms1024m -Xmx1024m -Dpropname=propvalue"
+jmeter -t test.jmx ...
+</pre>
+</p>
+
+<p>
 Un*x script files; should work on most Linux/Unix systems.
+The 
 <ul>
-<li>jmeter - run JMeter (in GUI mode by default)</li>
-<li>jmeter-server - start JMeter in server mode</li>
+<li>jmeter - run JMeter (in GUI mode by default). Defines some JVM settings which may not work for all JVMs.</li>
+<li>jmeter-server - start JMeter in server mode (calls jmeter script with appropriate parameters)</li>
+<li>jmeter.sh - very basic JMeter script with no JVM options specified.</li>
 </ul>
 </p>
+<p>
+It may be necessary to edit the jmeter shell script if some of the JVM options are not supported.
+The JVM_ARGS environment variable can be used to override or set additional JVM options, for example:
+<pre>
+JVM_ARGS="-Xms1024m -Xmx1024m" jmeter -t test.jmx [etc.]
+</pre>
+will override the HEAP settings in the script.
+</p>
 <subsection name="&sect-num;.4.1 JMeter's Classpath" anchor="classpath">
 <p>JMeter automatically finds classes from jars in the following directories:</p>
 <ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org