【问题标题】:Mail Reader Sampler connection error邮件阅读器采样器连接错误
【发布时间】:2017-06-05 21:15:21
【问题描述】:

在执行邮件阅读器采样器期间出现错误。我也尝试了 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 

【问题讨论】:

标签: performance jmeter beanshell


【解决方案1】:

Read Gmail messages on other email clients using POP文章:

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

需要 SSL:是

端口:995

所以尝试将您的Server Host 设置更改为pop.gmail.com

还要仔细检查以下内容:

  1. 您已在 Gmail 设置中启用 POP
  2. 您可以访问pop.gmail.com服务器的995端口(您可以使用telnet client检查它,即它没有被您的操作系统防火墙、组织、路由器等阻止。
  3. Gmail 不会因为您检索邮件太快而阻止您

有关使用 JMeter 发送和接收电子邮件的更多信息,请参阅 Load Testing Your Email Server: How to Send and Receive E-mails with JMeter 文章

【讨论】:

  • 谢谢德米特里。我检查了设置,也启用了允许不太安全的设置,但仍然连接失败;,连接超时错误 500?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多