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/04/06 00:04:43 UTC

svn commit: r1310098 - in /jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler: BSFSampler.java BeanShellSampler.java

Author: pmouawad
Date: Thu Apr  5 22:04:43 2012
New Revision: 1310098

URL: http://svn.apache.org/viewvc?rev=1310098&view=rev
Log:
Bug 50799 - Having a non-HTTP sampler in a http test plan prevents multiple header managers from working

Modified:
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java?rev=1310098&r1=1310097&r2=1310098&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java (original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java Thu Apr  5 22:04:43 2012
@@ -132,6 +132,6 @@ public class BSFSampler extends BSFTestE
      * {@inheritDoc}
      */
     public boolean applies(ConfigTestElement configElement) {
-        return true;
+        return false;
     }
 }

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java?rev=1310098&r1=1310097&r2=1310098&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java (original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java Thu Apr  5 22:04:43 2012
@@ -166,9 +166,10 @@ public class BeanShellSampler extends Be
     }
 
     /**
-     * {@inheritDoc}
+     * No config element applies to BeanShellSampler
+     * @see org.apache.jmeter.samplers.AbstractSampler#applies(org.apache.jmeter.config.ConfigTestElement)
      */
     public boolean applies(ConfigTestElement configElement) {
-        return true;
+        return false;
     }
-}
+}
\ No newline at end of file