You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by tauriemm <ta...@telcordia.com> on 2009/05/20 18:46:22 UTC
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Can Jmeter be run from Fitnesse
Posted by tauriemm <ta...@telcordia.com>.
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:tauriemm@telcordia.com]
> Sent: Wednesday, May 20, 2009 9:46 AM
> To: jmeter-user@jakarta.apache.org
> 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: 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://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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Can Jmeter be run from Fitnesse
Posted by Mark Hetchler <Ma...@trustvesta.com>.
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:tauriemm@telcordia.com]
Sent: Wednesday, May 20, 2009 9:46 AM
To: jmeter-user@jakarta.apache.org
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: 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