FTP Performance Testing
1.1 Background Description
This test is a small selection of FTP server software: Quick Easy FTP Server. Quick Easy FTP Server is a full Chinese FTP server software, responsive, easy to operate, to achieve a standard FTP server with the functions.
The software has the following characteristics: 1. The software installer is extremely small, but the performance is not inferior to those of professional full-featured FTP server software 2. have a complete account management, easy server configuration, security settings, the online user information. server logs, real-time statistics, check the software interface update check everything 3. support for HTTP 4. 5. complete help system-wide Chinese, more suitable for Chinese people to use.
1.2 documentation purposes
To test the upload and download performance Quick Easy FTP Server by JMeter.
2. Test Environment
2.1 Test Configuration
Windows10; RAM: 8GB; 64-bit operating system
JDK 1.8
Test software: Apache JMeter 5.1.1
FTP service software: Quick Easy FTP Server
3. Test schedule
4. Performance test requirements
As a mini FTP server software, Quick Easy FTP Server is theoretically capable of withstanding concurrent access to dozens of times per second in order to achieve the purpose of uploading and downloading of files within the same LAN.
The performance test procedure described in
(1) FTP server setup procedure: Configure the user name and password, set the IP address and port
(2) jmeter
Adding a thread group
Add FTP request
FTP requests configuration
Adding to see the results chart
(3) establish FTP SERVER text1.txt in the root directory. Establish local desktop text2.txt
(3)
First test put request, say local files uploaded to the server. You can see the results
On the server text1.txt file is overwritten
Tree View Results
Secondly get request, the server files to a local talk
First, the file on the server under text1.txt changes
Look at the results of running
可看到本地文件被服务器上的文件所覆盖
查看结果树
现在说明服务器上传和下载是没有问题的,我们接下来对服务器并发访问进行测试
(get测试)
设置线程数为30进行测试
设置线程数为50进行测试
设置线程数为100进行测试
设置线程数为200进行测试
(put测试)
设置线程数为30进行测试
设置线程数为50进行测试
设置线程数为100进行测试
(4)总结
可以看出,get请求时。线程数为:30-50-100出现的异常几乎没有。但是在200时出现了较大的异常。
Put请求时线程数为:30-50几乎没有什么异常。但是100异常较大。
6.心得体会
通过本次报告,我们已经掌握了Quick Easy FTP Server的基本上传与下载的操作,与jmeter
的相结合,也让我们掌握了FTP性能测试的方法。当然其中也遇到了一些困难,包括软件的安装和使用,过程总是艰辛的,不过学到知识也是挺值得的。