jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1310093 - in /jmeter/trunk: src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java xdocs/changes.xml
Date Thu, 05 Apr 2012 21:56:32 GMT
Author: pmouawad
Date: Thu Apr  5 21:56:32 2012
New Revision: 1310093

URL: http://svn.apache.org/viewvc?rev=1310093&view=rev
Log:
Bug 53027 - Jmeter starts throwing exceptions while using SMTP Sample in a test plan with
HTTP Cookie Mngr or HTTP Request Defaults

Modified:
    jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java?rev=1310093&r1=1310092&r2=1310093&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java
(original)
+++ jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java
Thu Apr  5 21:56:32 2012
@@ -36,6 +36,7 @@ import javax.mail.internet.AddressExcept
 import javax.mail.internet.ContentType;
 import javax.mail.internet.InternetAddress;
 
+import org.apache.jmeter.config.ConfigTestElement;
 import org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel;
 import org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand;
 import org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream;
@@ -62,6 +63,8 @@ public class SmtpSampler extends Abstrac
 
     //+JMX file attribute names - do not change any values!
     public final static String SERVER               = "SMTPSampler.server"; // $NON-NLS-1$
+
+
     public final static String SERVER_PORT          = "SMTPSampler.serverPort"; // $NON-NLS-1$
     public final static String USE_AUTH             = "SMTPSampler.useAuth"; // $NON-NLS-1$
     public final static String USERNAME             = "SMTPSampler.username"; // $NON-NLS-1$
@@ -369,4 +372,13 @@ public class SmtpSampler extends Abstrac
             return null;
         }
     }
+    
+    /**
+     * No config element associated
+     * @see org.apache.jmeter.samplers.AbstractSampler#applies(org.apache.jmeter.config.ConfigTestElement)
+     */
+    @Override
+    public boolean applies(ConfigTestElement configElement) {
+        return false;
+    }
 }
\ No newline at end of file

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1310093&r1=1310092&r2=1310093&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Thu Apr  5 21:56:32 2012
@@ -104,6 +104,7 @@ public boolean applies(ConfigTestElement
 <li>Bug 52932 - JDBC Sampler : Sampler is not marked in error in an Exception which
is not of class IOException, SQLException, IOException occurs</li>
 <li>Bug 52916 - JDBC Exception if there is an empty user defined variable</li>
 <li>Bug 52937 - Webservice Sampler : Clear Soap Documents Cache at end of Test </li>
+<li>Bug 53027 - Jmeter starts throwing exceptions while using SMTP Sample in a test
plan with HTTP Cookie Mngr or HTTP Request Defaults</li>
 </ul>
 
 <h3>Controllers</h3>



Mime
View raw message