I have a number of JMeter scripts that I normally run from Groovy code, along with TestNG and Ant to call the script. The main purpose was to be able to write one script to test a specific portion of my application and then write a driver program to run the script with different parameters. Once the entire test is complete, the Groovy code analyses the results and creates a data file.
A word of warning, however. I have found that the interface between Groovy and JMeter can be temperamental and sensitive to the versions of each being used. On Tue, 2011-07-19 at 05:16 -0700, apc wrote: > Well, I believe that JMeter is still the best tool for you, I doubt the ways > of integration... It's not too hard to get JMeter to run from JARs, but it's > not graceful way as I see. I think there should be some plugins that do > solve your task without writing too much code that linked too close with > JMeter code. > > ----- > -- > Andrey Pohilko > JP@GC Maintainer > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/embedding-JMeter-calling-JMeter-from-other-Java-code-tp4611409p4612141.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Brian Devaney DocFinity® by Optical Image Technology, Inc. 100 Oakwood Avenue, State College, PA 16803 ph: 814.238.0006 ext. 274 fax: 814.238.0011 mailto:[email protected] http://www.docfinity.com/ DISCLAIMER: This email may contain proprietary information, some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient, you may not use, disclose, distribute, copy, print, or rely on this email. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

