Fifth jobs - software testing tools

   The software testing tools, JMeter to test a ftp server software when I use the test tool.

1.1 Background Description

This test is a small selection of FTP server software: the Easy FTP Server Quick . Quick Easy FTP Server is an all-Chinese 's FTP server software, responsive, easy to operate, to achieve a standard FTP server with the functions.

The software has the following characteristics: 1. Software installation program 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 check update everything 3. support for HTTP 4. 5. complete help system-wide Chinese, more suitable for Chinese people to use.

Before using FileZilla to build servers way to build a WordPress website, this attempt by Quick Easy FTP Server set up ftp server and network transmission performance tests

1.2 test purposes

By testing upload and download performance Quick Easy FTP Server is JMeter.

2. Test Environment

2.1 Test Configuration

Windows10 i5-7200CPU @ 3.30GHz; RAM: 8GB; 64-bit operating system

JDK 1.8

Test software : the Apache 5.1.1 the JMeter

FTP service software: Quick Easy FTP Server 4.0.0

3. 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.

4. Performance Test procedure described in

Installation archive, software configuration information

 

 

 

5. with jmeter test easy ftp server quick upload and download performance

1 Miao 1 thread access volume

 

 

Configuring FTP request Default

 

 

get request that download software from the server. Remote File test1.txt default content files stored in the root directory of the ftp server settings, the file must already exist, and the file is the best data, otherwise it will error. Local File local file storage address.

 

 

put requests, from local to upload files to the server. Remote File content test2.txt is not a file server. Local File local existing documents

 

 

Create a listener, polymerization report, view the results, in tabular graphical results

 

 

 Other configuration identical

 

1 Miao 30 threads access the amount

Other configuration identical

 

Performance analysis of test results

1 Miao 1 thread access volume

get: a complete sample, the average response time of 130ms, the response time is 130s, the response time for all of the sample in the sample is 90% less than 130ms, the minimum response time is 130ms, the maximum response time of 130ms, the error rate 0%.

put:完成了1个sample,平均响应时间为84ms,响应时间的中值为84ms,所有sample中90%的sample的响应时间都小于84ms,最小响应时间为84ms,最大响应时间为84ms,错误率为0%。

 

 

 

1秒30线程访问额

get:完成了30个sample,平均响应时间为164ms,响应时间的中值为8ms,所有sample中90%的sample的响应时间都小于576ms,最小响应时间为2ms,最大响应时间为786ms,错误率为60%。

put:完成了30个sample,平均响应时间为27ms,响应时间的中值为12ms,所有sample中90%的sample的响应时间都小于30ms,最小响应时间为3ms,最大响应时间为212,ms,错误率为90%。

 

 

1秒50线程访问额

 

 

 

1秒100线程访问额

 

 

6.总结:

Quick Easy FTP Serve 作为一款小型ftp软件,操作简单反应迅速。但是也存在着一些问题,当该软件在一秒内的线程访问额度高达50时错误率已经接近72%,由此可见,在处理大批量访问时,该软件错误率较高,十分的不稳定。本次测试也向我们展现了jmeter测试工具的优点:

不依赖于界面,如果服务正常启动,传递参数明确就可以添加测试用例,执行测试

 

1  测试脚本不需要编程,熟悉http请求,熟悉业务流程,就可以根据页面中input对象来编写测试用例。

 

2  测试脚本维护方便,可以将测试脚本复制,并且可以将某一部分单独保存。

3  可以跳过页面限制,向后台程序添加非法数据,这样可以测试后台程序的健壮性。

 

4  利用badboy录制测试脚本,可以快速的形成测试脚本

 

5  Jmeter断言可以验证代码中是否有需要得到的值

 

6  使用参数化以及Jmeter提供的函数功能,可以快速完成测试数据的添加修改等

 

Guess you like

Origin www.cnblogs.com/sjhdamowang/p/10968001.html