You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Neil W. Hunt" <nw...@vsticorp.com> on 2009/10/05 20:53:16 UTC

Mail Reader Sampler specify port

Hello,

 

I am using the JMeter Mail Reader Sampler. It works quite well for me
locally where I have my mail server running POP3 on port 110. However,
on some of our development servers we use different ports for our POP3
mailboxes. I don't see any way to specify a port # in the Mail Reader
Sampler dialog box. It seems like this should be an option. Thoughts on
how I can specify a port?

 

Thanks,

Neil


Re: Mail Reader Sampler specify port

Posted by Deepak Shetty <sh...@gmail.com>.
hi
yes had already checked that, the current code doesnt use it , I can't see
how to do this without a code change
regards
deepak

On Mon, Oct 5, 2009 at 11:23 PM, Mark Rotteveel <ma...@pluton.nl> wrote:

> Depending on how JMeter fills in the Session properties, the the System
> properties could be included in the session properties. On the other hand:
> why does JMeter not allow this to be configured? JavaMail also has a
> connect() method that accepts a hostname and port, so there would be no
> (or: not much) need to do funky stuff with session properties.
>
> Mark
>
> > Sorry my mistake , these are properties on the session not System
> > properties
> > (I shouldnt rely on memory)
> > regards
> > deepak
> >
> > On Mon, Oct 5, 2009 at 11:59 AM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> >> I believe this sampler uses java mail
> >> in which case you should be able to specify this as a system property
> >> -Dmail.pop3.port=whatever                 (please verify from docs about
> >> java mail)
> >> when you start up jmeter
> >>
> >> Ive never tested it though
> >> regards
> >> deepak
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Mon, Oct 5, 2009 at 11:53 AM, Neil W. Hunt <nw...@vsticorp.com>
> >> wrote:
> >>
> >>> Hello,
> >>>
> >>>
> >>>
> >>> I am using the JMeter Mail Reader Sampler. It works quite well for me
> >>> locally where I have my mail server running POP3 on port 110. However,
> >>> on some of our development servers we use different ports for our POP3
> >>> mailboxes. I don't see any way to specify a port # in the Mail Reader
> >>> Sampler dialog box. It seems like this should be an option. Thoughts on
> >>> how I can specify a port?
> >>>
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Neil
> >>>
> >>>
> >>
> >
>
>
> --
> Mark Rotteveel
> Pluton IT
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Mail Reader Sampler specify port

Posted by Mark Rotteveel <ma...@pluton.nl>.
Depending on how JMeter fills in the Session properties, the the System
properties could be included in the session properties. On the other hand:
why does JMeter not allow this to be configured? JavaMail also has a
connect() method that accepts a hostname and port, so there would be no
(or: not much) need to do funky stuff with session properties.

Mark

> Sorry my mistake , these are properties on the session not System
> properties
> (I shouldnt rely on memory)
> regards
> deepak
>
> On Mon, Oct 5, 2009 at 11:59 AM, Deepak Shetty <sh...@gmail.com> wrote:
>
>> I believe this sampler uses java mail
>> in which case you should be able to specify this as a system property
>> -Dmail.pop3.port=whatever                 (please verify from docs about
>> java mail)
>> when you start up jmeter
>>
>> Ive never tested it though
>> regards
>> deepak
>>
>>
>>
>>
>>
>>
>> On Mon, Oct 5, 2009 at 11:53 AM, Neil W. Hunt <nw...@vsticorp.com>
>> wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> I am using the JMeter Mail Reader Sampler. It works quite well for me
>>> locally where I have my mail server running POP3 on port 110. However,
>>> on some of our development servers we use different ports for our POP3
>>> mailboxes. I don't see any way to specify a port # in the Mail Reader
>>> Sampler dialog box. It seems like this should be an option. Thoughts on
>>> how I can specify a port?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Neil
>>>
>>>
>>
>


-- 
Mark Rotteveel
Pluton IT


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Mail Reader Sampler specify port

Posted by Deepak Shetty <sh...@gmail.com>.
Sorry my mistake , these are properties on the session not System properties
(I shouldnt rely on memory)
regards
deepak

On Mon, Oct 5, 2009 at 11:59 AM, Deepak Shetty <sh...@gmail.com> wrote:

> I believe this sampler uses java mail
> in which case you should be able to specify this as a system property
> -Dmail.pop3.port=whatever                 (please verify from docs about
> java mail)
> when you start up jmeter
>
> Ive never tested it though
> regards
> deepak
>
>
>
>
>
>
> On Mon, Oct 5, 2009 at 11:53 AM, Neil W. Hunt <nw...@vsticorp.com> wrote:
>
>> Hello,
>>
>>
>>
>> I am using the JMeter Mail Reader Sampler. It works quite well for me
>> locally where I have my mail server running POP3 on port 110. However,
>> on some of our development servers we use different ports for our POP3
>> mailboxes. I don't see any way to specify a port # in the Mail Reader
>> Sampler dialog box. It seems like this should be an option. Thoughts on
>> how I can specify a port?
>>
>>
>>
>> Thanks,
>>
>> Neil
>>
>>
>

Re: Mail Reader Sampler specify port

Posted by Deepak Shetty <sh...@gmail.com>.
I believe this sampler uses java mail
in which case you should be able to specify this as a system property
-Dmail.pop3.port=whatever                 (please verify from docs about
java mail)
when you start up jmeter

Ive never tested it though
regards
deepak






On Mon, Oct 5, 2009 at 11:53 AM, Neil W. Hunt <nw...@vsticorp.com> wrote:

> Hello,
>
>
>
> I am using the JMeter Mail Reader Sampler. It works quite well for me
> locally where I have my mail server running POP3 on port 110. However,
> on some of our development servers we use different ports for our POP3
> mailboxes. I don't see any way to specify a port # in the Mail Reader
> Sampler dialog box. It seems like this should be an option. Thoughts on
> how I can specify a port?
>
>
>
> Thanks,
>
> Neil
>
>