Introduction and project specific testing tools use Jmeter

 

Apache JMeter is a Java-based stress test tools developed by Apache. For software to do the stress test, which was originally designed for testing Web applications, but later extended to other test areas. It can be used to test static and dynamic resources, such as static files, Java servlets, CGI scripts, Java objects, databases, FTP servers, and so on. JMeter can be used to great load to a server, or network objects in the simulation, testing and analysis of their strength from the overall performance under different load types.

 

In the software testing project, it is necessary to use Jmeter testing tools to test Quick Easy FTP Server,

Quick Easy FTP Server is an all-Chinese 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 professional FTP server software

2. The full-featured. Have a complete account management, easy server configuration, security settings, information about online users, server logs, real-time statistics, check for updates readily available

3. Support for HTTP

4. complete help system

5. Full Chinese, more suitable for Chinese people to use.

 

test environment

Windows 10 64 of directX 12

JDK 1.8

 

apache-jmeter-5.1.1

 

FTP server software: Quick Easy FTP Server

 

 

 

Performance test procedures

Download and run FTP server software: Quick Easy FTP Server V4.0.0.exe

Click on the upper right corner of the green button, turn on the server until the middle of the red button lights can start in account management office to manage account information (username, password, root directory), etc.

Create a thread group, provided concurrent users, thread group -> Add ---> element arranged ---> default value request the FTP

Thread group ---> Add ---> Sampler ---> FTP request

Get

Put

Set the number of threads

运行结果

 

 

1.get:完成了30个sample,平均响应时间为9ms,响应时间的中值为7ms,所有sample中90%的sample的响应时间都小于56ms,最小响应时间为4ms,最大响应时间为56ms,错误率为100%。

       put:完成了30个sample,平均响应时间为8ms,响应时间的中值为7ms,所有sample中90%的sample的响应时间都小于20ms,最小响应时间为4ms,最大响应时间为20ms,错误率为100%。

2. get:完成了80个sample,平均响应时间为8ms,响应时间的中值为6ms,所有sample中90%的sample的响应时间都小于56ms,最小响应时间为4ms,最大响应时间为56ms,错误率为100%。

       put:完成了80个sample,平均响应时间为7ms,响应时间的中值为6ms,所有sample中90%的sample的响应时间都小于20ms,最小响应时间为4ms,最大响应时间为20ms,错误率为100%。

3. get:完成了130个sample,平均响应时间为7ms,响应时间的中值为7ms,所有sample中90%的sample的响应时间都小于56ms,最小响应时间为4ms,最大响应时间为56ms,错误率为100%。

       put:完成了130个sample,平均响应时间为7ms,响应时间的中值为6ms,所有sample中90%的sample的响应时间都小于22ms,最小响应时间为4ms,最大响应时间为22ms,错误率为100%。

 

以上就是使用Jmeter对Quick Easy FTP Server进行的项目测试。

Guess you like

Origin www.cnblogs.com/sasuga/p/10936599.html