Reputation: 259
I am trying to copy one file from one directory to another directory using Telnet Server. Can we do this in Jmeter. I am using Beanshell Sampler for that. Please anyone guide me on this.
Thanks in advance, Anto
Upvotes: 0
Views: 2177
Reputation: 22948
Anto, no you can't do that with Beanshell sampler. I do not know about telnet but you can do this with SSH.
You do however have the SSHSampler:
So after you've filled in connection details, there is execute
tab at the bottom with command so you can write inside cp /path/to/dir1/file /path/to/dir2
Upvotes: 1