Created attachment 21970 [details] MailReaderSampler as .tar Hello everybody For a project, we have enhanced JMeter's MailReaderSampler with the following features: - POP3: SSL-Support - IMAP: SSL- and StartTLS-Support We now would like to submit these changes to the community, if possible to be included in a future release. Attached, you find the corresponding sources. For building a test plan with the sampler, please note the following: - To ensure that SSL / StartTLS don't end up in exceptions, the server certificate has to be known to JMeter. You can do this by a) installing the certificate on-the-fly ("Install truststore") or b) use a local truststore ("Use local truststore", needs path-to-truststore) with the certificate in. - "Check for failure" means that the test is treated as successful if it failed. This can e.g. be used to check for some unwanted features. Please note that the current SizeAssertions isn't able to correctly determine the mail-size including a possible attachment (this would certainly be a reasonable enhancement).
this superseeds rfe bug 38384 see also Bug 45006 for an approach how to easily cope with the SizeAssertion.java issue.
The current version of JMeter supports POP3S and IMAPS. As far as I can tell, this enhancement is no longer needed. Please re-open with details if this is not correct.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2111