jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Bug 56427 - MailReaderSampler - how to indicate reading from end of messages?
Date Fri, 18 Apr 2014 19:35:35 GMT
On 18 April 2014 20:02, Felix Schumacher
<> wrote:
> On 18. April 2014 19:37:45 MESZ, sebb <> wrote:
>>I originally thought I could use -10 to mean read latest 10 messages,
>>but -1 is already taken to mean read ALL messages.
>>So I'm wondering what others think about the idea of using say '_10'
>>to mean latest 10 messages?
>>And '=10' to mean message number 10.
>>These seem reasonable to me, but some may find these counter-intuitive.
>>Other suggestions welcome.
> I think it would be nice to be able to give a range or a list of messages to fetch. We
could use [1..10] or [-5..-1] for the first ten, respectively the last five. > For lists
we could use a simple comma or comma plus a round bracket like (1,4,10) for the first, fourth
and tenth message.

That would be possible, but I'm not sure what the use-case for that
is, so I don't think it's worth spending any time on designing the UI
or implementing it.

> But on the other hand I think it will get quite complicated when we want to support more
advanced features.

I don't think it matters too much if the syntax becomes more
complicated for more complicated requests.
However it is important that the syntax is relatively simple for
simple requests.
And, of course, that it is backwards compatible.

> Regards
> Felix
>>e.g. would it be better to have more radio buttons instead of special
>>[One advantage of a single text field is that it can be provided as a

View raw message