Bug 56429 - MailReaderSampler - no need to fetch all Messages if not all wanted
Summary: MailReaderSampler - no need to fetch all Messages if not all wanted
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.11
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 12:54 UTC by Sebb
Modified: 2014-04-18 17:20 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:57 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3363