On 09/07/07, Luigi Quitadamo <[EMAIL PROTECTED]> wrote:
Hi,
we'd like to use JMeter programmatically from java applications to automate
tests in our organization.
I see that there's a possibility to run jmx using ant file but this is a
problem for us because we have to manage temporary files.
If the Ant task can do it, so can you.
But I would suggest you try first using Ant which is quite good at
managing files.
We would use Jmeter as below adding JMeter's jar to classpath:
JMeter jm = new JMeter();
//some initialization
InputStream is = …..;
InputStream output;
output = jm.run(is);
…..
Is it possibile?
Have you got any example of that?
Thanks,
Luigi Quitadamo
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.2/891 - Release Date: 08/07/2007 18.32
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]