Objective:
Recently familiar with JMeter for bandwidth testing and concurrency testing, found that most of the Internet is the Windows version of their own Mac, the experiment found that similar
1, download, I use the jmeter3.2 version, can be downloaded on the Internet, do not differentiate between Mac version and Windows edition, can be used
Download apache-jmeter-3.2.tgz unzip to Mac under the path you want, go to the bin directory
2, how to start jmeter? Enter the Mac terminal, enter the JMeter bin directory, enter the SH jmeter to start (or use./jmeter.sh I tried), in the process I double-click jmeter.sh can not start, if someone encountered and know the reason and the solution to share
3, add the thread group, add the proxy server (here and Windows), set the page to be visited, Baidu as an example, the port number can be set randomly
If it is the mobile app, the proxy port and the current settings, but HTTPS domains is the current computer host IP address, and need to set up on the phone and jmter consistent proxy IP and port retention
4, then set up a proxy network Mac, open System Preferences and settings-network-advanced-agent to set
5, set to complete, back to JMeter Click Start, then visit Baidu can record code, recording completed stop can, if not stop will be endless recording down
Note: There are a lot of articles on Windows Setup, and it is found that the Mac is less, but the principle is similar, so it is no longer described separately
Use JMeter to record Web projects and mobile apps on your Mac