Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why does JMeter SMTP Sampler take significantly longer to send an email?

I’m testing an app on a closed network. Mcafee HIPS and endpoint protection is enabled. We can send emails to our SMTP relay successfully, using either Powershell's send-mail message or our MSTest .NET C# based automated tests, at an approx rate of one email per second. However, when using JMeter’s SMTP Sampler, I’m seeing an average of 36 seconds per email to the very same SMTP relay from the same originating client pc.

One thought I had was that maybe there is a ton of overhead in establishing/disconnecting of a connection for each iteration in a loop but that doesn’t seem to affect PowerShell and JMeter SMTP Sampler has acceptable rates when ran outside this network pointed toward Gmail.

Maybe Mcafee treats Java mail x (JMeter’s underlying library) SMTP packets differently than when they come from .net or Powershell?


1 Reply
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: Why does JMeter SMTP Sampler take significantly longer to send an email?

Hi @Christa_843 

Thank you for reaching out to McAfee Community.

It looks like there seems to be some traffic block that needs deeper investigation.

Can you kindly open an SR and reach out to us so that we can check for the issue in detail?


Was my reply helpful?

If yes, provide me with Kudo. If I have answered your query, kindly accept this as solution so that together we help other community members. 

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community