SMTP Sampler can fail if the smtp server is hangs (connection established but no response). A solution is to implement Connection timeout and read timeout https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html
URL: http://svn.apache.org/r1559557 Log: Add Connection timeout and Read timeout to SMTP Sampler Bugzilla Id: 56033 Modified: jmeter/trunk/docs/images/screenshots/smtp_sampler.png jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.java jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpSamplerGui.java jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/images/screenshots/smtp_sampler.png jmeter/trunk/xdocs/usermanual/component_reference.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3301