Prerequisites: To open the JMeter interface, you first need to install Java and configure environment variables.
First step: Download and install the JDK and environment configuration
Java JDK Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
After the successful download, according to the page prompts to install, here do not do too much introduction.
Step Two: Configure the Java SDK environment variables.
1. Open the Mac computer terminal
2. If you are configuring environment variables for the first time, you can use "touch. Bash_profile" To create a hidden profile for. Bash_profile (if you are editing a profile that already exists, use theopen-e. Bash_ profile command to open the. bash_profile file that you have created);
3. In the Open. bash_profile file, copy and paste the following name
Java_home=/library/java/javavirtualmachines/jdk1.8.0_40.jdk/contents/home
Path= $JAVA _home/bin: $PATH:.
Classpath= $JAVA _home/lib/tools.jar: $JAVA _home/lib/dt.jar:.
Export Java_home
Export PATH
Export CLASSPATH
4. Copy and paste the save and use "source. Bash_profile" again to make the configuration take effect.
5. Enter echo $JAVA _home display the path you just configured
6. Enter java-version to view the installed Java version Information
7, enter into the /library/java/javavirtualmachines, in this directory can be seen to install the successful jdk1.8.0_162.jdk
8, enter the JMeter directory/bin/below, enter the sh jmeter to start the jmeter.
9, JMeter start success
Jmeter----MAC computer Environment configuration and open Jmeter interface