0
votes

enter link description hereenter image description hereI am new to JMeter and need to perform load tests for SFTP Server.

Scenario:

Need to copy a file(s) from local machine (Windows 10 OS) to Server (Windows 10 OS). After that a schedule job gets executed and the same file is consumed by Biztalk process and the XML file name reflects in Database with Success/Failure/Duplicate status.

When I am executing my command in cmd directly then the process is working fine. But unable to do the same with JMeter. I have tried all the listed ways available on the Internet using OS Process Sampler, SSH Command and SSH SFTP Sampler available in JMeter but couldn't succeed so far.

Note: Unable to invoke cmd via OS Process Sampler in JMeter (Please provide steps if you have done it earlier).

1
I have gone through the mentioned link but unable to perform the same in my case. blazemeter.com/blog/… - Archana
Could you help with errors you are getting in jmeter and what command you are trying from windows command line - Rahul Jadhav
Thanks Rahul. I have uploaded a video for better understanding and also attached screenshots for cmd and database screen for your reference. - Archana
Possible to make the video public? It is asking for access - Rahul Jadhav
I have updated the link. Please check now. Thanks - Archana

1 Answers

0
votes

We cannot help you without seeing:

  1. your command which "works"
  2. your JMeter configuration
  3. output of the View Results Tree listener (all tabs)
  4. jmeter.log file contents

Here is the evidence that it works using the OS Process Sampler:

enter image description here

And here is the same using SSH SFTP Sampler:

enter image description here

More information: Load Testing FTP and SFTP Servers Using JMeter