Author: milamber
Date: Sat Apr  2 14:51:06 2011
New Revision: 1088041

URL: http://svn.apache.org/viewvc?rev=1088041&view=rev
Log:
Bug 51011 - Mail Reader: upon authentication failure, tell what you tried

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

Modified: 
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java?rev=1088041&r1=1088040&r2=1088041&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
 Sat Apr  2 14:51:06 2011
@@ -277,7 +277,7 @@ public class MailReaderSampler extends A
         } catch (MessagingException ex) {
             log.debug("", ex);// No need to log normally, as we set the status
             parent.setResponseCode("500"); // $NON-NLS-1$
-            parent.setResponseMessage(ex.toString());
+            parent.setResponseMessage(ex.toString() + "\n" + samplerString); 
// $NON-NLS-1$
         } catch (IOException ex) {
             log.debug("", ex);// No need to log normally, as we set the status
             parent.setResponseCode("500"); // $NON-NLS-1$

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=1088041&r1=1088040&r2=1088041&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Sat Apr  2 14:51:06 2011
@@ -163,6 +163,7 @@ Fixed RMI startup to provide location of
 <li>Bug 50666 - JMSSubscriber: support for durable subscriptions</li>
 <li>Bug 50937 - TCP Sampler does not provide for / honor connect timeout</li>
 <li>Bug 50569 - Jdbc Request Sampler to optionally store result set object 
data</li>
+<li>Bug 51011 - Mail Reader: upon authentication failure, tell what you 
tried</li>
 </ul>
 
 <h3>Controllers</h3>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to