Bug 56429

Summary: MailReaderSampler - no need to fetch all Messages if not all wanted
Product: JMeter Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 2.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Sebb 2014-04-18 12:54:22 UTC
If the user selects other than ALL messages, at present the code still fetches all the Messages. These are lightweight objects, but it would be better in very large folders to only fetch the Message items that are actually needed.

This can be done using the getMessage(start,end) method once the total message count is known.
Comment 1 Sebb 2014-04-18 17:20:59 UTC
URL: http://svn.apache.org/r1588508
Log:
MailReaderSampler - no need to fetch all Messages if not all wanted
Bugzilla Id: 56033

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