You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/12/02 14:07:15 UTC

svn commit: r1416170 - /jmeter/trunk/xdocs/usermanual/component_reference.xml

Author: pmouawad
Date: Sun Dec  2 13:07:14 2012
New Revision: 1416170

URL: http://svn.apache.org/viewvc?rev=1416170&view=rev
Log:
clarify documentation on Script File in BSF elements

Modified:
    jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1416170&r1=1416169&r2=1416170&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/component_reference.xml Sun Dec  2 13:07:14 2012
@@ -1159,7 +1159,7 @@ Beware however that misuse of any method
 	The following are supported: jexl, javascript, xslt.
 	Others may be available if the appropriate jar is installed in the JMeter lib directory.
 	</property>
-	<property name="Script File" required="No">Name of a file to be used as a BSF script</property>
+	<property name="Script File" required="No">Name of a file to be used as a BSF script, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
 	<property name="Parameters" required="No">List of parameters to be passed to the script file or the script.</property>
 	<property name="Script" required="Yes (unless script file is provided)">Script to be passed to BSF language</property>
 </properties>
@@ -3071,7 +3071,7 @@ The BSF Listener allows BSF script code 
         <li>Parameters - string containing the parameters as a single variable</li>
         <li>args - String array containing parameters, split on white-space</li>
     </ul></property>
-    <property name="Script file" required="No">A file containing the script to run.</property>
+    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
     <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
 </properties>
 <p>
@@ -4231,7 +4231,7 @@ The BSF Assertion allows BSF script code
         <li>Parameters - string containing the parameters as a single variable</li>
         <li>args - String array containing parameters, split on white-space</li>
     </ul></property>
-    <property name="Script file" required="No">A file containing the script to run.</property>
+    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
     <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
 </properties>
 <p>
@@ -4505,7 +4505,7 @@ The BSF Timer can be used to generate a 
     </ul>
     </property>
     <property name="Script file" required="No">
-    A file containing the script to run.
+    A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder
      The return value is converted to a long integer and used as the number of milliseconds to wait.
      </property>
     <property name="Script" required="Yes (unless script file is provided)">
@@ -4754,7 +4754,7 @@ The BSF PreProcessor allows BSF script c
         <li>Parameters - string containing the parameters as a single variable</li>
         <li>args - String array containing parameters, split on white-space</li>
     </ul></property>
-    <property name="Script file" required="No">A file containing the script to run.</property>
+    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
     <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
 </properties>
 <p>
@@ -5101,7 +5101,7 @@ The BSF PostProcessor allows BSF script 
         <li>Parameters - string containing the parameters as a single variable</li>
         <li>args - String array containing parameters, split on white-space</li>
     </ul></property>
-    <property name="Script file" required="No">A file containing the script to run.</property>
+    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
     <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
 </properties>
 <p>



Re: svn commit: r1416170 - /jmeter/trunk/xdocs/usermanual/component_reference.xml

Posted by Philippe Mouawad <ph...@gmail.com>.
You are right it's user.dir which is usually JMETER_HOME/bin.
Also right for directory.


On Sun, Dec 2, 2012 at 2:32 PM, sebb <se...@gmail.com> wrote:

> On 2 December 2012 13:07,  <pm...@apache.org> wrote:
> > Author: pmouawad
> > Date: Sun Dec  2 13:07:14 2012
> > New Revision: 1416170
> >
> > URL: http://svn.apache.org/viewvc?rev=1416170&view=rev
> > Log:
> > clarify documentation on Script File in BSF elements
> >
> > Modified:
> >     jmeter/trunk/xdocs/usermanual/component_reference.xml
> >
> > Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
> > URL:
> http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1416170&r1=1416169&r2=1416170&view=diff
> >
> ==============================================================================
> > --- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
> > +++ jmeter/trunk/xdocs/usermanual/component_reference.xml Sun Dec  2
> 13:07:14 2012
> > @@ -1159,7 +1159,7 @@ Beware however that misuse of any method
> >         The following are supported: jexl, javascript, xslt.
> >         Others may be available if the appropriate jar is installed in
> the JMeter lib directory.
> >         </property>
> > -       <property name="Script File" required="No">Name of a file to be
> used as a BSF script</property>
> > +       <property name="Script File" required="No">Name of a file to be
> used as a BSF script, if a relative file path is used, then it will be
> relative to JMETER_HOME/bin folder</property>
>
> Are you sure that is always true?
>
> What if one starts JMeter in a different directory?
>
> BTW, I don't think "folder" is the correct word for Un*x systems
> (apart from Mac!); it might be clearer to use "directory".
>
> >         <property name="Parameters" required="No">List of parameters to
> be passed to the script file or the script.</property>
> >         <property name="Script" required="Yes (unless script file is
> provided)">Script to be passed to BSF language</property>
> >  </properties>
> > @@ -3071,7 +3071,7 @@ The BSF Listener allows BSF script code
> >          <li>Parameters - string containing the parameters as a single
> variable</li>
> >          <li>args - String array containing parameters, split on
> white-space</li>
> >      </ul></property>
> > -    <property name="Script file" required="No">A file containing the
> script to run.</property>
> > +    <property name="Script file" required="No">A file containing the
> script to run, if a relative file path is used, then it will be relative to
> JMETER_HOME/bin folder</property>
> >      <property name="Script" required="Yes (unless script file is
> provided)">The script to run.</property>
> >  </properties>
> >  <p>
> > @@ -4231,7 +4231,7 @@ The BSF Assertion allows BSF script code
> >          <li>Parameters - string containing the parameters as a single
> variable</li>
> >          <li>args - String array containing parameters, split on
> white-space</li>
> >      </ul></property>
> > -    <property name="Script file" required="No">A file containing the
> script to run.</property>
> > +    <property name="Script file" required="No">A file containing the
> script to run, if a relative file path is used, then it will be relative to
> JMETER_HOME/bin folder</property>
> >      <property name="Script" required="Yes (unless script file is
> provided)">The script to run.</property>
> >  </properties>
> >  <p>
> > @@ -4505,7 +4505,7 @@ The BSF Timer can be used to generate a
> >      </ul>
> >      </property>
> >      <property name="Script file" required="No">
> > -    A file containing the script to run.
> > +    A file containing the script to run, if a relative file path is
> used, then it will be relative to JMETER_HOME/bin folder
> >       The return value is converted to a long integer and used as the
> number of milliseconds to wait.
> >       </property>
> >      <property name="Script" required="Yes (unless script file is
> provided)">
> > @@ -4754,7 +4754,7 @@ The BSF PreProcessor allows BSF script c
> >          <li>Parameters - string containing the parameters as a single
> variable</li>
> >          <li>args - String array containing parameters, split on
> white-space</li>
> >      </ul></property>
> > -    <property name="Script file" required="No">A file containing the
> script to run.</property>
> > +    <property name="Script file" required="No">A file containing the
> script to run, if a relative file path is used, then it will be relative to
> JMETER_HOME/bin folder</property>
> >      <property name="Script" required="Yes (unless script file is
> provided)">The script to run.</property>
> >  </properties>
> >  <p>
> > @@ -5101,7 +5101,7 @@ The BSF PostProcessor allows BSF script
> >          <li>Parameters - string containing the parameters as a single
> variable</li>
> >          <li>args - String array containing parameters, split on
> white-space</li>
> >      </ul></property>
> > -    <property name="Script file" required="No">A file containing the
> script to run.</property>
> > +    <property name="Script file" required="No">A file containing the
> script to run, if a relative file path is used, then it will be relative to
> JMETER_HOME/bin folder</property>
> >      <property name="Script" required="Yes (unless script file is
> provided)">The script to run.</property>
> >  </properties>
> >  <p>
> >
> >
>



-- 
Cordialement.
Philippe Mouawad.

Re: svn commit: r1416170 - /jmeter/trunk/xdocs/usermanual/component_reference.xml

Posted by sebb <se...@gmail.com>.
On 2 December 2012 13:07,  <pm...@apache.org> wrote:
> Author: pmouawad
> Date: Sun Dec  2 13:07:14 2012
> New Revision: 1416170
>
> URL: http://svn.apache.org/viewvc?rev=1416170&view=rev
> Log:
> clarify documentation on Script File in BSF elements
>
> Modified:
>     jmeter/trunk/xdocs/usermanual/component_reference.xml
>
> Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1416170&r1=1416169&r2=1416170&view=diff
> ==============================================================================
> --- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
> +++ jmeter/trunk/xdocs/usermanual/component_reference.xml Sun Dec  2 13:07:14 2012
> @@ -1159,7 +1159,7 @@ Beware however that misuse of any method
>         The following are supported: jexl, javascript, xslt.
>         Others may be available if the appropriate jar is installed in the JMeter lib directory.
>         </property>
> -       <property name="Script File" required="No">Name of a file to be used as a BSF script</property>
> +       <property name="Script File" required="No">Name of a file to be used as a BSF script, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>

Are you sure that is always true?

What if one starts JMeter in a different directory?

BTW, I don't think "folder" is the correct word for Un*x systems
(apart from Mac!); it might be clearer to use "directory".

>         <property name="Parameters" required="No">List of parameters to be passed to the script file or the script.</property>
>         <property name="Script" required="Yes (unless script file is provided)">Script to be passed to BSF language</property>
>  </properties>
> @@ -3071,7 +3071,7 @@ The BSF Listener allows BSF script code
>          <li>Parameters - string containing the parameters as a single variable</li>
>          <li>args - String array containing parameters, split on white-space</li>
>      </ul></property>
> -    <property name="Script file" required="No">A file containing the script to run.</property>
> +    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
>      <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
>  </properties>
>  <p>
> @@ -4231,7 +4231,7 @@ The BSF Assertion allows BSF script code
>          <li>Parameters - string containing the parameters as a single variable</li>
>          <li>args - String array containing parameters, split on white-space</li>
>      </ul></property>
> -    <property name="Script file" required="No">A file containing the script to run.</property>
> +    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
>      <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
>  </properties>
>  <p>
> @@ -4505,7 +4505,7 @@ The BSF Timer can be used to generate a
>      </ul>
>      </property>
>      <property name="Script file" required="No">
> -    A file containing the script to run.
> +    A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder
>       The return value is converted to a long integer and used as the number of milliseconds to wait.
>       </property>
>      <property name="Script" required="Yes (unless script file is provided)">
> @@ -4754,7 +4754,7 @@ The BSF PreProcessor allows BSF script c
>          <li>Parameters - string containing the parameters as a single variable</li>
>          <li>args - String array containing parameters, split on white-space</li>
>      </ul></property>
> -    <property name="Script file" required="No">A file containing the script to run.</property>
> +    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
>      <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
>  </properties>
>  <p>
> @@ -5101,7 +5101,7 @@ The BSF PostProcessor allows BSF script
>          <li>Parameters - string containing the parameters as a single variable</li>
>          <li>args - String array containing parameters, split on white-space</li>
>      </ul></property>
> -    <property name="Script file" required="No">A file containing the script to run.</property>
> +    <property name="Script file" required="No">A file containing the script to run, if a relative file path is used, then it will be relative to JMETER_HOME/bin folder</property>
>      <property name="Script" required="Yes (unless script file is provided)">The script to run.</property>
>  </properties>
>  <p>
>
>