Author: sebb
Date: Fri May 16 08:02:40 2008
New Revision: 657092
URL: http://svn.apache.org/viewvc?rev=657092&view=rev
Log:
How to run bsh stand-alone
Modified:
jakarta/jmeter/trunk/docs/usermanual/best-practices.html
jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml
Modified: jakarta/jmeter/trunk/docs/usermanual/best-practices.html
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/docs/usermanual/best-practices.html?rev=657092&r1=657091&r2=657092&view=diff
==============================================================================
--- jakarta/jmeter/trunk/docs/usermanual/best-practices.html (original)
+++ jakarta/jmeter/trunk/docs/usermanual/best-practices.html Fri May 16
08:02:40 2008
@@ -513,6 +513,22 @@
Some long-running tests may cause the interpreter to use lots of memory; if
this is the case try using the reset option.
</p>
+
<p >
+
+You can test BeanShell scripts outside JMeter by using the command-line
interpreter:
+
+
<pre >
+
+$ java -cp bsh-xxx.jar[;other jars as needed] bsh.Interperter file.bsh
[parameters]
+or
+$ java -cp bsh-xxx.jar bsh.Interperter
+bsh% source("file.bsh");
+bsh% exit(); // or use EOF key (e.g. ^Z or ^D)
+
+ </pre>
+
+
+ </p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
Modified: jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml?rev=657092&r1=657091&r2=657092&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml Fri May 16
08:02:40 2008
@@ -208,6 +208,16 @@
<p>
Some long-running tests may cause the interpreter to use lots of memory; if
this is the case try using the reset option.
</p>
+<p>
+You can test BeanShell scripts outside JMeter by using the command-line
interpreter:
+<pre>
+$ java -cp bsh-xxx.jar[;other jars as needed] bsh.Interperter file.bsh
[parameters]
+or
+$ java -cp bsh-xxx.jar bsh.Interperter
+bsh% source("file.bsh");
+bsh% exit(); // or use EOF key (e.g. ^Z or ^D)
+</pre>
+</p>
</subsection>
<subsection name="§-num;.8.2 Sharing Variables" anchor="bsh_variables">
<p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]