MailerModel.sendMail has a strange way to calculate the debug setting: boolean debug = Boolean.valueOf(host).booleanValue(); i.e. it will set debug true iff host.equalsIgnoreCase("true"). This code seems to have been there since the beginning of SVN history. It should either be removed, or be replaced with something more useful.
A simple solution would be to enable debug for the Test message and not otherwise - thoughts?
Changed to enable debug for Test message only: URL: http://svn.apache.org/viewvc?rev=1242199&view=rev Log: Bug 52614 - MailerModel.sendMail has strange way to calculate debug setting Modified: jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2728