Reprint: http://www.51testing.com/html/10/26810-852956.html
Recently discovered a new performance testing Tool Gatling, seemingly more fun than Jmeter . Let's start with a brief introduction these days.
The address of the Open source project is: Https://github.com/excilys/gatling/wiki first step, let's take a look at the simple introductory 1. Download you can choose to download the. tar.gz or. zip Package: https://github.com/excilys/gatling/wiki/Downloads2. Unzip to any directory, the site's prompt is not to be placed in a folder with programs, because it may be a permission issue 3. Optimization (which can be skipped without looking) how to get from
Operating SystemLevel for optimal configuration: Https://github.com/excilys/gatling/wiki/HTTP#wiki-tuning4. Encoding (can skip not looking) The default encoding is Utf-8, if you need to change, the steps are as follows: 1) in Recoder Select the code you want 2) in the gatling.conf file to modify the encoding you choose 3) Ensure that you use the editor and save the process for the same encoding 5. Execute a direct click on the bin directory of the Gatling.bat file can be run I encountered a problem:-xx:+optimizestringconcat This configuration item causes the failure to start, because this option is optimized for 64bit JVM. I am a 64bit win 7, but the JDK of the three-bit has deleted this option to run another problem: version 2.0 and above Gatling need to JDK1.7 above version 6. After the execution runs up, you will see: collecting simulations ... Choose a simulation number: [0] Advanced. advancedexamplesimulation [1] Basic. Basicexamplesimulation These two are examples of self-bringing. You can choose one to do the research. All right, Gatling on your machine, you can run.
A new tool for Web performance testing-Gatling Introduction