No, I meant running a script in a suitable OS script language. However, if you are using Maven to run JMeter, then I would use Maven to run the script.
Of course you *can* do this all in JMeter - you could even use JMeter to run Maven - but it's likely to be more more work and harder to maintain. On 20/02/2010, kukukuku <[email protected]> wrote: > > You mean making a pre-processor bsh script for example? I'm running jmeter > through the jmeter plugin while building my project so i use the gui to > build the testplan copy then the jmx file to the appropriate folder so the > maven jmeter plugin picks it up and executes it. > > > > sebb-2-2 wrote: > > > > On 19/02/2010, kukukuku <[email protected]> wrote: > >> > >> I want to test an application for performance/stress. The application > >> depends > >> on several files like database files, configuration files and so on to > >> run > >> correctly. I want to be able to switch these files from test to test to > >> simulate diffrent enviroments. In the best case this could be done > >> before > >> executing the test itself. > >> > > > > Seems to me that this setup would be a lot easier to do outside > > JMeter, e.g. use a shell script to do the set up, and then have it run > > JMeter in non-GUI mode. > > > >> > >> Andrey Pohilko-2 wrote: > >> > > >> > Deleting files sounds like functional testing. JMeter is a load > >> testing > >> > tool. > >> > > >> > Seems you design your test wrong... > >> > > >> > > >> > С уважением, > >> > Андрей Похилько > >> > > >> > -----Original Message----- > >> > From: kukukuku [mailto:[email protected]] > >> > Sent: Friday, February 19, 2010 7:12 PM > >> > To: [email protected] > >> > Subject: Copy files before executing sampler > >> > > >> > > >> > hi, > >> > > >> > if i want to copy any files in a specific folder or delete any files > >> > before > >> > i start with executing a sampler how would i do that? I'm new to > >> jmeter so > >> > i > >> > apologize if this seems like an easy question. I searched for examples > >> but > >> > i > >> > could not find anything usefull. The closest thing i found was using > >> > pre-processors for example bsh scripts. However i could not get it to > >> > work. > >> > Would be nice if someone could help me or direct me in the correct > >> > direction. > >> > > >> > thx kukudas > >> > -- > >> > View this message in context: > >> > > >> > http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p2765544 > >> > 8.html > >> > 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] > >> > > >> > > >> > > >> > >> -- > >> > >> View this message in context: > >> > http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p27656933.html > >> > >> 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] > > > > > > > > -- > > View this message in context: > http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p27671152.html > > 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]

