Working With FTP Request in JMeter

Overview:

Hi Testers!!

In this tutorial, you will get to know how to work on FTP Requests using sampler and config element.

Below are the topics covered in this tutorial:

  • FTP Request Sampler
  • Configuring Default values for FTP Request using FTP RequestDefaults

<< PREV   |     NEXT >>


FTP request needs an FTP server with username and password to login to it as without authentication no FTP server would allow you to upload/ remove files from remote server. So, server name must be provided to make request followed by the file location and then selection of uploading (PUT) or downloading (GET) as per the scenario which you are testing.

The file can be saved directly in response also just to make a quick check whether the file name is correct. Unlike HTTP Request, there is no built-in component which can record the FTP requests.

Like HTTP Request Default config element, FTP Request Default makes the user enter the repeating values in it so that all the request under the same thread group inherits the properties and makes use of them.

Listeners can be added to view the results to help testers understand whether the performance is apt or not.