邮件 Reader 采样器连接错误
Mail Reader Sampler connection error
我在执行邮件 Reader 采样器时遇到错误。我也尝试了 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
根据Read Gmail messages on other email clients using POP文章:
Incoming Mail (POP) Server pop.gmail.com
Requires SSL: Yes
Port: 995
所以尝试将 Server Host
设置更改为 pop.gmail.com
还要仔细检查以下内容:
- 您已在 Gmail 设置中启用 POP
- 您可以访问 pop.gmail.com 服务器的 995 端口(您可以使用 telnet client 检查它,即它没有在您的 OS 防火墙、组织、路由器等中被阻止。
- 您没有因为检索邮件太快而被 Gmail 阻止
有关使用 JMeter 发送和接收电子邮件的更多信息,请参阅 Load Testing Your Email Server: How to Send and Receive E-mails with JMeter 文章
我在执行邮件 Reader 采样器时遇到错误。我也尝试了 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
根据Read Gmail messages on other email clients using POP文章:
Incoming Mail (POP) Server pop.gmail.com
Requires SSL: Yes
Port: 995
所以尝试将 Server Host
设置更改为 pop.gmail.com
还要仔细检查以下内容:
- 您已在 Gmail 设置中启用 POP
- 您可以访问 pop.gmail.com 服务器的 995 端口(您可以使用 telnet client 检查它,即它没有在您的 OS 防火墙、组织、路由器等中被阻止。
- 您没有因为检索邮件太快而被 Gmail 阻止
有关使用 JMeter 发送和接收电子邮件的更多信息,请参阅 Load Testing Your Email Server: How to Send and Receive E-mails with JMeter 文章