jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1310098 - in /jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler: BSFSampler.java BeanShellSampler.java
Date Thu, 05 Apr 2012 22:04:43 GMT
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



Mime
View raw message