OK, I've added it to the 2.0 branch. I made a couple of changes: - the property is now called "csvread.delimiter" - the value defaults to "," as before, so no need to change jmeter.properties
The changes are in the nightly rel-2_0 branch build dated 20050218 S. On Thu, 17 Feb 2005 16:47:36 +0000, sebb <[EMAIL PROTECTED]> wrote: > Looks like a very useful enhancement; I should be able to add it in > the next day or so. > > == > > By the way, the __split() function can be used in conjunction with > _StringFromFile(), see: > http://jakarta.apache.org/jmeter/usermanual/functions.html#__split > > But of course that would mean changing your test plans. > > S. > > On Wed, 16 Feb 2005 22:19:34 +0100, Carsten Sensler <[EMAIL PROTECTED]> wrote: > > Hi!! > > > > I use the __CVSRead(...) function in many jmeter testplans, but I need > > another separator (not "," but ";" ). Therefore I modified the function > > __CSVRead as follows: > > > > First) > > > > In FileRowColContainer.java : > > > > //public static final String DELIMITER = ";"; // Default delimiter > > public static final String DELIMITER = > > JMeterUtils.getProperty("csv.seperator"); //delimiter from property file > > > > This reads the delimiter from the jmeter.property file. > > > > Second) > > > > In jmeter.property : > > > > #file seperator in __CSV_READ. Unmark, which separator you like > > #csv.seperator=, > > #csv.seperator=| > > csv.seperator=; > > > > Now one can adjust, which Seperator the __CVSRead function uses > > > > Can someone examine the changes and if they are correct, please check into > > CVS? > > > > Thanks. > > > > Best regards, > > Carsten > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

