Tuesday, August 4, 2015

Gatling : What is Gatling?

Gatling is an open source performance testing tool. It is a framework based on Scala, Akka and Netty. It is a high performance tool and it provides user friendly html reports. Script is easy to maintain and customize. It has recorder and developer friendly DSL.

Gatling is a highly capable load testing tool designed for ease of use, maintainability and high performance. Gatling has excellent support of the HTTP protocol. Beside that it supports other protocol.

In Gatling, a simple scenario is recorded for load testing an http server. Scenarios are defined in code using DSL and are resource efficient, can be maintained easily and kept in version control system.

Gatling’s architecture is asynchronous. Virtual users are implemented as messages instead of dedicated threads. It makes them very resource cheap. Thus, running thousands of concurrent virtual users is not an issue in Gatling.

Four Basic steps to complete Gatling :

  • Record : You can record any activities of your web application using Gatling. It can record from any browser and any activities even the think time.
  • Edit : Recorded script can be customized and edited easily as it is easy to read and developer friendly.
  • Launch : It can be launch through windows command prompt or Linux terminal. It can run through Maven build or Jenkins.
  • Analyze : Gatling provides some clear, exhaustive, dynamic and colorful reports and they are HTML format. Report can be Zoom in and zoom out. From the report it can be easily pointed out performance issues.

Things to do using Gatling :

  • Gatling’s scenario can be distributed and reused.
  • Different virtual user’s can be configured with different ramp up time.
  • Gatling’s scenario can be data driven using CSV files.
  • It can verify response data using check feature.
  • It can repeat the same request using loop.
  • It can manage check and failure.

In our future post we will discuss more about Gatling.

Happy Load testing using Gatling!!!

No comments:

Post a Comment