简体   繁体   中英

Jmeter with MAC

I have a question about Jmeter on MAC. 1. I got new computer and try to download Jmeter, all the downloads from apach is not opened. 2. I somehow managed via guide on net to download Jmeter 3.1, but in mac how I find the lib folder? and the EXT folder, this is much more harder than in win computer, I am new in mac and not understand where to put jars

Step 1 : Got to Jmeter site and download binaries . Here . After this Unzip at some preferred location.

Step 2 : Once downloaded , open ur terminal in MAC. Got to the location where the Jmeter is. See the bin folder. Go inside it. Then type sh ./jmeter.sh . Basically the bin folder have jmeter.sh file which executes it.

You need not install any Jmeter. This approach works fine. Also, make sure you have java installed. IF you are not sure, Here Note that you must have Java 8 or Java 9 for Jmeter 4. Any specific reasons why use Jmeter 3.1 ?

On Mac, download the latest JMeter 4.0 tar.gz file and expand it.

Install Java 8 and you'll be able to run it.

Alternatively you can use Homebrew as described here:

  1. Download latest Java for Mac from Oracle website

    JMeter下载Java

  2. Double click the .dmg and follow installation wizard steps
  3. Download JMeter version of your choice from https://archive.apache.org/dist/jmeter/binaries/ . Keep in mind that according to JMeter Best Practices it is recommended to use the latest version of JMeter
  4. Unpack JMeter and open its "bin" folder in Terminal
  5. Run JMeter as ./jmeter
  6. "lib" folder will be in its usual location

If you installed JMeter 3.1 using ie Homebrew , you will find "lib" folder under

/usr/local/Cellar/jmeter/3.1/libexec/lib/

You may also find How to Open JMX Files on a Mac in 1 (Double) Click guide useful - it contains instructions how to associate JMeter with .jmx files on Mac so you will be able to open them by just clicking them in Finder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM