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.
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3363