The previous article mainly on how to use JMeter under the Windows system for stress testing, but found some problems, when the QPS reached a certain peak, due to the Windows machine itself bottlenecks caused by the network card can be compressed, in addition to the formal environment, Development wants to test for IP, press only one machine, and then evaluate the performance of the entire fleet, so I tried to test under Linux.
Process
The last installation package is also used. JMeter is cross-platform and can be run on Linux and Windows. So the simplest way to do this is to save the last time we did a pressure test on Windows. Named ***.JMX
After we open the Jmx file, we can modify these places (add the necessary adjustments):
You can modify the number of cycles and threads:
Modify the requested interface:
After the modification is complete? We need to upload this jmx file to the JMeter Bin directory on the Linux server:
After the pass we run the command directly:./jmeter-n-T ***.JMX:
The approximate meaning of the result is:
After reading is not feel and Windows JMeter almost, in fact, JMeter itself can support the method is particularly many, I here also just put oneself use some write out, peacetime everybody can communicate with me new usage, give me message, I see also will be the first time reply.
"Background test" Linux under the small test jmeter