问题
We want to use JMeter.
I've downloaded the production version as directed in the user manual at http://jmeter.apache.org/usermanual/get-started.html
But how do I get started and install the software?
I don't know java and I can't find any instructions on what I'm supposed to do with the download.
I am on a Mac.
How do I install the product as a usable program?
回答1:
The easiest way to install it is using Homebrew:
brew install jmeter
Or if you need plugins also:
brew install jmeter --with-plugins
And to open it, use the following command (since it doesn't appear in your Applications):
open /usr/local/bin/jmeter
回答2:
If you want to include the plugins (JMeterPlugins Standard, Extras, ExtrasLibs, WebDriver and Hadoop) use:
brew install jmeter --with-plugins
回答3:
after
brew install jmeter
then
open /usr/local/bin/jmeter
回答4:
Once you got the ZIP from the download, extract it locally, and with your finder, go in bin
directory.
Then double-click on ApacheJMeter.jar
to launch the User Interface of JMeter.
This and the next steps are described in a blog entry.
回答5:
- Download apache-Jmeter.zip file
- Unzip it
- Open terminal-> go to apache-Jmeter/bin
sh jmeter.sh
回答6:
You have 2 options:
- Install using homebrew
brew update
to update homebrew packages
brew install jmeter
to install jmeter
Read this blog to know how to map folders from standard jmeter to homebrew installed version.
Install using standard version which I would advise you to do. Steps are:
Install Last compatible JDK version (7 or 8 as of JMeter 3.1).
Download JMeter from here
- Unzip folder and run from the folder:
bin/jmeter
回答7:
Download last version (not 2.5.1 or other old ones) from jmeter.apache.org
Unzip file
Ensure you install a version of JAVA which is compatible, Java 6 or 7 for JMeter 2.11
In bin folder click on jmeter.sh not on jar or execute sh ./apache-jmeter-x.x.x/bin/jmeter
in the terminal.
x.x.x is the version you use.
Finally, when started you may want to select System Look and feel for Mac OSX better integration. Menu > Options > Look and Feel > System
回答8:
I am also new to this.
I have followed this process to start the application in Mac:
- I downloaded
apache-jmeter-3.3_src.zip
from http://jmeter.apache.org/download_jmeter.cgi website. - I extracted the files and then move to bin folder and then you
can find a file named
jmeter
, this is an executable file. Right click on this and open with terminal and wait for 5 minutes, that's it.
Thank you, I hope this might help.
来源:https://stackoverflow.com/questions/22610316/how-do-i-install-jmeter-on-a-mac