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?
mygreatlakes