oliverlloyd / jmeter-ec2

Automates running Apache JMeter on Amazon EC2
GNU General Public License v3.0
464 stars 186 forks source link

Data File location #72

Closed gauravpatel2016 closed 8 years ago

gauravpatel2016 commented 8 years ago

Hi,

I have CSV data set config in my jmeter script which points to CSV. I got The path ${P(DataFilePath)}/${P(CSVFile)} contains a $ char, this currently fails the awk sub command. You'll have to remove these from all filepaths. Sorry.

Is there a way I can pass parameter in CSV data set config. I have everything driven by properties file in Jmeter.

Thanks in advance

oliverlloyd commented 8 years ago

The reason this isn't possible is because you need the jmeter engine to parse whatever reference or variable you pass in - and this is not available when I am reading the xml, I'm just using bash.

Note. I need an explicit reference to the csv because I read it into memory and then divide the contents of the file between each slave. One option would be to offer the ability to turn this feature off - I'll look at that. But for now it is not possible to do what you want.