I am facing an issue for a long time. I want to create html with full Jmeter reports. the only solution is using ant, to run jmeter according some sites.
- I installed ant
- navigate to C:\Jmeter_4.0\apache-jmeter-4.0\extras and copy all the files (using ctrl +A) + (Ctrl +C)
- Navigate to C:\ant\ant\bin and paste all the files (Ctrl +v)
- Creating a new text file and called it Test.txt in C:\ant\ant\bin
- Change the name of the file and called it Test.jtl
- Under C:\ant\ant\bin I opened the build.xml file
- I put in
-Djmeter.home=
.. - C:\Jmeter_4.0\apache-jmeter-4.0 - I put in
<property name="jmeter.home" value=
"C:\Jmeter_4.0\apache-jmeter-4.0/.."/> - I opened command line and wrote: cd C:\ant\ant\bin 10.than the command set path=C:\Program Files\Java\jre1.8.0_141\bin
I got error build failed C:\ant\ant\bin.xml:89:jmeter jar file not found or not a vaild file c:\jmeter_4.0\bin\ApachJmeter.jar
I know this is a long question but I am facing it for a long time. hopefully jmeter or someone will make plugin or something to do it easier, just to see all the results in html in one place.
can someone advise what I am missing?
** I noticed that Jmeter.jar exists in the error location, so I do not understand what more need to add.
[][copy form jmeter extras]
[][copied to ant bin folder]
[][create Test.jtl file in ant/bin]
[][Modified build.xml in ant bin]
[][Run command and get errors]
[][Jmeter jar exists]
cd
to jmeter and runant
there – guleryuz