*/
protected String getRandomFileName() {
if (this.getXmlPathLoc() != null) {
File src = new File(this.getXmlPathLoc());
if (src.isDirectory() && src.list() != null) {
File [] fileList = src.listFiles(new JMeterFileFilter(new String[] { ".xml" }, false));
File one = fileList[RANDOM.nextInt(fileList.length)];
// return the absolutePath of the file
return one.getAbsolutePath();
}
return getXmlFile();