I am using JMeter to do some performance testing using enterprisedt version 2.0.2 as my ftp client and the open source ftp server (ranab).
I am uploading an 85MB file 10 times for each of my 10 -20 different threads and what is happening is during my disconnect from the ftp server I am receiving an "Unexpected null reply received" exception when I increase my simultaneous running threads. When I increase the thread count even more I receive another exception SocketException: Connection reset. The files arrive just fine without error on the server.
The FTP Server has been setup to disconnect after 500 seconds of inactivity (which never occurs) and be able to handle 30 login connections. I've run JMeter up to 20 concurrent threads so I am not connecting over my allowed limit.
Is there an explanation as to why this would be happening?
Here are the exceptions and thanks in advance.
Nick
jmeter.protocol.ftp.sampler.FTPSampler: Failed to disconnect from remote PMG: xx.xxx.xx.xx java.
io.IOException: Unexpected null reply received
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:855)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:818)
at com.enterprisedt.net.ftp.FTPClient.quit(FTPClient.java:3488)
at com.enterprisedt.net.ftp.FileTransferClient.disconnect(FileTransferClient.java:812)
at org.apache.jmeter.protocol.ftp.sampler.FTPSampler.disconnect(FTPSampler.java:295)
at org.apache.jmeter.protocol.ftp.sampler.FTPSampler.sendFile(FTPSampler.java:615)
at org.apache.jmeter.protocol.ftp.sampler.FTPSampler.sample(FTPSampler.java:161)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
at java.lang.Thread.run(Thread.java:595)
jmeter.protocol.ftp.sampler.FTPSampler: Failed to disconnect from remote PMG: xx.xxx.xx.xx java.
net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:850)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:818)
at com.enterprisedt.net.ftp.FTPClient.quit(FTPClient.java:3488)
at com.enterprisedt.net.ftp.FileTransferClient.disconnect(FileTransferClient.java:812)
at org.apache.jmeter.protocol.ftp.sampler.FTPSampler.disconnect(FTPSampler.java:295)
at org.apache.jmeter.protocol.ftp.sampler.FTPSampler.sendFile(FTPSampler.java:615)
at org.apache.jmeter.protocol.ftp.sampler.FTPSampler.sample(FTPSampler.java:161)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
at java.lang.Thread.run(Thread.java:595)