Reading from email | JMeter Forum
S
Shilpa Posted on 31/03/2020

I am trying to read from an email. For this, I have used mail reader sampler and added javax.mail.jar file to lib folder. But when I run my test, I am always getting 500 error with this error:

Response message:com.sun.mail.util.MailConnectException: Couldn't connect to host, port: imap.gmail.com, 993; timeout -1;
nested exception is:
java.net.ConnectException: Connection timed out: connect

 

Can you help?


A
Abhishek Puri Replied on 02/04/2020

Please make sure that less secure login is enabled on your google account.

Also, make sure that your firewall is allowing the connection.


Related Posts