Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Gatling overview


Published on

This presentation shows introduction to performance testing open source tool Gatling.

I am working on this tool from more than a year now and loved it's load testing features.

It uncovered many performance issues in our web based software service application.

I made and presented these slides to 20 QA people audience in our organization to show basics of Gatling tool. It also covers main facilities of Gatling for effective performance testing.


Published in: Technology
  • Be the first to comment

Gatling overview

  1. 1. VIRAL JAIN
  2. 2. Points to cover: 1. What is Gatling 2. Recording 3. Execution 4. Use of feeder and saveAs option
  3. 3. What is Gatling Gatling is an open-source load testing framework. The software is designed to be used as a load testing tool for analyzing and measuring the performance of a variety of services, with a focus on web applications. The Project's aims include: 1. High performance 2. Ready-to-present HTML reports 3. Scenario recorder and developer-friendly DSL (Domain-specific language)
  4. 4. Gatling folder structure
  5. 5. How to operate Recorder 1. Give Listening port (of browser you want to record) 2. Give Outgoing proxy 3. Give Class name (Name for scala script)
  6. 6. Execute scala scripts
  7. 7. Feeder Gatling DSL provides facility of using feeder We can inject data in our scenario using feeder We will see example of csv feeder in next slide
  8. 8. How to use csv feeder 1. csv file should be available in data folder 2. Initialize feeder in scala script val feeder = csv("assets23072015_1.csv") 3. Get one feeder row in our scenario feed(feeder) 4. Use value ${asset} ${workspaceId} 5. Repeat step 3 and 4 to use next row of csv
  9. 9. saveAs facility Real time scenarios require to save data from one response and use it in another request saveAs option in Gatling gives this facility. Let’s see a script to see use of saveAs option
  10. 10. Some important Gatling links!forum/gatling
  11. 11. Any questions? Thanks, Viral Jain