jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Arnold <>
Subject Re: Copying a file from one directory to another
Date Tue, 28 Jul 2009 17:25:01 GMT
Deepak Shetty schrieb:
> A bean shell pre processor could do this.
> Sample java code ...
> regards
> deepak
> On Tue, Jul 28, 2009 at 9:44 AM, Andre Arnold <> 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:
>> For additional commands, e-mail:
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

like that :

File f = pathToFile ( "c:/input/test.xml" );
save(f, "c:/output/test.xml");

I appreciate your help

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message