You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/04/18 14:47:14 UTC

[Bug 56427] MailReaderSampler enhancement: read message header

https://issues.apache.org/bugzilla/show_bug.cgi?id=56427

--- Comment #1 from Sebb <se...@apache.org> ---
a) The code already fetches the header separately from the body, so it should
be easy enough to suppress fetching the body. Just means adding an option
checkbox to the GUI.

b) The code already has the option to fetch N messages - does this not work for
you? Or does it fetch the earliest N messages?

c) That should be easy enough to do.

One possible approach to providing the message ids via the GUI:

The number field currently expects a positive number.
This could be extended to support a negative number, meaning to count back from
the highest numbered message. 
So if there are 100 messges in the folder:

 10 would mean msgs 1-10  (same for +10)
-10 would mean msgs 91-100

In both cases, the sampler would return 10 messages, i.e. the absolute value of
the number. [This would support option (b) if it does not already]

One possible way to indicate a single message number would be to prefix the
number with '=', for example:

=42

This would avoid needing to change the GUI, and personally I would find it
easier to use than having to enter the numbers in a different field or select
an additional check-box. But others may think otherwise!

-- 
You are receiving this mail because:
You are the assignee for the bug.