You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Rajendra Gokhale <rv...@gmail.com> on 2006/09/18 08:10:58 UTC
Using Jmeter to test an SMTP server
Hi,
I am trying to use JMeter to generate load on an SMTP server (checking how
many incoming emails the SMTP server can handle). I have tried connecting
and sending mails using telnet on port 25. The interaction looks something
like this:
telnet> HELO
successful
telnet> MAIL FROM:foo@bar.com
successful
What is the right way of simulating this interaction using JMeter? I tried
using two TCP samplers, one for each of the above requests but that approach
fails since the SMTP server considers them as two separate sections.
If I try to send the HELO as well as the MAIL requests in the same sampler,
I get a successful response for the HELO but not for FROM.
As far as I can see, the SMTP server is behaving correctly and my question
is : what do I need to do in order to get this right?
Thanks in advance,
Rajendra Gokhale
Re: Using Jmeter to test an SMTP server
Posted by sebb <se...@gmail.com>.
JMeter does not support testing SMTP servers.
You'll need to write your own Sampler, or your own TCP implementation.
S.
On 18/09/06, Rajendra Gokhale <rv...@gmail.com> wrote:
> Hi,
>
> I am trying to use JMeter to generate load on an SMTP server (checking how
> many incoming emails the SMTP server can handle). I have tried connecting
> and sending mails using telnet on port 25. The interaction looks something
> like this:
>
> telnet> HELO
> successful
> telnet> MAIL FROM:foo@bar.com
> successful
>
> What is the right way of simulating this interaction using JMeter? I tried
> using two TCP samplers, one for each of the above requests but that approach
> fails since the SMTP server considers them as two separate sections.
>
> If I try to send the HELO as well as the MAIL requests in the same sampler,
> I get a successful response for the HELO but not for FROM.
>
> As far as I can see, the SMTP server is behaving correctly and my question
> is : what do I need to do in order to get this right?
>
> Thanks in advance,
>
> Rajendra Gokhale
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org