jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hetchler <Mark.Hetch...@trustvesta.com>
Subject RE: Can Jmeter be run from Fitnesse
Date Thu, 21 May 2009 22:27:13 GMT
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


Mime
View raw message