Hi
I normally use Bean Shell sampler (which is slower than other methods ) but
quickest to prototype /test. I guess BSF should work as well
Did you set up BeanShell (you need to download and copy the jars to the lib
directory).
Also check your jmeter.log for errors
regards
deepak

On Tue, Jul 28, 2009 at 10:25 AM, Andre Arnold <[email protected]> wrote:

> Deepak Shetty schrieb:
> > A bean shell pre processor could do this.
> > Sample java code ...  http://www.rgagnon.com/javadetails/java-0064.html
> > regards
> > deepak
> >
> > On Tue, Jul 28, 2009 at 9:44 AM, Andre Arnold <[email protected]>
> wrote:
> >
> >
> >> Hi all,
> >>
> >> I want to copy some files from a specific directory to another directory
> >> where they will be needed for the test and they will be consumed.
> >>
> >> So is there a way to provide that in JMeter as a step, maybe some pre
> >> processor?
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >>
> >
> >
> thanks for your quick answer,
>
> Did you mean the bsf sampler with java as language? And if .. that
> doesn't seem to start at all (i tried some java script , but I'm not
> used to those scripting languages)
> Or should i just use the function within the beanshell sampler?  (that
> seems not to be working...)
>
> I also tried some beanshell (that may be the simplest version) but the
> save function doesn't save the content of my File Object but the Objct
> itself.
>
> like that :
>
> File f = pathToFile ( "c:/input/test.xml" );
> save(f, "c:/output/test.xml");
>
> I appreciate your help
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to