jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kukukuku <kukuk...@trash-mail.com>
Subject Re: Copy files before executing sampler
Date Sat, 20 Feb 2010 22:43:37 GMT

It would be very usefull to use java for this, i have a lib which exactly
provides the functions i need to copy files and so on. So if i could somehow
make it happen to execute a java method (which i provide) before the test
gets executed this would be perfect.


sebb-2-2 wrote:
> 
> On 19/02/2010, kukukuku <kukukuku@trash-mail.com> 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:kukukuku@trash-mail.com]
>>  > Sent: Friday, February 19, 2010 7:12 PM
>>  > To: jmeter-user@jakarta.apache.org
>>  > 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: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>  --
>>
>> 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: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Copy-files-before-executing-sampler-tp27655448p27671181.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message