On 28/07/2008, Michael Tschannen <[EMAIL PROTECTED]> wrote: > Hi list! >
Sorry for the long delay in replying. I think it would be best to deal with the MailReader separately from the SMTPSampler, so I'll split this into two threads. > For a project, we needed the ability to send and receive e-mails through > JMeter. As a result, we have coded the following enhancements for JMeter: > * enhancements for MailReaderSampler, now including full SSL support for > POP3 and IMAP as well as StartTLS support for IMAP > * enhanced SMTPSampler (first version by Luca Maragnani) including full SSL > and StartTLS support for SMTP, ability to send e-mails stored in an > ".eml-file", multiple recipients (including "To", "CC" and "BCC"), multiple > attachments and more > > We would be glad if these two additions had a chance being included in an > oncoming JMeter release and would like to get your opinion on that. We have > already been in contact with Sebastian, who asked us to start a discussion > on the developer mailing list therefor. > > The full source code for the mentioned samplers can be found in bugzilla: > * MailReaderSampler: > https://issues.apache.org/bugzilla/show_bug.cgi?id=45005 Unfortunately the code in the attachment is against an earlier version of JMeter, which makes it a bit harder to work out what is changed. As far as I can make out, the code adds: + POP3S and IMAPS + Check for failure - i.e require that the connect fails + StartTLS support + Trusting All certificates + various options for trust stores The MailReader Sampler has already been enhanced in JMeter 2.3.2 to handle POP3S and IMAPS. I don't think it makes sense to add the check for failure code - that can be done with an Assertion. StartTLS looks as though it can be added simply by updating the properties list, so is not a problem. Trusting all certificates looks OK, as again it just means setting some local properties. There's already some JMeter code for certificate trust which might be re-usable. If not, then the code you supplied can be used once the Copyright notices have been dealt with: http://www.apache.org/legal/src-headers.html#headers The trust store options seem to require setting System properties - this is not going to work unless all samplers have the same settings, so I don't think the options should be added as they stand. > * SMTPSampler: > https://issues.apache.org/bugzilla/show_bug.cgi?id=45053 See other mail. > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]