Can any one please help me on this.?
I want to do a distributed load testing using Jmeter 2.11. For getting detailed and meaningful reports, I Integrated Jmeter with Apache Ant. I tried running the test from 'cmd' and the test is only running locally and generating reports..!! I have remote servers specified inside Jmeter.properties file.
Is Ant not able to take the Jmeter.properties.? Do I have to add anything in build.xml file.?
Please advise..
Many thanks in advance.
As per JMeter Ant Task documentation
Optional JMeter arguments supported include specifying an alternate jmeter properties file (jmeterproperties), running remote servers specified in jmeter properties file (runremote)
So you need to apply `runremote="true" parameter to properties you need to pass to slave machines.
A couple of other recommendations:
jmeter.save.saveservice.output_format=xml
line to user.properties files on all nodes) and run JMeter as normal according to JMeter Distributed Testing Step-by-step guide you'll be able to use ant report
task on resulting file to generate HTML output. Moreover, any tool which can do XSLT transformation can generate HTML report. Required .xsl files are under /extras dir of your JMeter installation.