jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1767283 - in /jmeter/trunk: bin/ src/components/org/apache/jmeter/assertions/ src/components/org/apache/jmeter/extractor/ src/components/org/apache/jmeter/modifiers/ src/components/org/apache/jmeter/timers/ src/components/org/apache/jmeter...
Date Mon, 31 Oct 2016 14:03:51 GMT
Author: pmouawad
Date: Mon Oct 31 14:03:50 2016
New Revision: 1767283

URL: http://svn.apache.org/viewvc?rev=1767283&view=rev
Log:
Bug 60323 - Deprecate BSF Elements
Also fix in changes.html link to known problems and workaround

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources.properties
    jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources_fr.properties
    jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources.properties
    jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources_fr.properties
    jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources.properties
    jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources_fr.properties
    jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources.properties
    jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources_fr.properties
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources.properties
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources_fr.properties
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources.properties
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources_fr.properties
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: jmeter/trunk/bin/jmeter.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter.properties (original)
+++ jmeter/trunk/bin/jmeter.properties Mon Oct 31 14:03:50 2016
@@ -169,8 +169,12 @@ jmeter.laf.mac=System
 #jmeter.tree.icons.size=32x32
 
 #Components to not display in JMeter GUI (GUI class name or static label)
-# These elements are deprecated and will be removed in next version: MongoDB Script, MongoDB
Source Config, Monitor Results
-not_in_menu=org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler, org.apache.jmeter.protocol.mongodb.config.MongoSourceElement,org.apache.jmeter.visualizers.MonitorHealthVisualizer
+# These elements are deprecated and will be removed in next version: 
+# MongoDB Script, MongoDB Source Config, Monitor Results
+# BSF Elements
+not_in_menu=org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler,org.apache.jmeter.protocol.mongodb.config.MongoSourceElement,org.apache.jmeter.visualizers.MonitorHealthVisualizer,\
+    org.apache.jmeter.timers.BSFTimer,org.apache.jmeter.modifiers.BSFPreProcessor,org.apache.jmeter.extractor.BSFPostProcessor,org.apache.jmeter.assertions.BSFAssertion,\
+    org.apache.jmeter.visualizers.BSFListener,org.apache.jmeter.protocol.java.sampler.BSFSampler
 
 # Number of items in undo history
 # Feature is disabled by default (0) due to known and not fixed bugs:

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources.properties
Mon Oct 31 14:03:50 2016
@@ -13,7 +13,7 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-displayName=BSF Assertion
+displayName=BSF Assertion (DEPRECATED)
 scriptingLanguage.displayName=Script language (e.g. beanshell, javascript, jexl)
 scriptLanguage.displayName=Language
 scriptLanguage.shortDescription=Name of BSF language, e.g. beanshell, javascript, jexl

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources_fr.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources_fr.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources_fr.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/BSFAssertionResources_fr.properties
Mon Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #Stored by I18NEdit, may be edited!
-displayName=Assertion BSF
+displayName=Assertion BSF (DEPRECATED)
 filename.displayName=Nom de fichier 
 filename.shortDescription=Fichier script (remplace le script)
 filenameGroup.displayName=Fichier script (remplace le script)

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources.properties
Mon Oct 31 14:03:50 2016
@@ -13,7 +13,7 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-displayName=BSF PostProcessor
+displayName=BSF PostProcessor (DEPRECATED)
 scriptingLanguage.displayName=Script language (e.g. beanshell, javascript, jexl)
 scriptLanguage.displayName=Language
 scriptLanguage.shortDescription=Name of BSF language, e.g. beanshell, javascript, jexl

Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources_fr.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources_fr.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources_fr.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/extractor/BSFPostProcessorResources_fr.properties
Mon Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #Stored by I18NEdit, may be edited!
-displayName=Post-Processeur BSF
+displayName=Post-Processeur BSF (DEPRECATED)
 filename.displayName=Nom de fichier 
 filename.shortDescription=Fichier script (remplace le script)
 filenameGroup.displayName=Fichier script (remplace le script)

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources.properties
Mon Oct 31 14:03:50 2016
@@ -13,7 +13,7 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-displayName=BSF PreProcessor
+displayName=BSF PreProcessor (DEPRECATED)
 scriptingLanguage.displayName=Script language (e.g. beanshell, javascript, jexl)
 scriptLanguage.displayName=Language
 scriptLanguage.shortDescription=Name of BSF language, e.g. beanshell, javascript, jexl

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources_fr.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources_fr.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources_fr.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/modifiers/BSFPreProcessorResources_fr.properties
Mon Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #Stored by I18NEdit, may be edited!
-displayName=Pr\u00E9-Processeur BSF
+displayName=Pr\u00E9-Processeur BSF (DEPRECATED)
 filename.displayName=Nom de fichier 
 filename.shortDescription=Fichier script (remplace le script)
 filenameGroup.displayName=Fichier script (remplace le script)

Modified: jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources.properties (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources.properties Mon
Oct 31 14:03:50 2016
@@ -13,7 +13,7 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-displayName=BSF Timer
+displayName=BSF Timer (DEPRECATED)
 scriptingLanguage.displayName=Script language (e.g. beanshell, javascript, jexl)
 scriptLanguage.displayName=Language
 scriptLanguage.shortDescription=Name of BSF language, e.g. beanshell, javascript, jexl

Modified: jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources_fr.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources_fr.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources_fr.properties (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/timers/BSFTimerResources_fr.properties Mon
Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #Stored by I18NEdit, may be edited!
-displayName=Compteur de temps BSF
+displayName=Compteur de temps BSF (DEPRECATED)
 filename.displayName=Nom de fichier
 filename.shortDescription=Fichier script BSF (remplace le code script)
 filenameGroup.displayName=Fichier script (remplace le code script)

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources.properties
Mon Oct 31 14:03:50 2016
@@ -13,7 +13,7 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-displayName=BSF Listener
+displayName=BSF Listener (DEPRECATED)
 scriptingLanguage.displayName=Script language (e.g. beanshell, javascript, jexl)
 scriptLanguage.displayName=Language
 scriptLanguage.shortDescription=Name of BSF language, e.g. beanshell, javascript, jexl

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources_fr.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources_fr.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources_fr.properties
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/BSFListenerResources_fr.properties
Mon Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #Stored by I18NEdit, may be edited!
-displayName=R\u00E9cepteur BSF
+displayName=R\u00E9cepteur BSF (DEPRECATED)
 filename.displayName=Nom de fichier 
 filename.shortDescription=Fichier script (remplace le script)
 filenameGroup.displayName=Fichier script (remplace le script)

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources.properties
(original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources.properties
Mon Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 
-displayName=BSF Sampler
+displayName=BSF Sampler (DEPRECATED)
 filename.displayName=File Name
 filename.shortDescription=Script file (overrides script)
 filenameGroup.displayName=Script file (overrides script)

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources_fr.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources_fr.properties?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources_fr.properties
(original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSamplerResources_fr.properties
Mon Oct 31 14:03:50 2016
@@ -14,7 +14,7 @@
 #   limitations under the License.
 
 #Stored by I18NEdit, may be edited!
-displayName=Echantillon BSF
+displayName=Echantillon BSF (DEPRECATED)
 filename.displayName=Nom de fichier 
 filename.shortDescription=Fichier script (remplace le script)
 filenameGroup.displayName=Fichier script (remplace le script)

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Mon Oct 31 14:03:50 2016
@@ -46,11 +46,11 @@ Earlier changes are detailed in the <a h
 Summary
 <ul>
 <li><a href="#New and Noteworthy">New and Noteworthy</a></li>
-<li><a href="#Known bugs">Known bugs</a></li>
 <li><a href="#Incompatible changes">Incompatible changes</a></li>
 <li><a href="#Bug fixes">Bug fixes</a></li>
 <li><a href="#Improvements">Improvements</a></li>
 <li><a href="#Non-functional changes">Non-functional changes</a></li>
+<li><a href="#Known problems and workarounds">Known problems and workarounds</a></li>
 <li><a href="#Thanks">Thanks</a></li>
 
 </ul>
@@ -116,9 +116,20 @@ The HTML source code in the Results Tree
 </ul>
 
 <h3>Deprecated and removed elements or functions</h3>
+<p><note>These elements do not appear anymore in the menu, if you need them modify
<code>not_in_menu</code> property. The JMeter team advises not to use them anymore
and migrate to their replacement.</note></p>
 <ul>
     <li><bug>60222</bug>Remove deprecated elements Distribution Graph,
Spline Visualizer</li>
-    <li><bug>60224</bug>Deprecate <code><a href="./usermanual/component_reference.html#Monitor_Results_(DEPRECATED)">Monitor
Results</a></code> listener. It will be dropped in next version</li>
+    <li><bug>60224</bug>Deprecate <code><a href="./usermanual/component_reference.html#Monitor_Results_(DEPRECATED)">Monitor
Results</a></code> listener. It will be dropped in next version.</li>
+    <li><bug>60323</bug>Deprecate BSF Elements (Use JSR223 Elements instead).
They will probably be dropped in N+2 version. The following elements are deprecated:
+        <ul>
+            <li><code><a href="./usermanual/component_reference.html#BSF_Sampler_(DEPRECATED)">BSF
Sampler</a></code></li>
+            <li><code><a href="./usermanual/component_reference.html#BSF_Listener_(DEPRECATED)">BSF
Listener</a></code></li>
+            <li><code><a href="./usermanual/component_reference.html#BSF_Assertion_(DEPRECATED)">BSF
Assertion</a></code></li>
+            <li><code><a href="./usermanual/component_reference.html#BSF_Timer_(DEPRECATED)">BSF
Timer</a></code></li>
+            <li><code><a href="./usermanual/component_reference.html#BSF_PreProcessor_(DEPRECATED)">BSF
PreProcessor</a></code></li>
+            <li><code><a href="./usermanual/component_reference.html#BSF_PostProcessor_(DEPRECATED)">BSF
PostProcessor</a></code></li>
+        </ul>
+    </li>
     <li><bug>60225</bug>Drop deprecated <code>__jexl</code>
function, jexl support in BSF and dependency on <code>commons-jexl-1.1.jar</code>.
This function can be easily replaced with <code><a href="./usermanual/functions.html#__jexl3">__jexl3</a></code>
function</li>
     <li><bug>60268</bug>Drop org.apache.jmeter.gui.action.Analyze and deprecate
org.apache.jmeter.reporters.FileReporter (will be removed in next version)</li>
 </ul>

Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1767283&r1=1767282&r2=1767283&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/component_reference.xml Mon Oct 31 14:03:50 2016
@@ -1141,7 +1141,7 @@ Beware however that misuse of any method
 </component>
 
 
-<component name="BSF Sampler" index="&sect-num;.1.11"  width="848" height="590" screenshot="bsfsampler.png">
+<component name="BSF Sampler (DEPRECATED)" index="&sect-num;.1.11"  width="848" height="590"
screenshot="bsfsampler.png">
     <description><p>This sampler allows you to write a sampler using a BSF scripting
language.<br></br>
         See the <a href="http://commons.apache.org/bsf/index.html">Apache Bean Scripting
Framework</a>
         website for details of the languages supported.
@@ -3309,7 +3309,7 @@ i.e. 30.0 requests/minute is saved as <c
  </properties>
 </component>
 
-<component name="BSF Listener" index="&sect-num;.3.18"  width="847" height="634" screenshot="bsf_listener.png">
+<component name="BSF Listener (DEPRECATED)" index="&sect-num;.3.18"  width="847" height="634"
screenshot="bsf_listener.png">
 <description>
 <p>
 The BSF Listener allows BSF script code to be applied to sample results.
@@ -4731,7 +4731,7 @@ You reference this file in <code>jmeter.
 </properties>
 </component>
 
-<component name="BSF Assertion" index="&sect-num;.5.10"  width="847" height="634"
screenshot="bsf_assertion.png">
+<component name="BSF Assertion (DEPRECATED)" index="&sect-num;.5.10"  width="847"
height="634" screenshot="bsf_assertion.png">
 <description>
 <p>
 The BSF Assertion allows BSF script code to be used to check the status of the previous sample.
@@ -5087,7 +5087,7 @@ vars.putObject("OBJ1",new Object());
 </component>
 
 
-<component name="BSF Timer" index="&sect-num;.6.7"  width="844" height="636" screenshot="timers/bsf_timer.png">
+<component name="BSF Timer (DEPRECATED)" index="&sect-num;.6.7"  width="844" height="636"
screenshot="timers/bsf_timer.png">
 <description>
 <p>
 The BSF Timer can be used to generate a delay using a BSF scripting language.
@@ -5365,7 +5365,7 @@ vars.putObject("OBJ1",new Object());</so
 <p>If the property <code>beanshell.preprocessor.init</code> is defined,
this is used to load an initialisation file, which can be used to define methods etc. for
use in the BeanShell script.</p>
 </component>
 
-<component name="BSF PreProcessor" index="&sect-num;.7.8"  width="844" height="632"
screenshot="bsf_preprocessor.png">
+<component name="BSF PreProcessor (DEPRECATED)" index="&sect-num;.7.8"  width="844"
height="632" screenshot="bsf_preprocessor.png">
 <description>
 <p>
 The BSF PreProcessor allows BSF script code to be applied before taking a sample.
@@ -5945,7 +5945,7 @@ vars.putObject("OBJ1",new Object());</so
 <p>If the property <code>beanshell.postprocessor.init</code> is defined,
this is used to load an initialisation file, which can be used to define methods etc. for
use in the BeanShell script.</p>
 </component>
 
-<component name="BSF PostProcessor" index="&sect-num;.8.6"  width="844" height="633"
screenshot="bsf_postprocessor.png">
+<component name="BSF PostProcessor (DEPRECATED)" index="&sect-num;.8.6"  width="844"
height="633" screenshot="bsf_postprocessor.png">
 <description>
 <p>
 The BSF PostProcessor allows BSF script code to be applied after taking a sample.



Mime
View raw message