1

I am new to the jmeter. I prepared some jmeter scripts to move file from local directory to remote ftp directory. I have succeeded doing this by using jmeter FTP sampler. Now I am facing a challenge in changing the filename every time before I put it in remote directory. I want to process multiple ftp requests with different file names.

Is there any way that I can change the filename in every FTP request before moving to FTP request. jmeter version 2.13.

Thanks, Ajeesh

2 Answers 2

0

Do you have a test plan that looks something like the following?

JMeter FTP Test plan

If you right click on "FTP Request" in the tree in the pane on the left, you can select "Duplicate" to add another FTP request as part of this test plan.

You can change the remote / local file in the pane on the right for the newly added FTP request.

Sign up to request clarification or add additional context in comments.

Comments

0

You could use an csv configuration element, this talks about the same problem but for http.

First you need to add an FTP sampler:

enter image description here

And you need to load the file names from a csv configuration file:

enter image description here.

It will use a CSV entry per each iteration, it will replace the name by the variable ${files}.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.