Relative paths are relative to a base. The base for CSV DataSet is the directory containing the JMX file.
The base for all other test elements that use files is the current directory. On 22/10/2007, b4d93r <[EMAIL PROTECTED]> wrote: > > Lets say I have 6000 xml files I would like to use as my data located on say, > drive "X". I also have a csv file I created in excel to use to "drive" my > test. As long as I have the csv file in the same directory as the jmx test > case I can put in a path to the xml files (X:/JMeter/Data files/XMLs) and it > will find those files as long as my test case and csv file are in the Jmeter > directory? (X:/JMeter/testcase.jmx) Am I understanding that correctly? > > > > sebb-2 wrote: > > > > On 19/10/2007, b4d93r <[EMAIL PROTECTED]> wrote: > >> > >> Ok, I think I understand it now! :jumping: I feel really stupid it didn't > >> click before but for some reason my comprehension has gone south for the > >> winter! > >> > >> The whole "relative path" means "same folder/directory". Jeez! > > > > Not quite; relative paths can optionally include directory names. > > > > e.g. > > > > data1/csv/testfile.csv > > or > > ../data2/test/testfile.csv > > > > This is not specific to JMeter - it is an OS/Java feature. > > > > What is specific to JMeter is that CSV Dataset files are relative to > > the JMX file. > > > > Files in other elements are relative to the current directory, i.e. > > where JMeter was started from. > > > >> Basically my test case and data file(s) need to be in the same folder. > > > > Not necessarily; they just need to be in the same directory tree. > > > > But unless they are in "nearby" directories, the relative path may be > > rather complicated. > > > >> As long as they are, I can store my test case on our shared drive and > >> access it > >> through Jmeter from different machines. > > > > For CSV DataSet files - yes. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Specifying-a-set-path-for-data-storage.-tf4641176.html#a13342353 > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]

