On 12/02/2010, Trond Andersen <[email protected]> wrote: > I have a JMeter project which includes some Groovy scripts which are invoked > using the BSF Sampler. My main issue is that my test plan file is located in > a totally different directory than the JMeter installation since I would > like to version control the TestPlan files. Also I would like to have my > Groovy script in the same directoy as the test plan since I would like to > version control them also. > > Trying to add a BSF Sampler to run my script fails unless the script file is > located in the %JMETER_HOME%\bin directory. This doesn't suite my needs > since I don't like to include the JMeter installation in my version control > system. > > Is there any way to configure the BSF Sampler to look for scripts relative > to the test plan location or should I approach this another way.
The script file field can be a relative or absolute path, or you can start JMeter in the script directory (it does not have to start in the bin directory). > Regards, > > Trond Andersen > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

