Gatling was found by Stéphane Landelle in 2015, Gatling is an open Source load and performance testing framework. Gatling is created based on programming languages like Scala, Akka, and Netty.
It is mainly developed to check and analyze the performance of web applications, and its application is found in various fields of the software industry. Despite the fact that Gatling has emerged much after similar software such as JMeter and LoadRunner evolved,
Gatling is able to cope up with all the necessary requirements to run most of the protocols.
The performance of a web application is nothing but how efficiently/fast the application reacts to user actions.
Performance is the responsiveness of the application for the user request.
The actions/requests could be in the form of clicks or setting values or displaying the UI elements in the browser with respect to UI. At the same time, we can also test the performance of the API by raising the requests.
Understanding the performance. There are different metrics that are used for analyzing the performance of the web application.
Below are some points, about why should we use Gatling:
There are disadvantages of using Gatling, some of the disadvantages can be summarized as follows:
It's required to install JDK 8 in the system, to get the Gatling working.
bin folder inside the installation folder and click on the file:recorder.bat
recorder.bat the following screen pops up after a few seconds. As shown in the highlighted boxes, the port 8000, recorder mode as http_proxy and encoding as UTF-8 should be taken care of.
A performance test scenarios can be done by recording a scenario, to record a scenario, go to the bin folder inside the Gatling folder. And run the batch file called recorder.bat.
After clicking into this file a GUI will appear, where we have to create our requests and events.
Some important points to note:
8000.127.0.0.1