2017-06-02 55 views
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://[email protected]@pop.googlemail.com:995/INBOX[1] 

Response headers: 


SampleResult fields: 
ContentType: 
DataEncoding: null 
+0

[郵件閱讀器採樣(https://stackoverflow.com/questions/35859794/mail-reader-sampler) –

回答

0

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

傳入郵件(POP)服務器pop.gmail.com

需要SSL:是的

端口:995

因此,嘗試改變你的Server Host設置pop.gmail.com

而且仔細檢查以下內容:在Gmail設置

  1. 您已啓用POP
  2. 您可以訪問pop.gmail.com服務器的端口995(可以檢查它使用telnet client,也就是說,它不會被阻止在OS的防火牆,組織,路由器等
  3. 您沒有阻止Gmail中檢索消息太快

查看發送和使用JMeter的

+0

感謝德米特里可能重複接收電子郵件Load Testing Your Email Server: How to Send and Receive E-mails with JMeter文章以獲取更多信息。我檢查了設置,也啓用允許不太安全的設置,但仍然得到連接失敗;連接超時錯誤500? – Enwar