JMeter - FTP request to delete file -


ftp request sampler working great, missing delete option. appreciate if me achieve same using jmeter.

is there method or custom script perform delete ?

your option use java request , extend abstractjavasamplerclient implement operation.

you can use apache ftpclient , other commands on ftp. example:

... ftpclient client = new ftpclient(); client.connect(host, port); client.login(loginname, password); client.deletefile(filenameonserver); client.disconnect(); ... 

Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -