The issue is regarding MailReaderSampler with SSL authentication enabled on server side. In Wireshark I see a lot of handshake failed messages, because Jmeter is sending back a SSL "Certificate" message with a zero length certificate. <MailReaderSampler guiclass="MailReaderSamplerGui" testclass="MailReaderSampler" testname="POP3 Sampler Port 995 " enabled="true"> <stringProp name="host_type">pop3s</stringProp> <stringProp name="folder">INBOX</stringProp> <stringProp name="host">xx.xx.xx.xx</stringProp> <stringProp name="port">995</stringProp> <stringProp name="username">praxis.dr.moritz.nullmayr${__threadNum}@tsi.komle.telematik-test</stringProp> <stringProp name="password">gematik123</stringProp> <stringProp name="num_messages">10</stringProp> <boolProp name="delete">false</boolProp> <stringProp name="SMTPSampler.useSSL">true</stringProp> <stringProp name="SMTPSampler.useStartTLS">false</stringProp> <stringProp name="SMTPSampler.trustAllCerts">true</stringProp> <stringProp name="SMTPSampler.enforceStartTLS">false</stringProp> <stringProp name="SMTPSampler.useLocalTrustStore">false</stringProp> <stringProp name="SMTPSampler.trustStoreToUse"></stringProp> <stringProp name="SMTPSampler.tlsProtocols"></stringProp> </MailReaderSampler>
I set mail.pop3.ssl.enable=true in jmeter.properties and updated trustore seems working for me . maybe have to add patch
could check if this fix works for you https://github.com/apache/jmeter/pull/583/files ?
could you check if fix https://github.com/apache/jmeter/pull/583 works for you?
I think one of the (possible more than one) problems is, that we load a trust-store without a password (LocalTrustStoreSSLSocketFactory). That way, the SSLContext will not have access to any client certs (their private parts) that might be located inside the JKS file. As JKS is going to be replaced by PKCS12 (or at least advised to be replaced), another addition to supporting a password for the trust-store (and thus making it a trust+key-store) would be to support other formats beside JKS.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5264