Thanks Mark!!


Mark Hetchler-2 wrote:
> 
> I have run JMeter from fitnesse without any problems. My fixture ran a
> pre-defined test, computed the stats from the log file, then finally
> passed those values back up to Fitnesse.
> 
> But since we run everything from TeamCity anyway, I found it simpler to
> just have TeamCity run a Groovy script that did the same as I described
> above. If the avg response time and number of errors are under a certain
> threshold, the script does System.exit(0), otherwise System.exit(1).
> 
> The guts of running JMeter from a Groovy script are: (this is a Windows
> env)
> 
> println "Launching JMeter..."
> def command = """D:\\jmeter\\jakarta-jmeter-2.3.2\\bin\\jmeter-n.cmd
> D:\\jmeter\\jakarta-jmeter-2.3.2\\test_plans\\my_test.jmx"""
> def proc = command.execute()
> proc.waitFor()
> println "JMeter run complete."
> 
> It has been rock solid.
> 
> -Mark
> 
> -----Original Message-----
> From: tauriemm [mailto:[email protected]] 
> Sent: Wednesday, May 20, 2009 9:46 AM
> To: [email protected]
> Subject: Can Jmeter be run from Fitnesse
> 
> 
> I would like to run Jmeter from Fitnesse. Does anyone know if this is
> possible? Has anyone had success?
> -- 
> View this message in context:
> http://www.nabble.com/Can-Jmeter-be-run-from-Fitnesse-tp23639275p23639275.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]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-Jmeter-be-run-from-Fitnesse-tp23639275p23669190.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]

Reply via email to