Sample Jmeter Groovy Scripts to Process some 'n' Number of Flat Files into your FTP Requests
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FlatFiles
ExtractFileName.groovy
FTP.jmx
FlatFilePathProcessor.groovy
README.md

README.md

Jmeter.External.Groovy.Scripts

Sample Jmeter Groovy Scripts to Process some 'n' Number of Flat Files into your FTP Requests Sample Jmeter BeanShell Scripts to Process some 'n' Number of TextFiles into your Requests

If you have the below requirement, the following script will help you.

I have some 'n' number of flat files under a sub directory.

For a FTP Request I have to Process the 'n' number of files under this sub directory one by one and have to pass it into a FTP request using a ForEach Controller.

Also I have illustrated a way to use relative path in Jmeter by pointing to the root directory where the test plan file exists.