I am using the Mail Reader Sampler to read the email from Gmail and get a token Id from the email which is required for our further testing. But all the time I am getting the below error:
Response code: 500 Response message: javax.mail.MessagingException: Connection timed out: connect; nested exception is: java.net.ConnectException: Connection timed out: connect imaps://[email protected]@imap.googlemail.com/INBOX[5]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: null
Can someone help?