I got an error during execution of Mail Reader sampler. I also tried IMAP but still got the error, any solutions, please ?
Thread Name: Thread Group 1-1
Sample Start: 2017-06-02 12:20:45 EDT
Load time: 21015
Connect Time: 0
Latency: 0
Size in bytes: 0
Sent bytes:0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""):
Response code: 500
Response message: javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.ConnectException: Connection timed out: connect
pop3s://[email protected]@pop.googlemail.com:995/INBOX[1]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: null
According to Read Gmail messages on other email clients using POP article:
Incoming Mail (POP) Server pop.gmail.com
Requires SSL: Yes
Port: 995
So try changing your Server Host
setting to pop.gmail.com
Also double check the following:
See Load Testing Your Email Server: How to Send and Receive E-mails with JMeter article for more information on sending and receiving emails using JMeter