I am trying to implement mail protocol from the JMeter application. SMTP is working fine. In the case of POP3, I am getting the above error for some of the thread.
Tried solutions:
Question: Why some of the threads are not getting the messages from the input stream during POP3 implementation?
POP, as protocol, makes two big assumptions: First, nothing else modifies the mailbox while you're looking at it. Second, the messages are deleted or archived or something once you've looked (the server decides precisely what, the client can do opt out of that by taking some non-default action, I forget the details). This design shows up in every server and every client library. You're opening the mailbox in multiple threads, so you'll have problems with your server, your client library, or both.
You can try to use a single thread, you can change to IMAP, or you can try to investigate your client and server to steer clear of the problems you're seeing. All three are possible, even the third.