The FTP service provides upload and download functions. We have time to test the server's upload and download performance. Here is an example of an FTP test plan through jmeter.
Of course, the user manual on the jmeter official website also has examples. However, since the version is earlier, I can summarize my own learning, so I will sort it out again.
* I am using jmeter2.4.
* The server to be tested is IP: 124.205.228.54 (because the FTP site is not found, a free FTP space is requested in the "host House website http://www.zhujiwu.com ")
1. Create a thread group
2. thread group ---> Add ---> Configure component ---> default value of FTP request.
3. thread group ---> Add ---> sampler ---> FTP request
Note:
IP address is the IP address of your FTP service
Remote file is a file on your FTP server.
Local file is the local path you store locally.
Select get (RETR) as the download method.
Enter the username and password of your FTP server.
3. Add another "FTP request" in step 2 ".
Note:
IP address is the IP address of your FTP service
Remote File: the path and file name of the file to be uploaded to the FTP server.
Local file is the path of the local file you want to upload.
Select put (RETR) as the upload mode.
Enter the username and password of your FTP server.
4. Add a monitor: thread group ---> Add ---> monitor ---> spline visualizer
An FTP plan is successfully created.
References:
Http://jakarta.apache.org/jmeter/usermanual/build-ftp-test-plan.html
Http://www.51testing.com /? Uid-23852-action-viewspace-itemid-16560