jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Copy files before executing sampler
Date Sat, 20 Feb 2010 22:53:36 GMT
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 <kukukuku@trash-mail.com> 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 <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-tp27655448p27671152.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


Mime
View raw message