Performance 邮件读取器采样器连接错误

Performance 邮件读取器采样器连接错误,performance,jmeter,beanshell,Performance,Jmeter,Beanshell,我在执行邮件阅读器采样器时出错。我也试过IMAP,但还是出现了错误,请问有什么解决办法吗 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

我在执行邮件阅读器采样器时出错。我也试过IMAP,但还是出现了错误,请问有什么解决办法吗

 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://enwarali@gmail.com@pop.googlemail.com:995/INBOX[1]  

 Response headers:


 SampleResult fields:  
ContentType:  
DataEncoding: null 
根据该条:

接收邮件(POP)服务器POP.gmail.com

需要SSL:是

港口:995

因此,请尝试将您的
服务器主机设置更改为
pop.gmail.com

还要再次检查以下各项:

  • 您已启用Gmail中的POP设置
  • 您可以访问pop.gmail.com服务器的端口995(您可以使用进行检查,即它未被您的操作系统防火墙、组织、路由器等阻止)
  • 你不会因为检索邮件太快而被Gmail阻止

  • 有关使用JMeter发送和接收电子邮件的更多信息,请参阅文章。

    感谢Dmitri的可能副本。我检查了设置,也启用了允许不太安全的设置,但仍然无法连接;,连接超时错误500?