jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1608206 - in /jmeter/trunk: src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java xdocs/changes.xml
Date Sun, 06 Jul 2014 14:26:03 GMT
Author: pmouawad
Date: Sun Jul  6 14:26:03 2014
New Revision: 1608206

URL: http://svn.apache.org/r1608206
Log:
Bug 56539 - Mail reader sampler: When Number of messages to retrieve is superior to 1, Number
of samples should only show 1 not the number of messages retrieved
Bugzilla Id: 56539

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

Modified: jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java?rev=1608206&r1=1608205&r2=1608206&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
(original)
+++ jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java
Sun Jul  6 14:26:03 2014
@@ -229,8 +229,6 @@ public class MailReaderSampler extends A
             parent.setDataType(SampleResult.TEXT);
             parent.setContentType("text/plain"); // $NON-NLS-1$
 
-            parent.setSampleCount(messages.length); // TODO is this sensible?
-
             final boolean headerOnly = getHeaderOnly();
             busy = true;
             for (Message message : messages) {

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1608206&r1=1608205&r2=1608206&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Sun Jul  6 14:26:03 2014
@@ -114,6 +114,7 @@ A workaround is to use a Java 7 update 4
 <ch_section>Incompatible changes</ch_section>
 
 <ul>
+<li>Since JMeter 2.12, Mail Reader Sampler will show 1 for number of samples instead
of number of messages retrieved, see <bugzilla>56539</bugzilla></li>
 </ul>
 
 <!-- =================== Bug fixes =================== -->
@@ -138,6 +139,7 @@ A workaround is to use a Java 7 update 4
 <li><bugzilla>56198</bugzilla> - JMSSampler : NullPointerException is thrown
when JNDI underlying implementation of JMS provider does not comply with Context.getEnvironment
contract</li>
 <li><bugzilla>56428</bugzilla> - MailReaderSampler - should it use mail.pop3s.*
properties?</li>
 <li><bugzilla>46932</bugzilla> - Alias given in select statement is not
used as column header in response data for a JDBC request.Based on report and analysis of
Nicola Ambrosetti</li>
+<li><bugzilla>56539</bugzilla> - Mail reader sampler: When Number of messages
to retrieve is superior to 1, Number of samples should only show 1 not the number of messages
retrieved</li>
 </ul>
 
 <h3>Controllers</h3>



Mime
View raw message